forked from len0rd/rockbox
Correct IRAM attributes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9310 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a8c1fb55a4
commit
e6876736d5
1 changed files with 4 additions and 4 deletions
|
|
@ -76,7 +76,7 @@ print "$str\n};\n";
|
|||
*****************************************************/
|
||||
|
||||
/* Lookup tables for 16->18bit conversion */
|
||||
const short high8to9[] = {
|
||||
const short high8to9[] ICONST_ATTR = {
|
||||
0x000, 0x001, 0x002, 0x003, 0x004, 0x005, 0x006, 0x007, 0x010, 0x011, 0x012,
|
||||
0x013, 0x014, 0x015, 0x016, 0x017, 0x020, 0x021, 0x022, 0x023, 0x024, 0x025,
|
||||
0x026, 0x027, 0x030, 0x031, 0x032, 0x033, 0x034, 0x035, 0x036, 0x037, 0x040,
|
||||
|
|
@ -101,8 +101,8 @@ const short high8to9[] = {
|
|||
0x1c7, 0x1d0, 0x1d1, 0x1d2, 0x1d3, 0x1d4, 0x1d5, 0x1d6, 0x1d7, 0x1e0, 0x1e1,
|
||||
0x1e2, 0x1e3, 0x1e4, 0x1e5, 0x1e6, 0x1e7, 0x1f0, 0x1f1, 0x1f2, 0x1f3, 0x1f4,
|
||||
0x1f5, 0x1f6, 0x1f7,
|
||||
} ICONST_ATTR;
|
||||
const short low8to9[] = {
|
||||
};
|
||||
const short low8to9[] ICONST_ATTR = {
|
||||
0x000, 0x002, 0x004, 0x006, 0x008, 0x00a, 0x00c, 0x00e, 0x010, 0x012, 0x014,
|
||||
0x016, 0x018, 0x01a, 0x01c, 0x01e, 0x020, 0x022, 0x024, 0x026, 0x028, 0x02a,
|
||||
0x02c, 0x02e, 0x030, 0x032, 0x034, 0x036, 0x038, 0x03a, 0x03c, 0x03e, 0x040,
|
||||
|
|
@ -127,7 +127,7 @@ const short low8to9[] = {
|
|||
0x1ce, 0x1d0, 0x1d2, 0x1d4, 0x1d6, 0x1d8, 0x1da, 0x1dc, 0x1de, 0x1e0, 0x1e2,
|
||||
0x1e4, 0x1e6, 0x1e8, 0x1ea, 0x1ec, 0x1ee, 0x1f0, 0x1f2, 0x1f4, 0x1f6, 0x1f8,
|
||||
0x1fa, 0x1fc, 0x1fe,
|
||||
} ICONST_ATTR;
|
||||
};
|
||||
|
||||
/* called very frequently - inline! */
|
||||
inline void lcd_write_reg(int reg, int val)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue