// if the /OPT:REF linker option is used. We defined a macro as this is a \r
// a non standard extension\r
//\r
-#define GLOBAL_REMOVE_IF_UNREFERENCED\r
+#if _MSC_EXTENSIONS\r
+ #define GLOBAL_REMOVE_IF_UNREFERENCED __declspec(selectany)\r
+#else\r
+ #define GLOBAL_REMOVE_IF_UNREFERENCED\r
+#endif\r
\r
//\r
// A pointer to a function in IPF points to a plabel.\r
UINT64 GP;\r
} EFI_PLABEL;\r
\r
-typedef struct {\r
- UINTN BootPhase; // entry r20 value\r
- UINTN UniqueId; // PAL arbitration ID\r
- UINTN HealthStat; // Health Status\r
- UINTN PALRetAddress; // return address to PAL\r
-} IPF_HANDOFF_STATUS;\r
-\r
#endif\r
\r