Subversion Repositories HelenOS

Rev

Rev 279 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 279 Rev 300
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
 
72
/* gdtr is changed by kmp before next CPU is initialized */
75
/* gdtr is changed by kmp before next CPU is initialized */
73
struct ptr_16_32 real_bootstrap_gdtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt - BOOT_OFFSET) };
-
 
74
struct ptr_16_32 protected_bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
76
struct ptr_16_32 protected_bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
75
struct ptr_16_32 gdtr = { .limit = sizeof(gdt), .base = (__address) gdt };
77
struct ptr_16_32 gdtr = { .limit = sizeof(gdt), .base = (__address) gdt };
76
 
78
 
77
void gdt_setbase(struct descriptor *d, __address base)
79
void gdt_setbase(struct descriptor *d, __address base)
78
{
80
{