diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/mips/include/arch/early_variables.h | 3 | ||||
-rw-r--r-- | src/arch/mips/include/stdint.h | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/arch/mips/include/arch/early_variables.h b/src/arch/mips/include/arch/early_variables.h index a81a6b4037..f16a0e8a51 100644 --- a/src/arch/mips/include/arch/early_variables.h +++ b/src/arch/mips/include/arch/early_variables.h @@ -23,8 +23,9 @@ #define CAR_GLOBAL #define CAR_MIGRATE(migrate_fn_) -static inline void car_migrate_variables(void) {} +static inline void *car_get_var_ptr(void *var) { return var; } #define car_get_var(var) (var) +#define car_sync_var(var) (var) #define car_set_var(var, val) { (var) = (val); } #endif /* __MIPS_ARCH_EARLY_VARIABLES_H */ diff --git a/src/arch/mips/include/stdint.h b/src/arch/mips/include/stdint.h index 5c21fe6742..5095fa8c9f 100644 --- a/src/arch/mips/include/stdint.h +++ b/src/arch/mips/include/stdint.h @@ -94,6 +94,11 @@ typedef int8_t s8; typedef int16_t s16; typedef int32_t s32; +typedef uint8_t bool; +#define true 1 +#define false 0 + + #undef __HAVE_LONG_LONG__ #endif /* __MIPS_STDINT_H */ |