VirtualBox

Changeset 41707 in vbox for trunk


Ignore:
Timestamp:
Jun 14, 2012 1:00:54 PM (13 years ago)
Author:
vboxsync
Message:

const two pointer tables.

Location:
trunk/src/VBox/Disassembler
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmCore.cpp

    r41703 r41707  
    531531    if (ModRM <= 0xBF)
    532532    {
    533         fpop            = &(g_paMapX86_FP_Low[index])[MODRM_REG(ModRM)];
     533        fpop            = &(g_apMapX86_FP_Low[index])[MODRM_REG(ModRM)];
    534534        pCpu->pCurInstr = (PCDISOPCODE)fpop;
    535535
     
    540540    else
    541541    {
    542         fpop            = &(g_paMapX86_FP_High[index])[ModRM - 0xC0];
     542        fpop            = &(g_apMapX86_FP_High[index])[ModRM - 0xC0];
    543543        pCpu->pCurInstr = (PCDISOPCODE)fpop;
    544544    }
  • trunk/src/VBox/Disassembler/DisasmInternal.h

    r41706 r41707  
    151151extern const DISOPCODE g_aMapX86_EscF7_High[16*4];
    152152
    153 extern PCDISOPCODE     g_paMapX86_FP_Low[8];
    154 extern PCDISOPCODE     g_paMapX86_FP_High[8];
     153extern const PCDISOPCODE g_apMapX86_FP_Low[8];
     154extern const PCDISOPCODE g_apMapX86_FP_High[8];
    155155/** @} */
    156156
  • trunk/src/VBox/Disassembler/DisasmTables.cpp

    r41692 r41707  
    23432343
    23442344
    2345 PCDISOPCODE g_paMapX86_FP_Low[8] =
     2345const PCDISOPCODE g_apMapX86_FP_Low[8] =
    23462346{
    23472347    g_aMapX86_EscF0_Low,
     
    23552355};
    23562356
    2357 PCDISOPCODE g_paMapX86_FP_High[8] =
     2357const PCDISOPCODE g_apMapX86_FP_High[8] =
    23582358{
    23592359    g_aMapX86_EscF0_High,
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