[FAST486]: Use psh/poppack.h here too.
[reactos.git] / reactos / lib / fast486 / common.h
index 677bd19..0e0c0c8 100644 (file)
@@ -2,7 +2,7 @@
  * 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
@@ -85,7 +85,7 @@ typedef struct _FAST486_MOD_REG_RM
     };
 } FAST486_MOD_REG_RM, *PFAST486_MOD_REG_RM;
 
-#pragma pack(push, 1)
+#include <pshpack1.h>
 
 typedef union _FAST486_PAGE_DIR
 {
@@ -128,7 +128,7 @@ typedef union _FAST486_PAGE_TABLE
 
 C_ASSERT(sizeof(FAST486_PAGE_DIR) == sizeof(ULONG));
 
-#pragma pack(pop)
+#include <poppack.h>
 
 /* FUNCTIONS ******************************************************************/
 
@@ -154,12 +154,11 @@ Fast486WriteMemory
 );
 
 BOOLEAN
-Fast486InterruptInternal
+FASTCALL
+Fast486PerformInterrupt
 (
     PFAST486_STATE State,
-    USHORT SegmentSelector,
-    ULONG Offset,
-    ULONG GateType
+    UCHAR Number
 );
 
 VOID