OS/161 Reference Manual


zero - test if VM system zeros memory




zero checks if your VM system zeros memory like it's supposed to. It checks both the BSS segment ("uninitialized data"), which is supposed to be zeroed at program load time, and if you have implemented sbrk, it also checks that newly allocated pages acquired with sbrk are zeroed.

Failure to zero pages can cause other tests to blow up in complicated ways that are often much harder to diagnose.


zero uses the following system calls:

zero should run properly once the basic system calls are implemented.