-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6612edb
commit 5596ceb
Showing
12 changed files
with
108 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -278,3 +278,8 @@ void cpu_backtrace(void) { | |
topfp = fp; | ||
} | ||
} | ||
|
||
|
||
int cpu_get_id(){ | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#ifndef BOOT/ARM/CONFIG_H | ||
#define BOOT/ARM/CONFIG_H | ||
#define KERNEL_BLOCK_SIZE 169 | ||
#define KERNEL_SIZE 172948 | ||
#define KERNEL_BLOCK_SIZE 194 | ||
#define KERNEL_SIZE 197672 | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,36 @@ | ||
ENTRY(_start) | ||
|
||
__heap_size = 0x200; | ||
__stack_size = 0x200; | ||
|
||
SECTIONS | ||
{ | ||
. = 0x0000; | ||
.text : { KEEP(*(.text.boot)) *(.text .text.* .gnu.linkonce.t*) } | ||
.data : {*(.data)} | ||
.bss : {*(.bss)} | ||
sp_top = .; | ||
. = 0x000; | ||
.text : { KEEP(*(.text.boot)) *(.text .text.* .gnu.linkonce.t*) } | ||
.data : {*(.data)} | ||
.bss : {*(.bss)} | ||
.stack : ALIGN(4) { | ||
. = 0x6000; | ||
_estack = .; | ||
. = . + __stack_size; | ||
_stack_abt = .; | ||
|
||
. = . + __stack_size; | ||
_stack_undf = .; | ||
|
||
. = . + __stack_size; | ||
_stack_irq = .; | ||
|
||
. = . + __stack_size; | ||
_stack_svc = .; | ||
|
||
|
||
. = . + __stack_size*4*4 ; | ||
_stack_other = .; | ||
|
||
|
||
. = ALIGN(4); | ||
_sstack = .; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters