projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Remove 8051 address space specifiers
[fw/altos]
/
src
/
stmf0
/
ao_storage_stm.c
diff --git
a/src/stmf0/ao_storage_stm.c
b/src/stmf0/ao_storage_stm.c
index 1a6198a79308cd66808629ec999521113ed3c2b6..17c934a53e5b4a06f3ec9b45c523a55c5bf5191c 100644
(file)
--- a/
src/stmf0/ao_storage_stm.c
+++ b/
src/stmf0/ao_storage_stm.c
@@
-157,7
+157,7
@@
ao_storage_device_write(uint32_t pos, void *v, uint16_t len)
}
uint8_t
}
uint8_t
-ao_storage_device_read(uint32_t pos,
__xdata void *d, uint16_t len) __reentrant
+ao_storage_device_read(uint32_t pos,
void *d, uint16_t len)
{
if (pos >= ao_storage_total || pos + len > ao_storage_total)
return 0;
{
if (pos >= ao_storage_total || pos + len > ao_storage_total)
return 0;
@@
-166,7
+166,7
@@
ao_storage_device_read(uint32_t pos, __xdata void *d, uint16_t len) __reentrant
}
void
}
void
-ao_storage_flush(void)
__reentrant
+ao_storage_flush(void)
{
}
{
}
@@
-179,7
+179,7
@@
ao_storage_setup(void)
}
void
}
void
-ao_storage_device_info(void)
__reentrant
+ao_storage_device_info(void)
{
printf ("Using internal flash, page %d bytes, total %d bytes\n",
ao_storage_block, ao_storage_total);
{
printf ("Using internal flash, page %d bytes, total %d bytes\n",
ao_storage_block, ao_storage_total);