5 Jan 05:24
Patch for KVM86 support on MP kernels
From: Pierre Pronchery <khorben <at> defora.org>
Subject: Patch for KVM86 support on MP kernels
Newsgroups: gmane.os.netbsd.ports.i386
Date: 2007-01-05 04:28:21 GMT
Subject: Patch for KVM86 support on MP kernels
Newsgroups: gmane.os.netbsd.ports.i386
Date: 2007-01-05 04:28:21 GMT
Hi, I am probably not knowing what I am doing, but here is my humble attempt at allowing the framebuffer code to compile (and hopefully work) on MP machines. I got the inspiration from an earlier unanswered post by Eric Auge [1], and the current equivalent in OpenBSD [2]. They say there are probably still problems. [1] http://mail-index.netbsd.org/netbsd-users/2006/12/01/0000.html [2] http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/i386/kvm86.c I did not test that code, nor could 100% check that the code is otherwise equivalent to the version from OpenBSD. HTH, -- -- khorben
Index: kvm86.c =================================================================== RCS file: /cvsroot/src/sys/arch/i386/i386/kvm86.c,v retrieving revision 1.10 diff -u -r1.10 kvm86.c --- kvm86.c 26 Dec 2005 19:23:59 -0000 1.10 +++ kvm86.c 5 Jan 2007 04:15:03 -0000 @@ -36,6 +36,7 @@ #include <sys/proc.h> #include <sys/user.h> #include <sys/malloc.h>(Continue reading)
RSS Feed