diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-01 22:35:26 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-01 22:35:26 -0500 |
commit | 1d69a46f5d9823bbf2e6211ca367b409d2d5f7a7 (patch) | |
tree | a49a5498080551270a827a205cde49477d4d89ff /src/kernel/util.h | |
parent | 6f1b50a4cc6c232ee505a543f006abb1c6cd33cf (diff) | |
download | portland-os-1d69a46f5d9823bbf2e6211ca367b409d2d5f7a7.tar.gz |
minimal file writing, shutdown keybinding (Win+Shift+Q)
Diffstat (limited to 'src/kernel/util.h')
-rw-r--r-- | src/kernel/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/util.h b/src/kernel/util.h index c5b784a..2500904 100644 --- a/src/kernel/util.h +++ b/src/kernel/util.h @@ -43,6 +43,7 @@ static inline uint32_t ind(uint16_t port) { void memcpy(void *to, const void *from, uint32_t n); void fmcpy(void *to, const struct drive *d, file_id_t f, uint32_t from, uint32_t n); +void mfcpy(const struct drive *d, file_id_t f, uint32_t to, const void *from, uint32_t n); uint8_t u32_dec(uint32_t n, char *b); uint8_t u16_dec(uint16_t n, char *b); |