h6. [[OS_DynamicArea]] h6(. » OS_DynamicArea 25 h2. OS_DynamicArea 25 h5. (SWI &66) |_<^{width:3em}. Entry | | |<^. R0 |<^. 25 (reason code) | |<^. R1 |<^. Area number | |<^. R2 |<^. Pointer to input/output page list | |<^. R3 |<^. Number of entries in page list | |_<^{width:3em}. Exit | | |/2<^. - |<^. All registers preserved | |<^. Page list updated | h4. Use This call is used to query the status of pages within a [[Physical Memory Pool]]. h4. Notes Each entry in the page list is 16 bytes in length, structured as follows: |_<^{width:3em}. Word | | |<^. 0 |<^. PMP page index | |<^. 1 |<^. Physical page number | |<^. 2 |<^. Dynamic area page number | |/4<^. 3 |<^. Page flags: | |<^. Bits 0-5, 12-14: As per [[Memory Page Access Flags]] | |<^. Bit 15: Page is locked to prevent it from being claimed by another dynamic area | |<^. Other bits: Reserved | On entry, for each array entry either the PMP page index, phys page number, or DA page number must be provided, with the other page numbers set to -1. Page flags are ignored. On exit, if the page is a member of the PMP, the entries will be filled in as appropriate. If the page isn't mapped in (and it was a lookup by PMP page index/phys page number) the DA page index will be set to -1. If no physical page is allocated (or the indicated page isn't a member of the PMP) the page flags will be set to 0. h4. See also * [[OS_DynamicArea]] * [[Physical Memory Pool]]