From owner-cvs-src-old@FreeBSD.ORG Mon Mar 21 18:21:15 2011 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 8DB221065673 for ; Mon, 21 Mar 2011 18:21:15 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5ED468FC13 for ; Mon, 21 Mar 2011 18:21:15 +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 p2LILFg2078117 for ; Mon, 21 Mar 2011 18:21:15 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p2LILFJL078116 for cvs-src-old@freebsd.org; Mon, 21 Mar 2011 18:21:15 GMT (envelope-from marcel@repoman.freebsd.org) Message-Id: <201103211821.p2LILFJL078116@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marcel@repoman.freebsd.org using -f From: Marcel Moolenaar Date: Mon, 21 Mar 2011 18:20:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files.ia64 src/sys/ia64/ia64 efi.c machdep.c pal.S physical.S pmap.c support.S src/sys/ia64/include bootinfo.h efi.h pal.h vmparam.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: Mon, 21 Mar 2011 18:21:15 -0000 marcel 2011-03-21 18:20:53 UTC FreeBSD src repository Modified files: sys/conf files.ia64 sys/ia64/ia64 efi.c machdep.c pal.S pmap.c support.S sys/ia64/include bootinfo.h efi.h pal.h vmparam.h Added files: sys/ia64/ia64 physical.S Log: SVN rev 219841 on 2011-03-21 18:20:53Z by marcel Fix switching to physical mode as part of calling into EFI runtime services or PAL procedures. The new implementation is based on specific functions that are known to be called in certain scenarios only. This in particular fixes the PAL call to obtain information about translation registers. In general, the new implementation does not bank on virtual addresses being direct-mapped and will work when the kernel uses PBVM. When new scenarios need to be supported, new functions are added if the existing functions cannot be changed to handle the new scenario. If a single generic implementation is possible, it will become clear in due time. While here, change bootinfo to a pointer type in anticipation of future development. Revision Changes Path 1.107 +1 -0 src/sys/conf/files.ia64 1.10 +13 -16 src/sys/ia64/ia64/efi.c 1.270 +18 -18 src/sys/ia64/ia64/machdep.c 1.9 +0 -104 src/sys/ia64/ia64/pal.S 1.1 +258 -0 src/sys/ia64/ia64/physical.S (new) 1.227 +2 -2 src/sys/ia64/ia64/pmap.c 1.31 +0 -125 src/sys/ia64/ia64/support.S 1.10 +1 -1 src/sys/ia64/include/bootinfo.h 1.11 +8 -0 src/sys/ia64/include/efi.h 1.8 +2 -6 src/sys/ia64/include/pal.h 1.27 +2 -1 src/sys/ia64/include/vmparam.h