diff options
author | Marvin Borner | 2021-07-05 23:22:24 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-05 23:27:40 +0200 |
commit | 23aa6f84539ba320a91235fb81681d0754178f62 (patch) | |
tree | 972b0a4abc41900538bda23f4ac2145abf94e369 /src/loader/inc/cfg.h | |
parent | d1476974cd612412eefc40c6dc72ba66191136fd (diff) |
ACPI and config parsing
Diffstat (limited to 'src/loader/inc/cfg.h')
-rw-r--r-- | src/loader/inc/cfg.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/loader/inc/cfg.h b/src/loader/inc/cfg.h new file mode 100644 index 0000000..a214db2 --- /dev/null +++ b/src/loader/inc/cfg.h @@ -0,0 +1,22 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +#ifndef CFG_H +#define CFG_H + +#include <def.h> + +// Global config element index (can actually be anything but wth) +#define CFG_GLOBAL 0 + +enum cfg_key { + CFG_NONE, + CFG_NAME, + CFG_TIMEOUT, + CFG_PATH, +}; + +const void *cfg_get(u8 index, enum cfg_key key); +void cfg_exec(void); +void cfg_print(void); + +#endif |