mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
1c935c08d4
commit
c8f22f5a8f
4 changed files with 4 additions and 4 deletions
|
|
@ -63,7 +63,7 @@
|
|||
#define I2C2_INT_CLR *((volatile unsigned int *)(I2C_AUDIO_BASE + 0x40))
|
||||
#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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ static long next_yield = 0;
|
|||
|
||||
static long sd_stack [(DEFAULT_STACK_SIZE*2 + 0x200)/sizeof(long)];
|
||||
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;
|
||||
#ifndef BOOTLOADER
|
||||
static bool sd_enabled = false;
|
||||
|
|
|
|||
|
|
@ -357,7 +357,7 @@ bool lcd_active(void)
|
|||
|
||||
/*** 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. */
|
||||
extern void lcd_write_yuv420_lines(unsigned char const * const src[3],
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
#define R_ENTRY_MODE_HORZ 0x7030
|
||||
#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_flipped = false;
|
||||
static int xoffset = 20; /* needed for flip */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue