projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove prototypes for removed functions power_off(), reboot().
[pintos-anon]
/
src
/
threads
/
kernel.lds.S
diff --git
a/src/threads/kernel.lds.S
b/src/threads/kernel.lds.S
index 3b7f8b1f0e789b6414d096d73e7b522630440526..6154d08dd93bec35c0e2db890b5766e81484ec58 100644
(file)
--- a/
src/threads/kernel.lds.S
+++ b/
src/threads/kernel.lds.S
@@
-11,8
+11,10
@@
SECTIONS
_start = .;
/* Kernel starts with code, followed by read-only data and writable data. */
_start = .;
/* Kernel starts with code, followed by read-only data and writable data. */
- .text : { *(.start) *(.text) } = 0x9090
- .rodata : { *(.rodata) *(.rodata.*) }
+ .text : { *(.start) *(.text) } = 0x90
+ .rodata : { *(.rodata) *(.rodata.*)
+ . = ALIGN(0x1000);
+ _end_kernel_text = .; }
.data : { *(.data) }
/* BSS (zero-initialized data) is after everything else. */
.data : { *(.data) }
/* BSS (zero-initialized data) is after everything else. */