Subversion Repositories HelenOS-historic

Rev

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

Rev 576 Rev 693
Line 69... Line 69...
69
static struct tss tss;
69
static struct tss tss;
70
 
70
 
71
struct tss *tss_p = NULL;
71
struct tss *tss_p = NULL;
72
 
72
 
73
/* gdtr is changed by kmp before next CPU is initialized */
73
/* gdtr is changed by kmp before next CPU is initialized */
74
struct ptr_16_32 protected_bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
74
struct ptr_16_32 bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
75
struct ptr_16_32 gdtr = { .limit = sizeof(gdt), .base = (__address) gdt };
75
struct ptr_16_32 gdtr = { .limit = sizeof(gdt), .base = (__address) gdt };
76
 
76
 
77
void gdt_setbase(struct descriptor *d, __address base)
77
void gdt_setbase(struct descriptor *d, __address base)
78
{
78
{
79
    d->base_0_15 = base & 0xffff;
79
    d->base_0_15 = base & 0xffff;