aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/smbios/smbios.h
diff options
context:
space:
mode:
authorMarvin Borner2020-03-18 17:32:50 +0100
committerMarvin Borner2020-03-18 17:32:50 +0100
commitf495cc1e93710c233292a503720ec235a61b685c (patch)
tree23b0b4b82b6d80001c1ffdb15f00b93cbdc65722 /src/kernel/smbios/smbios.h
parentc6657aac0c5d5ecf347bc082cb6df38e1174d297 (diff)
Applied official linux kernel code style guidelines
Due to my change to vim and the clang-format plugin this was needed!
Diffstat (limited to 'src/kernel/smbios/smbios.h')
-rw-r--r--src/kernel/smbios/smbios.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/kernel/smbios/smbios.h b/src/kernel/smbios/smbios.h
index 4814a17..204293b 100644
--- a/src/kernel/smbios/smbios.h
+++ b/src/kernel/smbios/smbios.h
@@ -2,44 +2,44 @@
#define MELVIX_SMBIOS_H
struct smbios_header {
- uint8_t type;
- uint8_t length;
- uint16_t handle;
+ uint8_t type;
+ uint8_t length;
+ uint16_t handle;
};
struct smbios_entry {
- int8_t signature[4];
- uint8_t checksum;
- uint8_t length;
- uint8_t major_version;
- uint8_t minor_version;
- uint8_t max_structure_size;
- int8_t entry_point_revision;
- int8_t formatted_area[5];
- int8_t entry_point_signature[5];
- uint8_t checksum2;
- uint16_t table_length;
- uint32_t table_address;
- uint16_t number_of_structures;
- uint8_t bcd_revision;
+ int8_t signature[4];
+ uint8_t checksum;
+ uint8_t length;
+ uint8_t major_version;
+ uint8_t minor_version;
+ uint8_t max_structure_size;
+ int8_t entry_point_revision;
+ int8_t formatted_area[5];
+ int8_t entry_point_signature[5];
+ uint8_t checksum2;
+ uint16_t table_length;
+ uint32_t table_address;
+ uint16_t number_of_structures;
+ uint8_t bcd_revision;
};
struct smbios_0 {
- char *vendor;
- char *bios_version;
- uint16_t bios_start;
- char *bios_release_data;
- uint8_t bios_size;
- uint64_t bios_characteristics;
+ char *vendor;
+ char *bios_version;
+ uint16_t bios_start;
+ char *bios_release_data;
+ uint8_t bios_size;
+ uint64_t bios_characteristics;
};
struct smbios_1 {
- char *manufacturer;
- char *product_name;
- char *version;
- char *serial_number;
- uint8_t uuid[16];
- uint8_t wakeup_type;
+ char *manufacturer;
+ char *product_name;
+ char *version;
+ char *serial_number;
+ uint8_t uuid[16];
+ uint8_t wakeup_type;
};
struct smbios_entry *get_smbios();