unsigned int HAL_NVMemorySize(void)
Entry | |
---|---|
- |
Exit | |
---|---|
- | Size of NVMemory, in bytes |
This is an internal call for OS use only and should not be used by user software.
Returns the number of bytes of non-volatile memory available. Bytes 0-15 should be included in the count, so for example a Philips PCF8583 CMOS/RTC device (as used in the Archimedes and Risc PC) would be described as a 256-byte device, with locations 0-15 not readable. More complex arrangements would have to be abstracted out by the HAL providing its own NVMemory access calls.
This is to suit the current RISC OS Kernel, which does not use bytes 0-15.