Changeset 65640fef in mainline


Ignore:
Timestamp:
2006-02-07T09:30:23Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fa2d382
Parents:
37b451f7
Message:

I'm unsure if simics is broken or the only one according to spec,
but SYSCALL now works even with simics.

File:
1 edited

Legend:

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

    r37b451f7 r65640fef  
    5959        movw $gdtselector(KDATA_DES), %cx
    6060        movw %cx, %es
    61         movw %cx, %gs
    62         movw %cx, %fs
    6361        movw %cx, %ds                                                   # kernel data + stack
    6462        movw %cx, %ss
     63        # Simics seems to remove hidden part of GS on entering user mode
     64        #  when _visible_ part of GS does not point to user-mode segment
     65        movw $gdtselector(UDATA_DES), %cx
     66        movw %cx, %fs
     67        movw %cx, %gs
    6568       
    6669        jmpl $gdtselector(KTEXT32_DES), $multiboot_meeting_point
Note: See TracChangeset for help on using the changeset viewer.