VirtualBox

Ignore:
Timestamp:
Jan 24, 2024 1:05:51 AM (13 months ago)
Author:
vboxsync
Message:

iprt/asm-mem.h: Eliminated the unused ASMProbeReadBuffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp

    r103014 r103017  
    3939*   Header Files                                                                                                                 *
    4040*********************************************************************************************************************************/
    41 #define RT_ASM_INCLUDE_PAGE_SIZE
    4241#include <iprt/asm-mem.h>
    4342#include <iprt/asm.h>
     
    26522651static void tstASMProbe(RTTEST hTest)
    26532652{
    2654     RTTestSub(hTest, "ASMProbeReadByte/Buffer");
     2653    RTTestSub(hTest, "ASMProbeReadByte");
    26552654
    26562655    uint8_t b = 42;
    26572656    RTTESTI_CHECK(ASMProbeReadByte(&b) == 42);
    2658     ASMProbeReadBuffer(&b, sizeof(b));
    26592657
    26602658    for (uint32_t cPages = 1; cPages < 16; cPages++)
     
    26712669        RTTESTI_CHECK(ASMProbeReadByte(&pbBuf1[0]) == 0xf6);
    26722670        RTTESTI_CHECK(ASMProbeReadByte(&pbBuf2[0]) == 0x42);
    2673 
    2674         ASMProbeReadBuffer(pbBuf1, cPages * PAGE_SIZE);
    2675         ASMProbeReadBuffer(pbBuf2, cPages * PAGE_SIZE);
    26762671    }
    26772672}
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