Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
734a7120
Commit
734a7120
authored
Aug 05, 2020
by
Brendan Shanks
Committed by
Alexandre Julliard
Aug 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add additional fields to generated SMBIOS chassis info table.
Signed-off-by:
Brendan Shanks
<
bshanks@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d29c33a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
system.c
dlls/ntdll/unix/system.c
+10
-0
No files found.
dlls/ntdll/unix/system.c
View file @
734a7120
...
...
@@ -143,6 +143,11 @@ struct smbios_chassis
BYTE
power_supply_state
;
BYTE
thermal_state
;
BYTE
security_status
;
DWORD
oem_defined
;
BYTE
height
;
BYTE
num_power_cords
;
BYTE
num_contained_elements
;
BYTE
contained_element_rec_length
;
};
#include "poppack.h"
...
...
@@ -1393,6 +1398,11 @@ static NTSTATUS get_firmware_info( SYSTEM_FIRMWARE_TABLE_INFORMATION *sfti, ULON
chassis
->
power_supply_state
=
0x02
;
/* unknown */
chassis
->
thermal_state
=
0x02
;
/* unknown */
chassis
->
security_status
=
0x02
;
/* unknown */
chassis
->
oem_defined
=
0
;
chassis
->
height
=
0
;
/* undefined */
chassis
->
num_power_cords
=
0
;
/* unspecified */
chassis
->
num_contained_elements
=
0
;
chassis
->
contained_element_rec_length
=
3
;
buffer
+=
sizeof
(
struct
smbios_chassis
);
copy_smbios_string
(
&
buffer
,
chassis_vendor
,
chassis_vendor_len
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment