Abstract: The present invention provides efficient mechanisms for passing localized resources into an executed file. To pass those localized resource values into an executable program, the invention provides for iterating over a resource file, and identifying one or more of the resource references contained within the resource file. The invention also provides for generating one or more corresponding program classes that flexibly treat the identified resource as a function or a property, depending on how one such as a developer calls the generated class. Thus, a developer will only need to refer to the generated class, rather than write a specific routine for a given resource within the resource file. And since a developer passes the generated class as a constant, a developer is more likely to find program errors at compile time before sending out the final product.
Abstract: A method for updating platform firmware is disclosed. This capability is facilitated by a standard software abstraction for a firmware storage device, known as Firmware Volume (FV) that is managed through a Firmware File System (FFS). The FFS enables firmware files to be created, deleted, and updated individually. The FFS also enables a plurality of firmware files to be updated atomically by managing file state information via state bits stored in a file header of each firmware file, whereby an atomic change to a single state bit simultaneously causes the FFS to use an updated set of firmware files in place of an original set of firmware files.