Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176165424
D24300.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
423 B
Referenced Files
None
Subscribers
None
D24300.id.diff
View Options
Index: usr.sbin/bhyve/smbiostbl.c
===================================================================
--- usr.sbin/bhyve/smbiostbl.c
+++ usr.sbin/bhyve/smbiostbl.c
@@ -754,7 +754,7 @@
memcpy(smbios_ep->ianchor, SMBIOS_ENTRY_IANCHOR,
SMBIOS_ENTRY_IANCHORLEN);
smbios_ep->staddr = staddr;
- smbios_ep->bcdrev = 0x24;
+ smbios_ep->bcdrev = (smbios_ep->major & 0xf) << 4 | (smbios_ep->minor & 0xf);
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 17, 2:52 PM (12 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40954583
Default Alt Text
D24300.id.diff (423 B)
Attached To
Mode
D24300: Bhyve: SMBIOS bcdrev calculated from major/minor values
Attached
Detach File
Event Timeline
Log In to Comment