mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[build] Generate random build identifier
Randomly generate a 32-bit build identifier that can be used to identify identical iPXE ROMs when multiple such ROMs are present in a system (e.g. when a multi-function NIC exposes the same iPXE ROM image via each function's expansion ROM BAR). Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -52,6 +52,9 @@ checksum:
|
||||
.long 0
|
||||
.previous
|
||||
|
||||
build_id:
|
||||
.long _build_id /* Randomly-generated build ID */
|
||||
|
||||
pciheader:
|
||||
.ascii "PCIR" /* Signature */
|
||||
.word pci_vendor_id /* Vendor identification */
|
||||
|
||||
Reference in New Issue
Block a user