From owner-cvs-src@FreeBSD.ORG Fri Jun 15 22:58:15 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22DF216A46D; Fri, 15 Jun 2007 22:58:15 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 14B8313C457; Fri, 15 Jun 2007 22:58:15 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5FMwEIq089559; Fri, 15 Jun 2007 22:58:14 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5FMwEfm089552; Fri, 15 Jun 2007 22:58:14 GMT (envelope-from peter) Message-Id: <200706152258.l5FMwEfm089552@repoman.freebsd.org> From: Peter Wemm Date: Fri, 15 Jun 2007 22:58:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/isa clock.c src/sys/amd64/isa clock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 22:58:15 -0000 peter 2007-06-15 22:58:14 UTC FreeBSD src repository Modified files: sys/i386/isa clock.c sys/amd64/isa clock.c Log: Prototype (but functional) Linux-ish /dev/nvram interface to the extra 114 bytes of cmos ram in the PC clock chip. The big difference between this and the Linux version is that we do not recalculate the checksums for bytes 16..31. We use this at work when cloning identical machines - we can copy the bios settings as well. Reading /dev/nvram gives 114 bytes of data but you can seek/read/write whichever bytes you like. Yes, this is a "foot, gun, fire!" type of device. Revision Changes Path 1.232 +99 -0 src/sys/amd64/isa/clock.c 1.237 +99 -0 src/sys/i386/isa/clock.c