diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-07-03 15:09:11 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-07-03 15:09:11 +0000 |
commit | bb3ed3cda98dc59719f5ab48fafc542eaa0d29a0 (patch) | |
tree | f2e9c2a2a8162edf689fba305b7390e1efed2178 | |
parent | d2456b44f73e6a1310d8dc2c98db92364b70e793 (diff) | |
download | rockbox-bb3ed3cda98dc59719f5ab48fafc542eaa0d29a0.tar.gz rockbox-bb3ed3cda98dc59719f5ab48fafc542eaa0d29a0.zip |
Use the central IDATA_ATTR define.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/playback.c | 6 | ||||
-rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 5 | ||||
-rw-r--r-- | firmware/drivers/lcd-h100.c | 6 |
3 files changed, 3 insertions, 14 deletions
diff --git a/apps/playback.c b/apps/playback.c index d5866121ba..edeaedb118 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -110,11 +110,7 @@ static const char audio_thread_name[] = "audio"; | |||
110 | 110 | ||
111 | /* Codec thread. */ | 111 | /* Codec thread. */ |
112 | static struct event_queue codec_queue; | 112 | static struct event_queue codec_queue; |
113 | static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] | 113 | static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] IDATA_ATTR; |
114 | #ifndef SIMULATOR | ||
115 | __attribute__ ((section(".idata"))) | ||
116 | #endif | ||
117 | ; | ||
118 | static const char codec_thread_name[] = "codec"; | 114 | static const char codec_thread_name[] = "codec"; |
119 | 115 | ||
120 | static struct mutex mutex_bufferfill; | 116 | static struct mutex mutex_bufferfill; |
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c index eaf61260cb..8fa193ac9b 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c | |||
@@ -67,10 +67,7 @@ | |||
67 | /*** globals ***/ | 67 | /*** globals ***/ |
68 | 68 | ||
69 | unsigned char lcd_remote_framebuffer[LCD_REMOTE_HEIGHT/8][LCD_REMOTE_WIDTH] | 69 | unsigned char lcd_remote_framebuffer[LCD_REMOTE_HEIGHT/8][LCD_REMOTE_WIDTH] |
70 | #ifndef SIMULATOR | 70 | IDATA_ATTR; |
71 | __attribute__ ((section(".idata"))) | ||
72 | #endif | ||
73 | ; | ||
74 | 71 | ||
75 | static int drawmode = DRMODE_SOLID; | 72 | static int drawmode = DRMODE_SOLID; |
76 | static int xmargin = 0; | 73 | static int xmargin = 0; |
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 379838d068..1a40a2535c 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c | |||
@@ -60,11 +60,7 @@ | |||
60 | 60 | ||
61 | /*** globals ***/ | 61 | /*** globals ***/ |
62 | 62 | ||
63 | unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH] | 63 | unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH] IDATA_ATTR; |
64 | #ifndef SIMULATOR | ||
65 | __attribute__ ((section(".idata"))) | ||
66 | #endif | ||
67 | ; | ||
68 | 64 | ||
69 | static int drawmode = DRMODE_SOLID; | 65 | static int drawmode = DRMODE_SOLID; |
70 | static int xmargin = 0; | 66 | static int xmargin = 0; |