vendorcode/intel: remove DebugDeadLoop() from fsptypes.h

When included for the CAR transition, this was causing the error:
error: invalid storage class for function 'DebugDeadLoop'

Change-Id: Idf37a8104b4468b40c29c8cbe9a40f7a357a4f17
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: http://review.coreboot.org/8193
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Martin Roth 2015-01-11 11:34:36 -07:00
parent 735e10a0d5
commit fa6bd71bdd
4 changed files with 8 additions and 28 deletions

View File

@ -100,22 +100,17 @@ typedef struct {
#define TRUE ((BOOLEAN)(1==1)) #define TRUE ((BOOLEAN)(1==1))
#define FALSE ((BOOLEAN)(0==1)) #define FALSE ((BOOLEAN)(0==1))
static inline void DebugDeadLoop(void) {
for (;;);
}
#define FSPAPI __attribute__((cdecl)) #define FSPAPI __attribute__((cdecl))
#define EFIAPI __attribute__((cdecl)) #define EFIAPI __attribute__((cdecl))
#define _ASSERT(Expression) DebugDeadLoop()
#define ASSERT(Expression) \ #define ASSERT(Expression) \
do { \ do { \
if (!(Expression)) { \ if (!(Expression)) { \
_ASSERT (Expression); \ for (;;); \
} \ } \
} while (FALSE) } while (FALSE)
typedef UINT32 FSP_STATUS; typedef UINT32 FSP_STATUS;
typedef UINT32 EFI_STATUS; typedef UINT32 EFI_STATUS;
#endif #endif

View File

@ -100,22 +100,17 @@ typedef struct {
#define TRUE ((BOOLEAN)(1==1)) #define TRUE ((BOOLEAN)(1==1))
#define FALSE ((BOOLEAN)(0==1)) #define FALSE ((BOOLEAN)(0==1))
static inline void DebugDeadLoop(void) {
for (;;);
}
#define FSPAPI __attribute__((cdecl)) #define FSPAPI __attribute__((cdecl))
#define EFIAPI __attribute__((cdecl)) #define EFIAPI __attribute__((cdecl))
#define _ASSERT(Expression) DebugDeadLoop()
#define ASSERT(Expression) \ #define ASSERT(Expression) \
do { \ do { \
if (!(Expression)) { \ if (!(Expression)) { \
_ASSERT (Expression); \ for (;;); \
} \ } \
} while (FALSE) } while (FALSE)
typedef UINT32 FSP_STATUS; typedef UINT32 FSP_STATUS;
typedef UINT32 EFI_STATUS; typedef UINT32 EFI_STATUS;
#endif #endif

View File

@ -100,22 +100,17 @@ typedef struct {
#define TRUE ((BOOLEAN)(1==1)) #define TRUE ((BOOLEAN)(1==1))
#define FALSE ((BOOLEAN)(0==1)) #define FALSE ((BOOLEAN)(0==1))
static inline void DebugDeadLoop(void) {
for (;;);
}
#define FSPAPI __attribute__((cdecl)) #define FSPAPI __attribute__((cdecl))
#define EFIAPI __attribute__((cdecl)) #define EFIAPI __attribute__((cdecl))
#define _ASSERT(Expression) DebugDeadLoop()
#define ASSERT(Expression) \ #define ASSERT(Expression) \
do { \ do { \
if (!(Expression)) { \ if (!(Expression)) { \
_ASSERT (Expression); \ for (;;); \
} \ } \
} while (FALSE) } while (FALSE)
typedef UINT32 FSP_STATUS; typedef UINT32 FSP_STATUS;
typedef UINT32 EFI_STATUS; typedef UINT32 EFI_STATUS;
#endif #endif

View File

@ -100,18 +100,13 @@ typedef struct {
#define TRUE ((BOOLEAN)(1==1)) #define TRUE ((BOOLEAN)(1==1))
#define FALSE ((BOOLEAN)(0==1)) #define FALSE ((BOOLEAN)(0==1))
static inline void DebugDeadLoop(void) {
for (;;);
}
#define FSPAPI __attribute__((cdecl)) #define FSPAPI __attribute__((cdecl))
#define EFIAPI __attribute__((cdecl)) #define EFIAPI __attribute__((cdecl))
#define _ASSERT(Expression) DebugDeadLoop()
#define ASSERT(Expression) \ #define ASSERT(Expression) \
do { \ do { \
if (!(Expression)) { \ if (!(Expression)) { \
_ASSERT (Expression); \ for (;;); \
} \ } \
} while (FALSE) } while (FALSE)
@ -180,4 +175,4 @@ typedef UINT32 EFI_STATUS;
#define SIGNATURE_64(A, B, C, D, E, F, G, H) \ #define SIGNATURE_64(A, B, C, D, E, F, G, H) \
(SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << 32)) (SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << 32))
#endif #endif