This lets us change the trap# and the like if we make syscalls call the stub
handler, and also lets us put the signal unwinder somewhere useful
Experimenting for now
extern uint32_t ugetl(void *uaddr, int *err);
extern int uputl(uint32_t val, void *uaddr);
+extern void install_vdso(void);
#endif
/* Live udata and kernel stack */
u_block udata_block;
uint16_t irqstack[128]; /* Used for swapping only */
+
+/* This will belong in the core 68K code once finalized */
+
+void install_vdso(void)
+{
+ extern uint8_t *vdso;
+ /* Should be uput etc */
+ memcpy((void *)udata.u_codebase, vdso, 0x40);
+}