Changeset 375237d1 in mainline for arch/ia32/src/pm.c


Ignore:
Timestamp:
2005-09-02T15:36:48Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4bb86b4
Parents:
32f6e1bd
Message:

temporarily fix IA-32 boot bug

File:
1 edited

Legend:

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

    r32f6e1bd r375237d1  
    3838#include <mm/heap.h>
    3939#include <memstr.h>
     40#include <arch/boot/boot.h>
    4041
    4142/*
     
    7071
    7172/* gdtr is changed by kmp before next CPU is initialized */
    72 struct ptr_16_32 gdtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
     73struct ptr_16_32 gdtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt - BOOT_OFFSET) };
    7374struct ptr_16_32 idtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(idt), .base = KA2PA((__address) idt) };
    7475
Note: See TracChangeset for help on using the changeset viewer.