Search
lxdream.org :: lxdream/src/aica/armcore.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/armcore.h
changeset 736:a02d1475ccfd
prev586:2a3ba82cf243
next814:f1a21df54e19
author nkeynes
date Mon Jul 14 07:44:42 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Re-indent everything consistently
Fix include guards for consistency as well
file annotate diff log raw
1.1 --- a/src/aica/armcore.h Tue Jan 15 20:50:23 2008 +0000
1.2 +++ b/src/aica/armcore.h Mon Jul 14 07:44:42 2008 +0000
1.3 @@ -16,14 +16,18 @@
1.4 * GNU General Public License for more details.
1.5 */
1.6
1.7 -#ifndef dream_armcore_H
1.8 -#define dream_armcore_H 1
1.9 +#ifndef lxdream_armcore_H
1.10 +#define lxdream_armcore_H 1
1.11
1.12 #include "lxdream.h"
1.13 #include "mem.h"
1.14 #include <stdint.h>
1.15 #include <stdio.h>
1.16
1.17 +#ifdef __cplusplus
1.18 +extern "C" {
1.19 +#endif
1.20 +
1.21 #define ARM_BASE_RATE 2 /* MHZ */
1.22 extern uint32_t arm_cpu_freq;
1.23 extern uint32_t arm_cpu_period;
1.24 @@ -107,4 +111,9 @@
1.25 int32_t arm_read_phys_word( uint32_t addr );
1.26 int arm_has_page( uint32_t addr );
1.27 void arm_mem_init(void);
1.28 -#endif /* !dream_armcore_H */
1.29 +
1.30 +#ifdef __cplusplus
1.31 +}
1.32 +#endif
1.33 +
1.34 +#endif /* !lxdream_armcore_H */
.