VirtualBox

Changeset 36866 in vbox


Ignore:
Timestamp:
Apr 28, 2011 1:20:59 AM (14 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstX86-1A.asm

    r36864 r36866  
    4040extern NAME(g_pbEfExecPage)
    4141
    42 g_szAlpha:
     42GLOBALNAME g_szAlpha
    4343        db      "abcdefghijklmnopqrstuvwxyz", 0
    4444g_szAlpha_end:
    45 %define g_cchAlpha (g_szAlpha_end - g_szAlpha)
     45%define g_cchAlpha (g_szAlpha_end - NAME(g_szAlpha))
    4646        db      0, 0, 0,
    4747
     
    348348
    349349        ; check that repne scasb (al=0) behaves like expected.
    350         mov     xDI, g_szAlpha
     350        lea     xDI, REF_GLOBAL(g_szAlpha)
    351351        xor     eax, eax                ; find the end
    352352        mov     ecx, g_cchAlpha + 1
     
    357357
    358358        ; check that repe scasb (al=0) behaves like expected.
    359         mov     xDI, g_szAlpha
     359        lea     xDI, REF_GLOBAL(g_szAlpha)
    360360        xor     eax, eax                ; find the end
    361361        mov     ecx, g_cchAlpha + 1
     
    366366
    367367        ; repne is last, it wins.
    368         mov     xDI, g_szAlpha
     368        lea     xDI, REF_GLOBAL(g_szAlpha)
    369369        xor     eax, eax                ; find the end
    370370        mov     ecx, g_cchAlpha + 1
     
    377377
    378378        ; repe is last, it wins.
    379         mov     xDI, g_szAlpha
     379        lea     xDI, REF_GLOBAL(g_szAlpha)
    380380        xor     eax, eax                ; find the end
    381381        mov     ecx, g_cchAlpha + 1
     
    471471        mov     byte [xDI+0], 0f0h
    472472        mov     byte [xDI+1], 002h
    473         mov     byte [xDI+2], 08Fh
     473        mov     byte [xDI+2], 08fh
    474474        mov     dword [xDI+3], 000000000h
    475         mov     byte [xDI+7], 0ccFh
     475        mov     byte [xDI+7], 0cch
    476476        ShouldTrap X86_XCPT_UD, call xDI
    477477
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