File tree 6 files changed +11
-11
lines changed
6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ struct slice {
14
14
void send_to_core_log (struct slice str );
15
15
void send_to_rtio_log (struct slice data );
16
16
17
- #define KERNELCPU_EXEC_ADDRESS 0x40800000
18
- #define KERNELCPU_PAYLOAD_ADDRESS 0x40860000
17
+ #define KERNELCPU_EXEC_ADDRESS 0x45000000
18
+ #define KERNELCPU_PAYLOAD_ADDRESS 0x45060000
19
19
#define KERNELCPU_LAST_ADDRESS 0x4fffffff
20
20
#define KSUPPORT_HEADER_SIZE 0x80
21
21
Original file line number Diff line number Diff line change @@ -2,16 +2,16 @@ INCLUDE generated/output_format.ld
2
2
INCLUDE generated/regions.ld
3
3
ENTRY (_reset_handler )
4
4
5
- /* First 4M of main memory are reserved for runtime
5
+ /* First 64M of main memory are reserved for runtime
6
6
* code/data/heap, then comes kernel memory.
7
- * Next 4M of main memory are reserved for
7
+ * Next 16M of main memory are reserved for
8
8
* the background RPC queue.
9
9
* First 384K of kernel memory are for support code.
10
10
* Support code is loaded at ORIGIN -0x80 so that ELF headers
11
11
* are also loaded.
12
12
*/
13
13
MEMORY {
14
- ksupport (RWX) : ORIGIN = 0x40800000 , LENGTH = 0x60000
14
+ ksupport (RWX) : ORIGIN = 0x45000000 , LENGTH = 0x60000
15
15
}
16
16
17
17
/* Kernel stack is at the end of main RAM. */
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ use board_misoc::{mem, cache};
5
5
const SEND_MAILBOX : * mut usize = ( mem:: MAILBOX_BASE + 4 ) as * mut usize ;
6
6
const RECV_MAILBOX : * mut usize = ( mem:: MAILBOX_BASE + 8 ) as * mut usize ;
7
7
8
- const QUEUE_BEGIN : usize = 0x40400000 ;
9
- const QUEUE_END : usize = 0x407fff80 ;
8
+ const QUEUE_BEGIN : usize = 0x44000000 ;
9
+ const QUEUE_END : usize = 0x44ffff80 ;
10
10
const QUEUE_CHUNK : usize = 0x1000 ;
11
11
12
12
pub unsafe fn init ( ) {
Original file line number Diff line number Diff line change 1
1
use core:: fmt;
2
2
use dyld;
3
3
4
- pub const KERNELCPU_EXEC_ADDRESS : usize = 0x40800000 ;
5
- pub const KERNELCPU_PAYLOAD_ADDRESS : usize = 0x40860000 ;
4
+ pub const KERNELCPU_EXEC_ADDRESS : usize = 0x45000000 ;
5
+ pub const KERNELCPU_PAYLOAD_ADDRESS : usize = 0x45060000 ;
6
6
pub const KERNELCPU_LAST_ADDRESS : usize = 0x4fffffff ;
7
7
pub const KSUPPORT_HEADER_SIZE : usize = 0x80 ;
8
8
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENTRY(_reset_handler)
6
6
* ld does not allow this expression here.
7
7
*/
8
8
MEMORY {
9
- runtime (RWX) : ORIGIN = 0x40000000, LENGTH = 0x400000 /* 4M */
9
+ runtime (RWX) : ORIGIN = 0x40000000, LENGTH = 0x4000000 /* 64M */
10
10
}
11
11
12
12
SECTIONS
Original file line number Diff line number Diff line change 7
7
8
8
class KernelCPU (Module ):
9
9
def __init__ (self , platform ,
10
- exec_address = 0x40800000 ,
10
+ exec_address = 0x45000000 ,
11
11
main_mem_origin = 0x40000000 ,
12
12
l2_size = 8192 ):
13
13
self ._reset = CSRStorage (reset = 1 )
You can’t perform that action at this time.
0 commit comments