From 1d69a46f5d9823bbf2e6211ca367b409d2d5f7a7 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 1 Mar 2021 22:35:26 -0500 Subject: minimal file writing, shutdown keybinding (Win+Shift+Q) --- src/kernel/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/util.h') 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); -- cgit v1.2.3