US 7,565,521 B2
Method for managing memory space during system initialization
Fadi A. Mahmoud, Livermore, Calif. (US)
Assigned to Adaptec, Inc., Milpitas, Calif. (US)
Filed on May 09, 2007, as Appl. No. 11/801,650.
Application 11/801650 is a continuation of application No. 10/133812, filed on Apr. 24, 2002, granted, now 7,234,047.
Prior Publication US 2007/0220243 A1, Sep. 20, 2007
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 9/00 (2006.01); G06F 9/24 (2006.01); G06F 15/177 (2006.01)
U.S. Cl. 713—1 12 Claims
OG exemplary drawing
 
1. A method to optimize memory resources after loading of an initialization code and a runtime code into an Option ROM space, comprising:
determining if the memory resources are available to run a configuration code during an initialization process, wherein the memory resources include extended memory, conventional memory, and the Option ROM space wherein; and
if the extended memory, the conventional memory, and the Option ROM space are not available;
a) running a portion of the initialization code located in a swappable space of the Option ROM space,
b) copying the configuration code into the swappable space over the portion of the initialization code,
c) running the configuration code in the swappable space of the Option ROM space,
repeating operations b) and c) if additional configuration code is to be run, wherein, if the extended memory, the conventional memory, and the Option ROM space are available, the swappable space of the Option ROM space is not used for running the configuration code.