VirtualBox

Changeset 92287 in vbox for trunk


Ignore:
Timestamp:
Nov 9, 2021 12:38:52 PM (3 years ago)
Author:
vboxsync
Message:

VBoxBios,BiosCommon: define IN_RING0 for C and C++ bios code so we can include iprt/cdefs.h. bugref:6549

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/BiosCommonCode/DoUInt32Div.c

    r82968 r92287  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
    22 #define IN_RING0
    2322#define ARCH_BITS 16
    2423#include <iprt/types.h>
  • trunk/src/VBox/Devices/Config.kmk

    r88938 r92287  
    4848TEMPLATE_VBoxBios_BLD_TRG_ARCH = x86
    4949TEMPLATE_VBoxBios_BINSUFF      = .rom
     50TEMPLATE_VBoxBios_CDEFS        = IN_RING0
     51TEMPLATE_VBoxBios_CXXDEFS      = IN_RING0
    5052TEMPLATE_VBoxBios_INCS         = . $(VBOX_PATH_DEVICES_SRC)/BiosCommonCode
    5153TEMPLATE_VBoxBios_ASFLAGS      = -q -wx -d1 -0
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