/SPARTAN/trunk/arch/amd64/src/boot/boot.S |
48,7 → 48,7 |
|
#define START_STACK (BOOTSTRAP_OFFSET-0x400) |
|
.section K_TEXT_START |
.section K_TEXT_START, "ax" |
.code16 |
.global kernel_image_start |
kernel_image_start: |
137,7 → 137,7 |
1: |
jmp 1b |
|
.section K_DATA_START |
.section K_DATA_START, "aw", @progbits |
.align 4096 |
|
# Identical mapping of first 16MB and the same of -2GB -> 0 |
/SPARTAN/trunk/arch/amd64/src/pm.c |
116,9 → 116,6 |
static struct tss tss; |
struct tss *tss_p = NULL; |
|
/* TODO: Does not compile correctly if it does not exist ???? */ |
int __attribute__ ((section ("K_DATA_START"))) __fake; |
|
void gdt_tss_setbase(struct descriptor *d, __address base) |
{ |
struct tss_descriptor *td = (struct tss_descriptor *) d; |