Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

OZ has a smart feature that allow application to have up to 40K contiguous memory. Applications requesting such memory are called bad application, popdown are said ugly.

On reset, OZ reserve space for this purpose. It is called the swap area.

I’m actually writing a new low level API to allow access to the swap. The underlying idea is to provide large memory area for elf binaries. It has many advantages to the existing implementation.

  • memory is pushed to the limit in low memory condition

  • no more relocation is required

  • elf binary loading (PHT) is unlimited are more compliant to elf rules

OS_Swap is the new API with 2 reason call : SW_AL to allocate a contiguous memory area, SW_FR to free allocations and restore previous state. Swap area has been extended to 56K (1 more 16K bank).

  • No labels