extern time_t tod; /* Time of day */
extern clock_t ticks; /* Cumulative tick counter, in minutes and ticks */
-extern char *swapbase; /* Used by device driver for swapping */
+extern uint8_t *swapbase; /* Used by device driver for swapping */
extern unsigned swapcnt;
extern blkno_t swapblk;
#endif
-char *swapbase;
+uint8_t *swapbase;
unsigned int swapcnt;
blkno_t swapblk;
ptptr swapproc; /* Target process space */
#ifdef UDATA_SWAPSIZE
ptr = swapin_prepare_uarea(p);
if (ptr)
- swapread(SWAPDEV, blk, UDATA_SWAPSIZE, (char *) &udata);
+ swapread(SWAPDEV, blk, UDATA_SWAPSIZE, (uint8_t *) &udata);
#endif
#ifdef DEBUG
kprintf("%x: swapin done %d\n", p, p->p_page);