Sansa AMS : don't use the SHAREDBSS_ATTR since we don't have a coprocessor

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21171 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-06-02 22:45:02 +00:00
parent 1c935c08d4
commit c8f22f5a8f
4 changed files with 4 additions and 4 deletions

View file

@ -63,7 +63,7 @@
#define I2C2_INT_CLR *((volatile unsigned int *)(I2C_AUDIO_BASE + 0x40)) #define I2C2_INT_CLR *((volatile unsigned int *)(I2C_AUDIO_BASE + 0x40))
#define I2C2_SADDR *((volatile unsigned int *)(I2C_AUDIO_BASE + 0x44)) #define I2C2_SADDR *((volatile unsigned int *)(I2C_AUDIO_BASE + 0x44))
static struct mutex as_mtx SHAREDBSS_ATTR; static struct mutex as_mtx;
void i2c_init(void) void i2c_init(void)
{ {

View file

@ -106,7 +106,7 @@ static long next_yield = 0;
static long sd_stack [(DEFAULT_STACK_SIZE*2 + 0x200)/sizeof(long)]; static long sd_stack [(DEFAULT_STACK_SIZE*2 + 0x200)/sizeof(long)];
static const char sd_thread_name[] = "ata/sd"; static const char sd_thread_name[] = "ata/sd";
static struct mutex sd_mtx SHAREDBSS_ATTR; static struct mutex sd_mtx;
static struct event_queue sd_queue; static struct event_queue sd_queue;
#ifndef BOOTLOADER #ifndef BOOTLOADER
static bool sd_enabled = false; static bool sd_enabled = false;

View file

@ -357,7 +357,7 @@ bool lcd_active(void)
/*** update functions ***/ /*** update functions ***/
static unsigned lcd_yuv_options SHAREDBSS_ATTR = 0; static unsigned lcd_yuv_options = 0;
/* Line write helper function for lcd_yuv_blit. Write two lines of yuv420. */ /* Line write helper function for lcd_yuv_blit. Write two lines of yuv420. */
extern void lcd_write_yuv420_lines(unsigned char const * const src[3], extern void lcd_write_yuv420_lines(unsigned char const * const src[3],

View file

@ -39,7 +39,7 @@
#define R_ENTRY_MODE_HORZ 0x7030 #define R_ENTRY_MODE_HORZ 0x7030
#define R_ENTRY_MODE_VERT 0x7038 #define R_ENTRY_MODE_VERT 0x7038
static unsigned lcd_yuv_options SHAREDBSS_ATTR = 0; static unsigned lcd_yuv_options = 0;
static bool display_on = false; /* is the display turned on? */ static bool display_on = false; /* is the display turned on? */
static bool display_flipped = false; static bool display_flipped = false;
static int xoffset = 20; /* needed for flip */ static int xoffset = 20; /* needed for flip */