summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb/vga.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-09-12 08:38:13 +0000
committerjulian <julian@FreeBSD.org>2001-09-12 08:38:13 +0000
commit5596676e6c6c1e81e899cd0531f9b1c28a292669 (patch)
treeb1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/dev/fb/vga.c
parent83e00d4274950d2b531c24692cd123538ffbddb9 (diff)
downloadFreeBSD-src-5596676e6c6c1e81e899cd0531f9b1c28a292669.zip
FreeBSD-src-5596676e6c6c1e81e899cd0531f9b1c28a292669.tar.gz
KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
Diffstat (limited to 'sys/dev/fb/vga.c')
-rw-r--r--sys/dev/fb/vga.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c
index 838228b..19d6f1f 100644
--- a/sys/dev/fb/vga.c
+++ b/sys/dev/fb/vga.c
@@ -96,20 +96,20 @@ vga_attach_unit(int unit, vga_softc_t *sc, int flags)
#ifdef FB_INSTALL_CDEV
int
-vga_open(dev_t dev, vga_softc_t *sc, int flag, int mode, struct proc *p)
+vga_open(dev_t dev, vga_softc_t *sc, int flag, int mode, struct thread *td)
{
if (sc == NULL)
return ENXIO;
if (mode & (O_CREAT | O_APPEND | O_TRUNC))
return ENODEV;
- return genfbopen(&sc->gensc, sc->adp, flag, mode, p);
+ return genfbopen(&sc->gensc, sc->adp, flag, mode, td);
}
int
-vga_close(dev_t dev, vga_softc_t *sc, int flag, int mode, struct proc *p)
+vga_close(dev_t dev, vga_softc_t *sc, int flag, int mode, struct thread *td)
{
- return genfbclose(&sc->gensc, sc->adp, flag, mode, p);
+ return genfbclose(&sc->gensc, sc->adp, flag, mode, td);
}
int
@@ -126,9 +126,9 @@ vga_write(dev_t dev, vga_softc_t *sc, struct uio *uio, int flag)
int
vga_ioctl(dev_t dev, vga_softc_t *sc, u_long cmd, caddr_t arg, int flag,
- struct proc *p)
+ struct thread *td)
{
- return genfbioctl(&sc->gensc, sc->adp, cmd, arg, flag, p);
+ return genfbioctl(&sc->gensc, sc->adp, cmd, arg, flag, td);
}
int
OpenPOWER on IntegriCloud