aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/smbios
diff options
context:
space:
mode:
authorMarvin Borner2020-06-17 18:31:46 +0200
committerMarvin Borner2020-06-17 18:31:46 +0200
commiteed77bd2970a00d1394ed027ceca5b646e4671ce (patch)
treec44643d98aed2b6818f2b33417c0dea9c5853094 /src/kernel/smbios
parent49dfa1f4021026bf7c4d77817959c8aa24067016 (diff)
Started rewrite
Diffstat (limited to 'src/kernel/smbios')
-rw-r--r--src/kernel/smbios/smbios.c10
-rw-r--r--src/kernel/smbios/smbios.h27
2 files changed, 0 insertions, 37 deletions
diff --git a/src/kernel/smbios/smbios.c b/src/kernel/smbios/smbios.c
deleted file mode 100644
index 3089d29..0000000
--- a/src/kernel/smbios/smbios.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <multiboot.h>
-#include <smbios/smbios.h>
-#include <stddef.h>
-#include <system.h>
-
-void smbios_init(struct multiboot_tag_smbios *tag)
-{
- log("%s", ((struct smbios_0 *)tag->tables)->vendor);
- return;
-} \ No newline at end of file
diff --git a/src/kernel/smbios/smbios.h b/src/kernel/smbios/smbios.h
deleted file mode 100644
index 236761a..0000000
--- a/src/kernel/smbios/smbios.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef MELVIX_SMBIOS_H
-#define MELVIX_SMBIOS_H
-
-#include <multiboot.h>
-#include <stdint.h>
-
-struct smbios_0 {
- char *vendor;
- char *bios_version;
- u16 bios_start;
- char *bios_release_data;
- u8 bios_size;
- u64 bios_characteristics;
-};
-
-struct smbios_1 {
- char *manufacturer;
- char *product_name;
- char *version;
- char *serial_number;
- u8 uuid[16];
- u8 wakeup_type;
-};
-
-void smbios_init(struct multiboot_tag_smbios *tag);
-
-#endif \ No newline at end of file