Showing changes from revision #2 to #3:
Added | Removed | Changed
Obsolete, can be deleted
void RISCOS_ReleasePhysicalAddress(void *old)
Entry | |
---|---|
old | State returned from a previous call to RISCOS_AccessPhysicalAddress |
MMU on | |
FIQs on | |
Re-entrant |
Call with the a value output from a previous RISCOS_AccessPhysicalAddress.
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);