VirtualBox

Ignore:
Timestamp:
Jun 12, 2017 5:42:14 PM (8 years ago)
Author:
vboxsync
Message:

EFI/Firmware: fix compiler confusion caused by using ASMIntDisableFlags which resulted in truncated EFI debug output, plus some minor cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxDebugLib/VBoxPrintHexDump.c

    r62500 r67350  
    3030*   Header Files                                                               *
    3131*******************************************************************************/
     32#include <ctype.h>
    3233#include "VBoxDebugLib.h"
    3334#include "DevEFI.h"
    34 #include <iprt/ctype.h>
     35#include "iprt/asm.h"
    3536
    3637
     
    8081        cchPrinted += VBoxPrintString("  ");
    8182        for (i = 0; i < 16 && i < cb; i++)
    82             cchPrinted += vboxPrintHexDumpChar(pb[i] == ' '
    83                                                ? ' '
    84                                                : RT_C_IS_GRAPH(pb[i])
     83            cchPrinted += vboxPrintHexDumpChar(isprint(pb[i])
    8584                                               ? pb[i]
    8685                                               : '.');
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