Changeset 8f2153b in mainline for arch/ia32/src/pm.c


Ignore:
Timestamp:
2005-09-05T12:41:45Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b492b5
Parents:
2c55af3
Message:

Backported AMD64 linker and boot changes back to IA32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/pm.c

    r2c55af3 r8f2153b  
    7070struct tss *tss_p = NULL;
    7171
     72/* TODO: Does not compile correctly if it does not exist ???? */
     73int __attribute__ ((section ("K_DATA_START"))) __fake;
     74
    7275/* 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) };
    7476struct ptr_16_32 protected_bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
    7577struct ptr_16_32 gdtr = { .limit = sizeof(gdt), .base = (__address) gdt };
Note: See TracChangeset for help on using the changeset viewer.