Skip to content

Commit

Permalink
Merge pull request #102 from jrgerber/3_5_1
Browse files Browse the repository at this point in the history
3.5.1 updates
  • Loading branch information
jrgerber committed Apr 5, 2022
2 parents 04918fd + 35394bf commit 1cd9111
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "smbios-lib"
version = "0.9.0"
version = "0.9.1"
authors = ["Jeffrey R. Gerber <jeffreygerber@gmail.com>", "Ante Čulo <dante2711@gmail.com>", "Juan Zuluaga <juzuluag@hotmail.com>"]
license-file = "LICENSE"
edition = "2018"
Expand Down
12 changes: 12 additions & 0 deletions src/structs/types/processor_information.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,8 @@ pub enum ProcessorFamily {
ARMv7,
/// ARMv8
ARMv8,
/// ARMv9
ARMv9,
/// SH-3
SH3,
/// SH-4
Expand Down Expand Up @@ -1214,6 +1216,7 @@ impl From<u16> for ProcessorFamily {
0xFE => ProcessorFamily::SeeProcessorFamily2,
0x100 => ProcessorFamily::ARMv7,
0x101 => ProcessorFamily::ARMv8,
0x102 => ProcessorFamily::ARMv9,
0x104 => ProcessorFamily::SH3,
0x105 => ProcessorFamily::SH4,
0x118 => ProcessorFamily::ARM,
Expand Down Expand Up @@ -1403,6 +1406,12 @@ pub enum ProcessorUpgrade {
SocketLGA1200,
/// Socket LGA4677
SocketLGA4677,
/// Socket LGA1700
SocketLGA1700,
/// Socket BGA1744
SocketBGA1744,
/// Socket BGA1781
SocketBGA1781,
/// A value unknown to this standard, check the raw value
None,
}
Expand Down Expand Up @@ -1474,6 +1483,9 @@ impl From<u8> for ProcessorUpgradeData {
0x3D => ProcessorUpgrade::SocketLGA4189,
0x3E => ProcessorUpgrade::SocketLGA1200,
0x3F => ProcessorUpgrade::SocketLGA4677,
0x40 => ProcessorUpgrade::SocketLGA1700,
0x41 => ProcessorUpgrade::SocketBGA1744,
0x42 => ProcessorUpgrade::SocketBGA1781,
_ => ProcessorUpgrade::None,
},
raw,
Expand Down

0 comments on commit 1cd9111

Please sign in to comment.