RetroArch
Macros | Typedefs
cc.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include <gctypes.h>
#include "asm.h"
#include "processor.h"
Include dependency graph for cc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PACK_STRUCT_FIELD(x)   x
 
#define PACK_STRUCT_STRUCT   __attribute__((packed))
 
#define PACK_STRUCT_BEGIN
 
#define PACK_STRUCT_END
 
#define LWIP_PLATFORM_ASSERT(x)   { printf(x); while (1); }
 
#define LWIP_PLATFORM_DIAG(x)   printf x
 
#define SYS_ARCH_DECL_PROTECT(lev)   u32 lev
 
#define SYS_ARCH_PROTECT(lev)   _CPU_ISR_Disable(lev)
 
#define SYS_ARCH_UNPROTECT(lev)   _CPU_ISR_Restore(lev)
 
#define U16_F   "hu"
 
#define S16_F   "hd"
 
#define X16_F   "hx"
 
#define U32_F   "u"
 
#define S32_F   "d"
 
#define X32_F   "x"
 

Typedefs

typedef u8 u8_t
 
typedef s8 s8_t
 
typedef u16 u16_t
 
typedef s16 s16_t
 
typedef u32 u32_t
 
typedef s32 s32_t
 
typedef u32 mem_ptr_t
 

Macro Definition Documentation

◆ LWIP_PLATFORM_ASSERT

#define LWIP_PLATFORM_ASSERT (   x)    { printf(x); while (1); }

◆ LWIP_PLATFORM_DIAG

#define LWIP_PLATFORM_DIAG (   x)    printf x

◆ PACK_STRUCT_BEGIN

#define PACK_STRUCT_BEGIN

◆ PACK_STRUCT_END

#define PACK_STRUCT_END

◆ PACK_STRUCT_FIELD

#define PACK_STRUCT_FIELD (   x)    x

◆ S16_F

#define S16_F   "hd"

◆ S32_F

#define S32_F   "d"

◆ SYS_ARCH_DECL_PROTECT

#define SYS_ARCH_DECL_PROTECT (   lev)    u32 lev

◆ SYS_ARCH_PROTECT

#define SYS_ARCH_PROTECT (   lev)    _CPU_ISR_Disable(lev)

◆ SYS_ARCH_UNPROTECT

#define SYS_ARCH_UNPROTECT (   lev)    _CPU_ISR_Restore(lev)

◆ U16_F

#define U16_F   "hu"

◆ U32_F

#define U32_F   "u"

◆ X16_F

#define X16_F   "hx"

◆ X32_F

#define X32_F   "x"

Typedef Documentation

◆ mem_ptr_t

typedef u32 mem_ptr_t

◆ s16_t

typedef s16 s16_t

◆ s32_t

typedef s32 s32_t

◆ s8_t

typedef s8 s8_t

◆ u16_t

typedef u16 u16_t

◆ u32_t

typedef u32 u32_t

◆ u8_t

typedef u8 u8_t