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

RISCOS_ReleasePhysicalAddress

Hardware Abstraction Layer
» RISC OS entry points from HAL
» RISCOS_ReleasePhysicalAddress

RISCOS_ReleasePhysicalAddress

(OS entry #??)
void RISCOS_ReleasePhysicalAddress(void *old)
Entry
old State returned from a previous call to RISCOS_AccessPhysicalAddress
MMU on
FIQs on
Re-entrant

Use

Call with the a value output from a previous RISCOS_AccessPhysicalAddress.

Example

void *old;
unsigned int *addr = (unsigned int *) 0x80005000;
unsigned int *addr2 = (unsigned int *) 0x90005000;

addr = (unsigned int *) RISCOS_AccessPhysicalAddress(addr, &old);
addr[0] = 3; addr[1] = 5;

addr2 = (unsigned int *) RISCOS_AccessPhysicalAddress(addr2, NULL);
*addr2 = 7;

RISCOS_ReleasePhysicalAddress(old);
Information sources: Kernel.Docs.HAL.HAL_API, Kernel.hdr.OSEntries in CVS
Revised on July 25, 2009 21:34:25 by Jeffrey Lee (213) (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: RISC OS entry points from HAL, RISCOS_AccessPhysicalAddress, HAL TODO

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