view pirollback/types.h @ 277:5c47d916255e

compal/c156-boot.disasm: GPIO comments were wrong
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 05 Nov 2018 23:18:42 +0000
parents 15c2ac2c5c73
children
line wrap: on
line source

/*
 * I like using u8/u16/u32, but they don't seem to be defined anywhere.
 * So I solve the whole portability problem by defining them myself.
 */

typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;

typedef signed char s8;
typedef signed short s16;
typedef signed int s32;