diff options
author | Keith Packard <keithp@keithp.com> | 2011-07-06 15:52:25 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-06 15:52:25 -0700 |
commit | b65140a0139075adeddaccf0f4d5c7a75fac4757 (patch) | |
tree | f28af9331c7ff90b604532bab473ffc3e5216a87 /src/ao.h | |
parent | 038d7b25ba833da4be458409670d3f95e8aaf17b (diff) |
altos: Switch flash drivers __xdata to __pdata
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r-- | src/ao.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -464,16 +464,16 @@ ao_mutex_put(__xdata uint8_t *ao_mutex) __reentrant; */ /* Total bytes of available storage */ -extern __xdata uint32_t ao_storage_total; +extern __pdata uint32_t ao_storage_total; /* Block size - device is erased in these units. At least 256 bytes */ -extern __xdata uint32_t ao_storage_block; +extern __pdata uint32_t ao_storage_block; /* Byte offset of config block. Will be ao_storage_block bytes long */ -extern __xdata uint32_t ao_storage_config; +extern __pdata uint32_t ao_storage_config; /* Storage unit size - device reads and writes must be within blocks of this size. Usually 256 bytes. */ -extern __xdata uint16_t ao_storage_unit; +extern __pdata uint16_t ao_storage_unit; #define AO_STORAGE_ERASE_LOG (ao_storage_config + AO_CONFIG_MAX_SIZE) |