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 plurality of hardware components; 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; receiving, by a diagnosis engine executing on an operating system of the computer system, an error report from the firmware; identifying, by the diagnosis engine, an error class from the error report; identifying a fault management resource identifier from the error report, wherein the fault management resource identifier explicitly identifies a location of a detector that detected the error with respect to a board comprising the detector; and processing the error report using the error class and the fault management resource identifier.