Search
lxdream.org :: lxdream/src/clock.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/clock.h
changeset 23:1ec3acd0594d
prev19:9da7a8e38f9d
next30:89b30313d757
author nkeynes
date Fri Dec 23 11:44:55 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change Start of "real" time slices, general structure in place now
file annotate diff log raw
1.1 --- a/src/clock.h Thu Dec 22 07:38:12 2005 +0000
1.2 +++ b/src/clock.h Fri Dec 23 11:44:55 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: clock.h,v 1.1 2005-12-22 07:38:06 nkeynes Exp $
1.6 + * $Id: clock.h,v 1.2 2005-12-23 11:44:50 nkeynes Exp $
1.7 * External interface to the dreamcast serial port, implemented by
1.8 * sh4/scif.c
1.9 *
1.10 @@ -24,15 +24,14 @@
1.11 extern "C" {
1.12 #endif
1.13
1.14 -#define MHZ * 1000000
1.15 -
1.16 +#define MHZ
1.17 #define SH4_BASE_RATE 200 MHZ
1.18 #define ARM_BASE_RATE 33 MHZ
1.19
1.20 - extern uint32_t sh4_freq;
1.21 - extern uint32_t sh4_peripheral_freq;
1.22 - extern uint32_t sh4_bus_freq;
1.23 - extern uint32_t arm_freq;
1.24 +extern uint32_t sh4_freq;
1.25 +extern uint32_t sh4_peripheral_freq;
1.26 +extern uint32_t sh4_bus_freq;
1.27 +extern uint32_t arm_freq;
1.28
1.29 #ifdef __cplusplus
1.30 }
.