diff options
| author | Michael Brown | 2010-04-24 20:15:51 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-04-25 02:50:46 +0200 |
| commit | 58f6e553625c90d928ddd54b8f31634a5b26f05e (patch) | |
| tree | 6f454e053a5788834546e73de8a15deee218d816 /src/arch | |
| parent | [romprefix] Provide indication of successful call to install_prealloc (diff) | |
| download | ipxe-58f6e553625c90d928ddd54b8f31634a5b26f05e.tar.gz ipxe-58f6e553625c90d928ddd54b8f31634a5b26f05e.tar.xz ipxe-58f6e553625c90d928ddd54b8f31634a5b26f05e.zip | |
[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>
Diffstat (limited to 'src/arch')
| -rw-r--r-- | src/arch/i386/prefix/romprefix.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/i386/prefix/romprefix.S b/src/arch/i386/prefix/romprefix.S index 6c9b4b0f4..dc7c07447 100644 --- a/src/arch/i386/prefix/romprefix.S +++ b/src/arch/i386/prefix/romprefix.S @@ -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 */ |
