From owner-cvs-all@FreeBSD.ORG Fri Jun 6 22:48:35 2003 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 D514F37B401; Fri, 6 Jun 2003 22:48:35 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5767C43F3F; Fri, 6 Jun 2003 22:48:35 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 3F3922A8C1; Fri, 6 Jun 2003 22:48:35 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: John Baldwin In-Reply-To: Date: Fri, 06 Jun 2003 22:48:35 -0700 From: Peter Wemm Message-Id: <20030607054835.3F3922A8C1@canning.wemm.org> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/pci pci_bus.c src/sys/i386/include legacyvar.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: Sat, 07 Jun 2003 05:48:36 -0000 John Baldwin wrote: > > On 06-Jun-2003 John Baldwin wrote: > > jhb 2003/06/06 10:56:30 PDT > > > > FreeBSD src repository > > > > Modified files: > > sys/i386/pci pci_bus.c > > sys/i386/include legacyvar.h > > Log: > > - Rename nexus_pcib to legacy_pcib. I've been meaning to do this for a Just as a general FYI, I'd welcome people taking their best guess at adapting sys/i386 commits to sys/amd64. There will NO fingers pointed at somebody for breaking something, so long as you dont mind somebody else jumping in and fixing it. As a general rule, things that are directly applicable include: - process management (machdep.c, vm_machdep.c etc) - MD drivers (/dev/mem, pmap (partly), etc) - acpica, pci, 8259 PIC, 8254 timer, isa bus code, etc. Things that are not connected at all: - amd64 doesn't have SMP support yet, so that means no #ifdef SMP or #ifdef APIC_IO to be translated yet. - no VM86 (not possible on a 64 bit kernel) - as a consequence of no VM86, no VESA bios, pnpbios, pcibios, etc stuff. - no APM (not possible on a 64 bit kernel since you cant make bios calls) - there are no COMPAT_OLDISA shims in any form. - locore.S - no segment registers, eg: no %gs handling at trap time etc. Generally there are a hell of a lot less #ifdefs in the amd64 tree, but a good deal of it is 1:1 comparable with i386. Many of the changes are due to different trapframe naming etc. eg: tf_rsp instead of tf_esp, and a whole bunch of new tf_r8-tf_r15 etc. Think of it as a cleaned up i386 port but 64 bit instead of 32 bit. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5