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) |
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"; /* Codec thread. */ static struct event_queue codec_queue; -static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] -#ifndef SIMULATOR -__attribute__ ((section(".idata"))) -#endif -; +static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] IDATA_ATTR; static const char codec_thread_name[] = "codec"; 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 @@ /*** globals ***/ unsigned char lcd_remote_framebuffer[LCD_REMOTE_HEIGHT/8][LCD_REMOTE_WIDTH] -#ifndef SIMULATOR - __attribute__ ((section(".idata"))) -#endif - ; + IDATA_ATTR; static int drawmode = DRMODE_SOLID; 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 @@ /*** globals ***/ -unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH] -#ifndef SIMULATOR - __attribute__ ((section(".idata"))) -#endif - ; +unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH] IDATA_ATTR; static int drawmode = DRMODE_SOLID; static int xmargin = 0; |