* Fast486 386/486 CPU Emulation Library
* common.h
*
- * Copyright (C) 2013 Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
+ * Copyright (C) 2014 Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
};
} FAST486_MOD_REG_RM, *PFAST486_MOD_REG_RM;
-#pragma pack(push, 1)
+#include <pshpack1.h>
typedef union _FAST486_PAGE_DIR
{
C_ASSERT(sizeof(FAST486_PAGE_DIR) == sizeof(ULONG));
-#pragma pack(pop)
+#include <poppack.h>
/* FUNCTIONS ******************************************************************/
);
BOOLEAN
-Fast486InterruptInternal
+FASTCALL
+Fast486PerformInterrupt
(
PFAST486_STATE State,
- USHORT SegmentSelector,
- ULONG Offset,
- ULONG GateType
+ UCHAR Number
);
VOID