Changeset 946b630 in mainline for arch/amd64/src


Ignore:
Timestamp:
2005-09-03T21:01:23Z (21 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5260478
Parents:
c835e7c
Message:

Reverted APIC mapping back to identity mapping.
Added AMD64 SMP support. Works now!

Location:
arch/amd64/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/boot/boot.S

    rc835e7c r946b630  
    8383        jmp 1b
    8484
    85 # Protected 16-bit. We want to reuse the code-seg descriptor,
    86 # the Default operand size must not be 1 when entering long mode       
     85# Protected 32-bit. We want to reuse the code-seg descriptor,
     86# the Default operand size must not be 1 when entering long mode
     87.code32
    8788now_in_prot: 
    8889        # Set up stack & data descriptors
    8990        movw $gdtselector(KDATA_DES), %ax
    9091        movw %ax, %ds
    91         movw %ax, %fs
    92         movw %ax, %gs
    9392        movw %ax, %ss
    9493
     
    172171        .word gdtselector(GDT_ITEMS)
    173172        .long KA2PA(gdt)-BOOT_OFFSET
    174 
    175 .global ap_bootstrap_gdtr
    176 ap_bootstrap_gdtr:
    177         .word gdtselector(GDT_ITEMS)
    178         .long KA2PA(gdt)-BOOT_OFFSET
  • arch/amd64/src/dummy.s

    rc835e7c r946b630  
    2828
    2929.text
    30 
    31 .global ap_boot
    32        
    33 ap_boot:       
    34         ret
  • arch/amd64/src/pm.c

    rc835e7c r946b630  
    9292          .granularity = 1,
    9393          .base_24_31  = 0 },
    94         /* KTEXT 16-bit protected */
     94        /* KTEXT 32-bit protected */
    9595        { .limit_0_15  = 0xffff,
    9696          .base_0_15   = 0,
     
    100100          .available   = 0,
    101101          .longmode    = 0,
    102           .special     = 0,
     102          .special     = 1,
    103103          .granularity = 1,
    104104          .base_24_31  = 0 },
Note: See TracChangeset for help on using the changeset viewer.