Verified Commit 79c581a5 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

0.1.5 - restore accidentally removed ProcessorInfo

parent 5128b87e
name = "redox_dmi"
version = "0.1.4"
version = "0.1.5"
edition = "2018"
description = "DMI table parser"
license = "MIT"
......@@ -143,6 +143,36 @@ pub struct ChassisInfo {
unsafe impl Plain for ChassisInfo {}
#[derive(Default, Debug)]
pub struct ProcessorInfo {
pub socket_designation: u8,
pub processor_kind: u8,
pub processor_family: u8,
pub processor_manufacturer: u8,
pub processor_id: u64,
pub processor_version: u8,
pub voltage: u8,
pub external_clock: u16,
pub max_speed: u16,
pub current_speed: u16,
pub status: u8,
pub processor_upgrade: u8,
pub l1_cache_handle: u16,
pub l2_cache_handle: u16,
pub l3_cache_handle: u16,
pub serial_number: u8,
pub asset_tag: u8,
pub part_number: u8,
pub core_count: u8,
pub core_enabled: u8,
pub thread_count: u8,
pub processor_characteristics: u16,
pub processor_family_2: u16,
unsafe impl Plain for ProcessorInfo {}
#[derive(Default, Debug)]
pub struct MemoryDevice {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment