- add some symbols required by MSVC for device plugins
This commit is contained in:
parent
4bc70c8f4d
commit
e4fe7f0c8f
@ -151,7 +151,7 @@ static void apic_bus_broadcast_eoi(Bit8u vector)
|
||||
#endif
|
||||
|
||||
// available even if APIC is not compiled in
|
||||
void apic_bus_deliver_smi(void)
|
||||
BOCHSAPI_MSVCONLY void apic_bus_deliver_smi(void)
|
||||
{
|
||||
BX_CPU(0)->deliver_SMI();
|
||||
}
|
||||
|
@ -161,7 +161,7 @@ public:
|
||||
};
|
||||
|
||||
int apic_bus_deliver_lowest_priority(Bit8u vector, apic_dest_t dest, bx_bool trig_mode, bx_bool broadcast);
|
||||
int apic_bus_deliver_interrupt(Bit8u vector, apic_dest_t dest, Bit8u delivery_mode, bx_bool logical_dest, bx_bool level, bx_bool trig_mode);
|
||||
BOCHSAPI_MSVCONLY int apic_bus_deliver_interrupt(Bit8u vector, apic_dest_t dest, Bit8u delivery_mode, bx_bool logical_dest, bx_bool level, bx_bool trig_mode);
|
||||
int apic_bus_broadcast_interrupt(Bit8u vector, Bit8u delivery_mode, bx_bool trig_mode, int exclude_cpu);
|
||||
|
||||
#endif // if BX_SUPPORT_APIC
|
||||
|
@ -194,7 +194,7 @@ typedef int socklen_t;
|
||||
|
||||
#if !BX_HAVE_MKSTEMP
|
||||
#define mkstemp bx_mkstemp
|
||||
extern int bx_mkstemp(char *tpl);
|
||||
BOCHSAPI_MSVCONLY extern int bx_mkstemp(char *tpl);
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user