Changeset 8f2153b in mainline for arch/ia32/src/boot/boot.S


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/boot/boot.S

    r2c55af3 r8f2153b  
    2727#
    2828
     29#define __ASM__
     30       
    2931#include <arch/boot/boot.h>
    3032#include <arch/boot/memmapasm.h>
     33#include <arch/mm/page.h>
     34#include <arch/pm.h>
    3135
    3236.section K_TEXT_START
     
    5458        call memmap_arch_init
    5559       
    56         lgdt real_bootstrap_gdtr                                # initialize Global Descriptor Table register
     60        lgdt real_bootstrap_gdtr_boot           # initialize Global Descriptor Table register
    5761       
    5862        movl %cr0, %eax
     
    236240page_directory:
    237241        .space 4096, 0
     242
     243.global real_bootstrap_gdtr_boot
     244real_bootstrap_gdtr_boot:
     245        .word selector(GDT_ITEMS)
     246        .long KA2PA(gdt)-BOOT_OFFSET
     247       
Note: See TracChangeset for help on using the changeset viewer.