1. A method for fault management, comprising: generating, in firmware of a computer system, a physical resource inventory (PRI) of a plurality of hardware components of the computer system, wherein the PRI defines a hierarchy of the hardware components; and traversing, by an enumerator executing in a fault manager, the PRI to generate a topology of the plurality of hardware components, wherein the topology is used for fault management of the computer system.