We add a new method to set p->p_udata on platform basis
We allow the page switch code to be passed a death argument so that flat and
similar models can do a one way copy if they are copying store to direct
mapped and the existing direct map is dead
(It's a common case when you fork and execve. The child has to put the parent
back but there's no point saving the child as it's going to free and realloc
a mapping)
extern void platform_switchout(void);
extern void platform_interrupt(void);
extern uint8_t platform_suspend(void);
+extern void platform_udata_set(ptptr p);
extern void platform_swap_found(uint8_t part, uint8_t letter);
extern unsigned long kmemused(void);
/* flat.c */
-extern void pagemap_switch(ptptr p);
+extern void pagemap_switch(ptptr p, int death);
extern uaddr_t pagemap_base(void);
#define PROGLOAD pagemap_base()
extern uint32_t ugetl(void *uaddr, int *err);