Entry | |
---|---|
R0 | 14 (&0E), and flag |
R1 | Physical address to map in |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Logical address assigned |
R3 | Reference key (required when releasing) |
The purpose of this call is to temporarily map in One Megabyte of IO memory at run-time.
If multiple 1 Megabyte chunks are required keep calling this until done, when ready to release it is only necessary to release the first reference key – the kernel will then free the rest for you.
Use OS_Memory 15 to map out a region of IO memory.