diff options
author | Marvin Borner | 2020-05-06 19:04:05 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-06 19:04:05 +0200 |
commit | d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 (patch) | |
tree | 559cd596a0a407d4b40c1d12d3c6a0686494da16 /src/kernel/smbios | |
parent | 1a8563a05608b5b5e27eada44cf4790926001c68 (diff) |
New build parameters and shared includes
This changes many files but I've just applied some replace commands.. So
- nothing special!
Diffstat (limited to 'src/kernel/smbios')
-rw-r--r-- | src/kernel/smbios/smbios.c | 6 | ||||
-rw-r--r-- | src/kernel/smbios/smbios.h | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/kernel/smbios/smbios.c b/src/kernel/smbios/smbios.c index b99f83b..7b275eb 100644 --- a/src/kernel/smbios/smbios.c +++ b/src/kernel/smbios/smbios.c @@ -1,7 +1,7 @@ #include <stddef.h> -#include <kernel/multiboot.h> -#include <kernel/system.h> -#include <kernel/smbios/smbios.h> +#include <multiboot.h> +#include <system.h> +#include <smbios/smbios.h> void smbios_init(struct multiboot_tag_smbios *tag) { diff --git a/src/kernel/smbios/smbios.h b/src/kernel/smbios/smbios.h index c6ce0d5..0df4b6d 100644 --- a/src/kernel/smbios/smbios.h +++ b/src/kernel/smbios/smbios.h @@ -2,15 +2,15 @@ #define MELVIX_SMBIOS_H #include <stdint.h> -#include <kernel/multiboot.h> +#include <multiboot.h> struct smbios_0 { char *vendor; char *bios_version; - uint16_t bios_start; + u16 bios_start; char *bios_release_data; - uint8_t bios_size; - uint64_t bios_characteristics; + u8 bios_size; + u64 bios_characteristics; }; struct smbios_1 { @@ -18,8 +18,8 @@ struct smbios_1 { char *product_name; char *version; char *serial_number; - uint8_t uuid[16]; - uint8_t wakeup_type; + u8 uuid[16]; + u8 wakeup_type; }; void smbios_init(struct multiboot_tag_smbios *tag); |