diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-09-28 10:20:02 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-09-28 10:20:02 +0000 |
commit | 7914e90738ff37e6378b37632eb1f05bab7354d5 (patch) | |
tree | 6b3d6a6bac4c7a3f82fa212d5f3ed324d81dc8bb /firmware/export/pp5020.h | |
parent | edbf5d81f5a635a0db68039554b086f942b3e005 (diff) | |
download | rockbox-7914e90738ff37e6378b37632eb1f05bab7354d5.tar.gz rockbox-7914e90738ff37e6378b37632eb1f05bab7354d5.zip |
Commit a subset of the dual core changes that have to do with cache handling, stacks, firmware startup and thread startup. Tested on e200, H10-20GB, iPod Color and 5.5G. Thread function return implemented for all targets. Some changes to plugins to follow shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14879 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5020.h')
-rw-r--r-- | firmware/export/pp5020.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h index b2c7f4d0d2..5da2061798 100644 --- a/firmware/export/pp5020.h +++ b/firmware/export/pp5020.h | |||
@@ -118,18 +118,18 @@ | |||
118 | #define DEV_RS (*(volatile unsigned long *)(0x60006004)) | 118 | #define DEV_RS (*(volatile unsigned long *)(0x60006004)) |
119 | #define DEV_EN (*(volatile unsigned long *)(0x6000600c)) | 119 | #define DEV_EN (*(volatile unsigned long *)(0x6000600c)) |
120 | 120 | ||
121 | #define DEV_SYSTEM 0x4 | 121 | #define DEV_SYSTEM 0x00000004 |
122 | #define DEV_SER0 0x40 | 122 | #define DEV_SER0 0x00000040 |
123 | #define DEV_SER1 0x80 | 123 | #define DEV_SER1 0x00000080 |
124 | #define DEV_I2S 0x800 | 124 | #define DEV_I2S 0x00000800 |
125 | #define DEV_I2C 0x1000 | 125 | #define DEV_I2C 0x00001000 |
126 | #define DEV_ATA 0x4000 | 126 | #define DEV_ATA 0x00004000 |
127 | #define DEV_OPTO 0x10000 | 127 | #define DEV_OPTO 0x00010000 |
128 | #define DEV_PIEZO 0x10000 | 128 | #define DEV_PIEZO 0x00010000 |
129 | #define DEV_USB 0x400000 | 129 | #define DEV_USB 0x00400000 |
130 | #define DEV_FIREWIRE 0x800000 | 130 | #define DEV_FIREWIRE 0x00800000 |
131 | #define DEV_IDE0 0x2000000 | 131 | #define DEV_IDE0 0x02000000 |
132 | #define DEV_LCD 0x4000000 | 132 | #define DEV_LCD 0x04000000 |
133 | 133 | ||
134 | /* clock control */ | 134 | /* clock control */ |
135 | #define CLOCK_SOURCE (*(volatile unsigned long *)(0x60006020)) | 135 | #define CLOCK_SOURCE (*(volatile unsigned long *)(0x60006020)) |
@@ -174,6 +174,7 @@ | |||
174 | 174 | ||
175 | #define CACHE_DISABLE 0 | 175 | #define CACHE_DISABLE 0 |
176 | #define CACHE_ENABLE 1 | 176 | #define CACHE_ENABLE 1 |
177 | #define CACHE_RUN 2 | ||
177 | #define CACHE_INIT 4 | 178 | #define CACHE_INIT 4 |
178 | 179 | ||
179 | /* GPIO Ports */ | 180 | /* GPIO Ports */ |