From: Alan Cox Date: Thu, 19 Feb 2015 23:04:49 +0000 (+0000) Subject: kernel.h: swapmap prototypes X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0f33b4474c98b0db51c6178edd625c6b40bff73a;p=FUZIX.git kernel.h: swapmap prototypes --- diff --git a/Kernel/include/kernel.h b/Kernel/include/kernel.h index 6b9b24a4..a5f623f6 100644 --- a/Kernel/include/kernel.h +++ b/Kernel/include/kernel.h @@ -743,6 +743,7 @@ extern int swapwrite(uint16_t dev, blkno_t blkno, unsigned int nbytes, uint8_t *buf); extern void swapmap_add(uint8_t swap); +extern int swapmap_alloc(void); extern ptptr swapneeded(ptptr p, int selfok); extern void swapper(ptptr p); extern int swapout(ptptr p);