diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 06:04:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 06:04:30 +0000 |
commit | 1db4a86ff60f68e8f1bd84ca84d7e2536d0b333e (patch) | |
tree | 5e263d5634219c15fbf9b333c49b7f5ddfc7d74f /sys/arch/i386/isa/pcvt/pcvt_drv.c | |
parent | e93cc51fa192019968437d7a2333e9004e271cb2 (diff) |
from netbsd; Make sure vt_coldinit() is called before vt_coldmalloc()
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_drv.c')
-rw-r--r-- | sys/arch/i386/isa/pcvt/pcvt_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_drv.c b/sys/arch/i386/isa/pcvt/pcvt_drv.c index fe7af81895c..d6aa3e27d81 100644 --- a/sys/arch/i386/isa/pcvt/pcvt_drv.c +++ b/sys/arch/i386/isa/pcvt/pcvt_drv.c @@ -159,6 +159,9 @@ pcattach(struct isa_device *dev) int i; + if(do_initialization) + vt_coldinit(); + vt_coldmalloc(); /* allocate memory for screens */ #if PCVT_NETBSD || PCVT_FREEBSD |