Search
lxdream.org :: lxdream/src/lxdream.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/lxdream.h
changeset 502:c4ecae2b1b5e
prev477:9a373f2ff009
next503:36a668469e37
author nkeynes
date Thu Nov 08 11:54:16 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Add sh4ptr_t type, start converting bare pointer refs to it
file annotate diff log raw
1.1 --- a/src/lxdream.h Wed Oct 31 09:10:23 2007 +0000
1.2 +++ b/src/lxdream.h Thu Nov 08 11:54:16 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: lxdream.h,v 1.1 2007-10-31 09:10:23 nkeynes Exp $
1.6 + * $Id: lxdream.h,v 1.2 2007-11-08 11:54:16 nkeynes Exp $
1.7 *
1.8 * Common type definitions and forward declarations
1.9 *
1.10 @@ -36,8 +36,14 @@
1.11 #define max(a,b) ( (a) > (b) ? (a) : (b) )
1.12 #endif
1.13
1.14 -
1.15 +/**
1.16 + * A 32-bit address in SH4 space
1.17 + */
1.18 typedef uint32_t sh4addr_t;
1.19 +/**
1.20 + * A direct pointer into SH4 memory
1.21 + */
1.22 +typedef unsigned char *sh4ptr_t;
1.23
1.24 /******************* Forward type declarations ******************/
1.25
.