Deleted Added
full compact
37a38
> #include <sys/fbio.h>
39,40d39
< #include <machine/console.h>
<
54c53,54
< static int (*splash_callback)(int);
---
> static int (*splash_callback)(int, void *);
> static void *splash_arg;
101c101
< (*splash_callback)(SPLASH_INIT);
---
> (*splash_callback)(SPLASH_INIT, splash_arg);
162c162
< splash_init(video_adapter_t *adp, int (*callback)(int))
---
> splash_init(video_adapter_t *adp, int (*callback)(int, void *), void *arg)
167a168
> splash_arg = arg;
189a191,192
> if (splash_adp != adp)
> return EINVAL;
192c195
< error = (*splash_callback)(SPLASH_TERM);
---
> error = (*splash_callback)(SPLASH_TERM, splash_arg);