-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.h
More file actions
65 lines (48 loc) · 778 Bytes
/
types.h
File metadata and controls
65 lines (48 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
** SCCS ID: @(#)types.h 1.1 4/17/15
**
** File: types.h
**
** Author: CSCI-452 class of 20145
**
** Contributor:
**
** Description: General data type declarations
*/
#ifndef _TYPES_H_
#define _TYPES_H_
/*
** General (C and/or assembly) definitions
*/
#ifndef __SP_ASM__
/*
** Start of C-only definitions
*/
/*
** Types
*/
// size-specific integer types
typedef char int8_t;
typedef unsigned char uint8_t;
typedef int8_t byte_t;
typedef uint8_t ubyte_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int16_t short_t;
typedef uint16_t ushort_t;
typedef long int32_t;
typedef unsigned long uint32_t;
typedef _Bool bool_t;
#ifdef __SP_KERNEL__
/*
** OS-only type declarations
*/
#endif
/*
** Globals
*/
/*
** Prototypes
*/
#endif
#endif