From owner-cvs-src-old@FreeBSD.ORG Thu Aug 5 18:48:49 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D9241065673 for ; Thu, 5 Aug 2010 18:48:49 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4838FC08 for ; Thu, 5 Aug 2010 18:48:49 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o75Imnjv034120 for ; Thu, 5 Aug 2010 18:48:49 GMT (envelope-from jkim@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o75Imn9k034119 for cvs-src-old@freebsd.org; Thu, 5 Aug 2010 18:48:49 GMT (envelope-from jkim@repoman.freebsd.org) Message-Id: <201008051848.o75Imn9k034119@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jkim@repoman.freebsd.org using -f From: Jung-uk Kim Date: Thu, 5 Aug 2010 18:48:30 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/x86bios x86bios.c x86bios.h src/sys/i386/include vm86.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 18:48:49 -0000 jkim 2010-08-05 18:48:30 UTC FreeBSD src repository Modified files: sys/compat/x86bios x86bios.c x86bios.h sys/i386/include vm86.h Log: SVN rev 210877 on 2010-08-05 18:48:30Z by jkim Implement a simple native VM86 backend for X86BIOS. Now i386 uses native VM86 calls instead of the real mode emulator as a backend. VM86 has been proven reliable for very long time and it is actually few times faster than emulation. Increase maximum number of page table entries per VM86 context from 3 to 8 pages. It was (ridiculously) low and insufficient for new VM86 backend, which shares one context globally. Slighly rearrange and clean up the emulator backend to accommodate new code. The only visible change here is stack size, which is decreased from 64K to 4K bytes to sync. with VM86. Actually, it seems there is no need for big stack in real mode. MFC after: 1 month Revision Changes Path 1.19 +264 -74 src/sys/compat/x86bios/x86bios.c 1.7 +2 -2 src/sys/compat/x86bios/x86bios.h 1.18 +2 -1 src/sys/i386/include/vm86.h