Universal microcode image
OwnerMark Murrayinventor
Life of this patent
Estimating the term…
Abstract
Systems and methods for creating universal microcode images and for reconstructing a microcode image from a universal microcode image are described in the present disclosure. One method, among others, comprises receiving a plurality of microcode images each configured to initialize hardware within an electronic device before the electronic device is booted up. The method also includes separating each microcode image into sections and comparing the sections to determine whether or not two or more sections contain identical code. The method also includes creating a universal microcode image from the sections that are unique.
Claims11
A microcode image managing system comprising:
- memory configured to store a plurality of microcode images, each microcode image comprising executable code and configuration information for initializing an electronic device before operation of the electronic device;
- a packing program stored in the memory, the packing program comprising packing software;
- and
- a processor configured to execute the packing software to create a universal microcode image from the plurality of microcode images and to create an index table;
- wherein the packing program separates each of the plurality of microcode images into sections, each section being defined by a length and a type wherein the packing program separates each of the plurality of microcode images into sections by locating section markers contained therein, wherein the section markers identify the boundaries between the sections;
- wherein the packing program comprises logic configured identify unique sections and identical sections in the sections of the plurality of microcode images, wherein identifying identical sections comprises searching through the sections of the plurality of microcode images to identify sections having same type and length, and performing a binary comparison of the sections of each of the plurality of microcode images having the same length and the same type to identify identical sections;
- wherein the packing program further comprising logic to create the universal microcode image by saving the unique sections and deleting all but one copy of identical sections;
- and
- wherein the index table includes a first list of unique sections contained in the universal microcode image, wherein the index table further includes string names correlating the sections in the first list with device configuration parameters, and wherein the index table further includes a second list of string names correlating the sections in the universal microcode which could be used to recreate a copy of each of the plurality of microcode images.
A method for creating a universal microcode image on an electronic device comprising the steps of:
- receiving a plurality of microcode images each configured to initialize hardware within the electronic device before the electronic device is booted up;
- separating each microcode image into sections, each section being defined by a length and a type, wherein separating each microcode image into sections comprises locating section markers contained therein, wherein the section markers identify the boundaries between the sections;
- identifying unique sections and identical sections in the sections of the plurality of microcode images, wherein identifying identical sections comprises comparing the sections to determine whether or not two or more sections contain identical code, wherein comparing the sections to determine whether or not two or more section contain identical code comprise searching through the sections of the plurality of microcode images to identify sections having same type and length, and performing a binary comparison of the sections of each of the sections having the same length and the same type;
- creating the universal microcode image from the sections that are unique, wherein creating the universal microcode image comprises saving the sections that are unique and deleting all but one copy of sections containing identical code;
- and
- creating an index table, the index table comprising string names correlating the sections with the microcode images, wherein the index table further comprising string names correlating the sections with device configuration parameters, and wherein the index table further includes a list of string names correlating the sections in the universal microcode which could be used to recreate a copy of each of the plurality of microcode images.
Dependencies are inferred from the claim text.