add signed fixed size integer typedefs

front
qwx 2018-05-12 19:19:52 +02:00
parent 2728e06589
commit 70c7a9eb07
14 changed files with 44 additions and 12 deletions

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FCR */
#define FPINEX (1<<5)

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FCR */
#define FPINEX (3<<8)

View File

@ -20,7 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FCR */
#define FPINEX (3<<8)

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* MXCSR */
/* fcr */

View File

@ -21,6 +21,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* VFP FPSCR (exceptions) */
#define FPINEX (1<<12)

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FCR */
#define FPINEX (1<<7)

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FPSCR */
#define FPSFX (1<<31) /* exception summary (sticky) */

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FPSCR */
#define FPSFX (1<<31) /* exception summary (sticky) */

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FCR */
#define FPINEX (1<<23)

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FCR */
#define FPINEX (1<<23)

View File

@ -20,6 +20,10 @@ typedef unsigned char u8int;
typedef unsigned short u16int;
typedef unsigned int u32int;
typedef unsigned long long u64int;
typedef signed char s8int;
typedef signed short s16int;
typedef signed int s32int;
typedef signed long long s64int;
/* FCR */
#define FPINEX (1<<7)

View File

@ -17,9 +17,6 @@
#include "../port/etherif.h"
#include "../port/wifi.h"
/* for consistency */
typedef signed char s8int;
enum {
/* PCI registers */
PciCfg = 0x0000,

View File

@ -1,7 +1,3 @@
typedef char s8int;
typedef short s16int;
typedef int s32int;
typedef struct PCIDev PCIDev;
typedef struct PCICap PCICap;
typedef struct PCIBar PCIBar;

View File

@ -1,7 +1,3 @@
typedef signed char s8int;
typedef signed short s16int;
typedef signed long s32int;
extern u32int curpc, irq;
extern int trace, debug;