Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107128344
D28740.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D28740.diff
View Options
Index: sys/dev/smbios/smbios.c
===================================================================
--- sys/dev/smbios/smbios.c
+++ sys/dev/smbios/smbios.c
@@ -96,20 +96,28 @@
if (!device_is_alive(parent))
return;
+ if (resource_long_value("smbios3", 0, "mem", &addr) != 0) {
#if defined(__amd64__) || defined(__i386__)
- addr = bios_sigsearch(SMBIOS_START, SMBIOS3_SIG, SMBIOS3_LEN,
- SMBIOS_STEP, SMBIOS_OFF);
+ addr = bios_sigsearch(SMBIOS_START, SMBIOS3_SIG, SMBIOS3_LEN,
+ SMBIOS_STEP, SMBIOS_OFF);
+#else
+ addr = 0;
+#endif
+ }
if (addr != 0) {
eps_64bit = true;
} else {
eps_64bit = false;
- addr = bios_sigsearch(SMBIOS_START, SMBIOS_SIG, SMBIOS_LEN,
- SMBIOS_STEP, SMBIOS_OFF);
- }
+ if (resource_long_value("smbios", 0, "mem", &addr) != 0) {
+#if defined(__amd64__) || defined(__i386__)
+ addr = bios_sigsearch(SMBIOS_START, SMBIOS_SIG, SMBIOS_LEN,
+ SMBIOS_STEP, SMBIOS_OFF);
#else
- addr = 0;
+ addr = 0;
#endif
+ }
+ }
if (addr != 0) {
if (eps_64bit) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 1:41 PM (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15754299
Default Alt Text
D28740.diff (1 KB)
Attached To
Mode
D28740: smbios: Use loader provided address for SMBIOS entry point
Attached
Detach File
Event Timeline
Log In to Comment