LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
libxenon
drivers
nocfe
lib_types.h
Go to the documentation of this file.
1
/* *********************************************************************
2
* Broadcom Common Firmware Environment (CFE)
3
*
4
* Basic types File: lib_types.h
5
*
6
* This module defines the basic types used in CFE. Simple
7
* types, such as uint64_t, are defined here.
8
*
9
* Author: Mitch Lichtenberg (mpl@broadcom.com)
10
*
11
*********************************************************************
12
*
13
* Copyright 2000,2001
14
* Broadcom Corporation. All rights reserved.
15
*
16
* This software is furnished under license and may be used and
17
* copied only in accordance with the following terms and
18
* conditions. Subject to these conditions, you may download,
19
* copy, install, use, modify and distribute modified or unmodified
20
* copies of this software in source and/or binary form. No title
21
* or ownership is transferred hereby.
22
*
23
* 1) Any source code used, modified or distributed must reproduce
24
* and retain this copyright notice and list of conditions as
25
* they appear in the source file.
26
*
27
* 2) No right is granted to use any trade name, trademark, or
28
* logo of Broadcom Corporation. Neither the "Broadcom
29
* Corporation" name nor any trademark or logo of Broadcom
30
* Corporation may be used to endorse or promote products
31
* derived from this software without the prior written
32
* permission of Broadcom Corporation.
33
*
34
* 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR
35
* IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED
36
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
37
* PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT
38
* SHALL BROADCOM BE LIABLE FOR ANY DAMAGES WHATSOEVER, AND IN
39
* PARTICULAR, BROADCOM SHALL NOT BE LIABLE FOR DIRECT, INDIRECT,
40
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
41
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
42
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
43
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
44
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
45
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE), EVEN IF ADVISED OF
46
* THE POSSIBILITY OF SUCH DAMAGE.
47
********************************************************************* */
48
49
50
#ifndef _LIB_TYPES_H
51
#define _LIB_TYPES_H
52
53
/* *********************************************************************
54
* Basic types
55
********************************************************************* */
56
57
#include <
stdio.h
>
58
#include <stdint.h>
59
#include <
xetypes.h
>
60
61
#define unsigned signed
/* Kludge to get unsigned size-shaped type. */
62
typedef
__SIZE_TYPE__
intptr_t
;
63
#undef unsigned
64
typedef
__SIZE_TYPE__
uintptr_t
;
65
66
/* *********************************************************************
67
* Structures
68
********************************************************************* */
69
70
/*typedef struct cons_s {
71
char *str;
72
int num;
73
} cons_t;*/
74
75
#endif
uintptr_t
__SIZE_TYPE__ uintptr_t
Definition:
lib_types.h:64
intptr_t
__SIZE_TYPE__ intptr_t
Definition:
lib_types.h:62
stdio.h
xetypes.h
Generated by
1.9.5