Subversion Repositories HelenOS

Rev

Rev 300 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 300 Rev 334
Line 67... Line 67...
67
 
67
 
68
static struct tss tss;
68
static struct tss tss;
69
 
69
 
70
struct tss *tss_p = NULL;
70
struct tss *tss_p = NULL;
71
 
71
 
72
/* TODO: Does not compile correctly if it does not exist ???? */
-
 
73
int __attribute__ ((section ("K_DATA_START"))) __fake;
-
 
74
 
-
 
75
/* gdtr is changed by kmp before next CPU is initialized */
72
/* gdtr is changed by kmp before next CPU is initialized */
76
struct ptr_16_32 protected_bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
73
struct ptr_16_32 protected_bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
77
struct ptr_16_32 gdtr = { .limit = sizeof(gdt), .base = (__address) gdt };
74
struct ptr_16_32 gdtr = { .limit = sizeof(gdt), .base = (__address) gdt };
78
 
75
 
79
void gdt_setbase(struct descriptor *d, __address base)
76
void gdt_setbase(struct descriptor *d, __address base)