Preventing out-of-space errors for legacy option ROM in a computing system
View Patent ↗Preventing out-of-space errors for legacy option ROM in a computing system, including: iteratively for each option ROM in the computing system: loading, into an option ROM memory, the option ROM; executing, from the option ROM memory, the option ROM; and removing, from the option ROM memory, the option ROM.
1. A method comprising:
loading, into the option ROM memory, option ROMs needed by other option ROMs in the computing system prior to loading any of the other option ROMs, including identifying the option ROMs needed by the other option ROMs in the computing system;
executing, from the option ROM memory, the option ROMs needed by the other option ROMs prior to executing any of the other option ROMs; and
iteratively for each option ROM in the computing system:
loading, into the option ROM memory, the option ROM;
executing, from the option ROM memory, the option ROM; and
removing, from the option ROM memory, the option ROM.
2. The method of claim 1 further comprising:
loading, into the option ROM memory, a video option ROM; and
executing, from the option ROM memory, the video option ROM.
3. The method of claim 2 further comprising determining whether the video option ROM and the option ROMs needed by other option ROMs executed successfully; and
responsive to determining that the video option ROM and the option ROMs needed by other option ROMs were not executed successfully, removing, from the option ROM memory, the option ROMs needed by other option ROMs.
4. The method of claim 1 wherein the option ROMS are loaded, executed, and removed according to a predetermined order.
5. The method of claim 1 wherein the option ROM memory includes the C and D segments of main memory.
6. The method of claim 1 wherein the option ROM memory includes scratch memory.