From owner-cvs-all@FreeBSD.ORG Tue Apr 26 21:20:20 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7E8D16A4CE; Tue, 26 Apr 2005 21:20:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 981ED43D1F; Tue, 26 Apr 2005 21:20:20 +0000 (GMT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3QLKKVD048014; Tue, 26 Apr 2005 21:20:20 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3QLKKhg048013; Tue, 26 Apr 2005 21:20:20 GMT (envelope-from peter) Message-Id: <200504262120.j3QLKKhg048013@repoman.freebsd.org> From: Peter Wemm Date: Tue, 26 Apr 2005 21:20:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/i386/i386 genassym.c machdep.c mp_machdep.c swtch.s sys_machdep.c src/sys/i386/include pcb.h pcpu.h segments.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 21:20:20 -0000 peter 2005-04-26 21:20:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/i386/i386 genassym.c machdep.c mp_machdep.c swtch.s sys_machdep.c sys/i386/include pcb.h pcpu.h segments.h Log: Partial MFC: implement kernel side of i386_set_gsbase(2) and friends. Add symbol to tell NDIS which slot to use. Notable differences to -current: * gdt renumber not merged * user %cs/%ds still live in the ldt. * NDIS_SEL defined to same value as ndis code had hardcoded(!). We could have libc and rtld switch to using this as the primary API to implement TLS and avoid having a custom LDT for every process. Revision Changes Path 1.148.2.3 +2 -0 src/sys/i386/i386/genassym.c 1.597.2.7 +27 -18 src/sys/i386/i386/machdep.c 1.235.2.7 +2 -0 src/sys/i386/i386/mp_machdep.c 1.147.2.1 +14 -2 src/sys/i386/i386/swtch.s 1.92.2.2 +64 -0 src/sys/i386/i386/sys_machdep.c 1.52.2.2 +2 -0 src/sys/i386/include/pcb.h 1.42.2.1 +2 -1 src/sys/i386/include/pcpu.h 1.37.2.1 +4 -2 src/sys/i386/include/segments.h