From owner-svn-src-projects@FreeBSD.ORG Mon Oct 7 18:59:30 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2FC22460; Mon, 7 Oct 2013 18:59:30 +0000 (UTC) (envelope-from mark@grondar.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7DB429AF; Mon, 7 Oct 2013 18:59:29 +0000 (UTC) Received: from [2001:470:9174:1:50fc:a600:2b5c:1c87] by gromit.grondar.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VTG1f-0006Iz-52; Mon, 07 Oct 2013 19:59:28 +0100 Subject: Re: svn commit: r256094 - in projects/random_number_generator/sys: boot/forth conf dev/random kern sys Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C95DCFAA-52C5-4091-BE54-065E4614A4C7"; protocol="application/pgp-signature"; micalg=pgp-sha512 From: Mark R V Murray In-Reply-To: <20131007185654.GB1430@garage.freebsd.pl> Date: Mon, 7 Oct 2013 19:59:26 +0100 Message-Id: <18A91E54-3B25-4E54-90F3-4E2F6B05DE90@grondar.org> References: <201310062245.r96Mj3mQ055614@svn.freebsd.org> <20131007185654.GB1430@garage.freebsd.pl> To: Pawel Jakub Dawidek X-Mailer: Apple Mail (2.1510) X-SA-Score: -1.0 Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org, Mark Murray X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2013 18:59:30 -0000 --Apple-Mail=_C95DCFAA-52C5-4091-BE54-065E4614A4C7 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 7 Oct 2013, at 19:56, Pawel Jakub Dawidek wrote: > On Sun, Oct 06, 2013 at 10:45:03PM +0000, Mark Murray wrote: >> +int randomdev_read_file(const char *filename, void *buf); >> +int randomdev_write_file(const char *filename, void *buf); > > Can we pass buffer sizes explicitely and not just assume it is PAGE_SIZE? I don't see why not. Right now, I need to find out why the read function (not yet got to write) is panicking with "page not present". M -- Mark R V Murray --Apple-Mail=_C95DCFAA-52C5-4091-BE54-065E4614A4C7 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: GPGTools - http://gpgtools.org iQCVAwUBUlMEjt58vKOKE6LNAQpf3gQAkAvWMQGBsAHvGWSs3gqcf2sEC2nAT0BT m5DK3pyM4M4b6Xa5xh87tWzfg1cRPJrHh3Qt5avYtmqAWSpzN/T2Od0Y7TEDUY4x NzpOqSZXFlxP1xQj/jkaCVZERLPqpb2C0GwfgcV5HpcIH5Zzt8EwxTmLBsSLp34+ UhU43pYzQ+M= =CVUd -----END PGP SIGNATURE----- --Apple-Mail=_C95DCFAA-52C5-4091-BE54-065E4614A4C7--