RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

HAL_NVMemoryWrite

Hardware Abstraction Layer
HAL entry points from RISC OS
» HAL_NVMemoryWrite

HAL_NVMemoryWrite

(HAL entry #30)
int HAL_NVMemoryWrite(unsigned int addr, void *buffer, unsigned int n)
Entry
addr Address inside NVRAM to start writing to
buffer Buffer to transfer data from
n Number of bytes to write
Exit
- Returns the number of bytes successfully written.

Use

This is an internal call for OS use only and should not be used by user software.

Write n bytes of memory into address addr onwards from the buffer supplied. Returns the number of bytes successfully written. Under all normal circumstances the return value will be n – if it is not, a hardware failure is implied. Behaviour is undefined if the address range specified is outside the NVMemory. Writes inside the protected region should be ignored.

See also

  • HAL NVRAM API
Information source: Kernel.Docs.HAL.HAL_API in CVS
Revised on February 9, 2012 13:44:35 by Jeffrey Lee (213) (195.72.173.130)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: HAL entry points from RISC OS, HAL entry points by number, HAL NVRAM API

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
  • Export
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys