Skip to content
Snippets Groups Projects
Commit 05553500 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

WIP: Thread control block and TSS in kernel

parent 4756a110
No related branches found
No related tags found
No related merge requests found
......@@ -28,26 +28,42 @@ SECTIONS {
*(.data*)
. = ALIGN(4096);
__data_end = .;
}
.tdata : AT(ADDR(.tdata) - KERNEL_OFFSET) {
__tdata_start = .;
*(.tdata*)
. = ALIGN(4096);
. = ALIGN(4096);
__tdata_end = .;
}
.tbss : AT(ADDR(.tbss) - KERNEL_OFFSET) {
__tbss_start = .;
*(.tbss*)
. = ALIGN(4096);
__tbss_end = .;
}
.tcb : AT(ADDR(.tcb) - KERNEL_OFFSET) {
__tcb = .;
. += 8;
. = ALIGN(4096);
}
.bss : AT(ADDR(.bss) - KERNEL_OFFSET) {
__bss_start = .;
*(.bss*)
. = ALIGN(4096);
__bss_end = .;
__tbss_start = .;
*(.tbss*)
. = ALIGN(4096);
__tbss_end = .;
}
__end = .;
/DISCARD/ : {
*(.comment*)
*(.debug*)
*(.eh_frame*)
*(.gcc_except_table*)
*(.note*)
*(.rel.eh_frame*)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment