An apparatus and method are described for identifying uncommitted memory
in a system RAM during an initialization process of a computer system,
such as a boot procedure or power-on self test, during which memory
management is uncontrolled. In various embodiments of the invention,
repeating patterns that are indicative of uncommitted memory blocks are
identified within a conventional memory area of the system RAM. At least
some of the uncommitted memory blocks are allocated for use by an option
ROM or other BIOS data and a table is created identifying these
uncommitted memory blocks. After the BIOS code exits the system RAM, the
table is used to restore the uncommitted memory blocks into their
previous data states.