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/dev.h | |
parent | d1476974cd612412eefc40c6dc72ba66191136fd (diff) |
ACPI and config parsing
Diffstat (limited to 'src/loader/inc/dev.h')
-rw-r--r-- | src/loader/inc/dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/loader/inc/dev.h b/src/loader/inc/dev.h index 6fcbf25..9d9913e 100644 --- a/src/loader/inc/dev.h +++ b/src/loader/inc/dev.h @@ -25,6 +25,7 @@ struct dev { }; struct dev *dev_get(u8 id); +void dev_foreach(enum dev_type type, u8 (*cb)(struct dev *)); // cb=1 => break u8 dev_register(enum dev_type type, char *name, u32 data, s32 (*read)(void *, u32, u32, struct dev *), s32 (*write)(const void *, u32, u32, struct dev *)); |