[Return to Top] [Standard Processes]

EROS Object Reference

Standard Processes

Fresh Address Space

D R A F T

Description

Sorry. This is a placeholder page.

Operations

The Fresh Address Space implements all of the operations supported by the virtual copy space.

Note that the indicated results are returned by the keeper if the address space is callable.

Check Alleged Key Type (OC = KT)
Make Read Only Key (OC = 1)
Make Don't-Call Key (OC = 2)
Make Read Only, Don't-Call Key (OC = 3)

Implemented as per the description given in the Address Space Key page.

Return Unused Pages (OC = 16)

This operation returns to the space bank any pages that follow the last nonzero byte, and returns to the caller the address space offset of the the last nonzero byte plus one (i.e. the length of the content including the last nonzero byte).
ReplyNThe offset of the last nonzero byte plus one.
ResultRC_OKOperation completed successfully.

Truncate (OC = 17)

Set all bytes in the address space beginning at the passed offset to zero.
RequestW|L|NThe address from which bytes should be zeroed. The address may be a word or longword quantity, in which case the offset is zero-extended.
ResultRC_OKOperation completed successfully.

Create Sibling Address Space (OC = 32)

blah blah blah description
RequestSK0A start key to a space bank from which the new address space's pages should be allocated.
ReplyRK0A fresh address space key sharing the same address space keeper as the original.
ResultRC_OKOperation completed successfully.

Destroy (OC = KT+4)

Destroy the address space and it's associated address space keeper.


Copyright 1998 by Jonathan Shapiro. All rights reserved. For terms of redistribution, see the GNU General Public License