VirtualBox

Ignore:
Timestamp:
Oct 28, 2015 8:17:18 PM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: 'svn merge /vendor/edk2/UDK2010.SR1 /vendor/edk2/current .', reverting and removing files+dirs listed in ReadMe.vbox, resolving conflicts with help from ../UDK2014.SP1/. This is a raw untested merge.

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware

  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/X64/Thunk16.S

    r48674 r58459  
    11#------------------------------------------------------------------------------
    22#
    3 # Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
     3# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
    44# This program and the accompanying materials
    55# are licensed and made available under the terms and conditions of the BSD License
     
    147147L_64BitCode:
    148148    .byte   0x90
    149     .byte   0x67,0xbc                  # mov esp, imm32
    150 L_SavedSp:  .space      4              # restore stack
     149    .byte   0x48,0xbc                  # mov rsp, imm64
     150L_SavedSp:  .space      8              # restore stack
    151151    nop
    152152    ret
     
    296296    movq    %cr4, %rbp
    297297    movl    %ebp, (%rcx)                # save CR4 in SavedCr4
    298     andl    $0x300,%ebp                 # clear all but PCE and OSFXSR bits
     298    andl    $0xffffffcf,%ebp            # clear PAE, PSE bits
    299299    movl    %r8d, %esi                  # esi <- 16-bit stack segment
    300300    .byte      0x6a, DATA32
     
    308308    movl    %cs, %r8d
    309309    movw    %r8w, (L_SavedCs - L_SavedCr4)(%rcx)
    310     movl    %esp, (L_SavedSp - L_SavedCr4)(%rcx)
     310    movq    %rsp, (L_SavedSp - L_SavedCr4)(%rcx)
    311311    .byte   0xff, 0x69                  #  jmp (_EntryPoint - L_SavedCr4)(%rcx)
    312312    .set    Ltemp1, _EntryPoint - L_SavedCr4
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette