iPod 5G: Put lcd_update_rect function in IRAM - increases speed from 52fps to 54fps

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8708 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2006-02-16 21:15:05 +00:00
parent a4504bc276
commit 72ea4f38ba

View file

@ -131,7 +131,7 @@ static unsigned lcd_bcm_read32(unsigned address) {
return inw(0x30000000) | inw(0x30000000) << 16;
}
static void lcd_bcm_finishup(void) {
static inline void lcd_bcm_finishup(void) {
unsigned data;
outw(0x31, 0x30030000);
@ -148,6 +148,7 @@ static void lcd_bcm_finishup(void) {
}
/* Update a fraction of the display. */
void lcd_update_rect(int x, int y, int width, int height) ICODE_ATTR;
void lcd_update_rect(int x, int y, int width, int height)
{
int rect1,rect2,rect3,rect4;