Date: Mon, 14 Aug 2006 23:12:23 +0600 From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: John-Mark Gurney <gurney_j@resnet.uoregon.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: exception handling in kernel code Message-ID: <20060814231223.3c7f1930@localhost> In-Reply-To: <20060814181521.GQ99774@funkthat.com> References: <20060814124658.1d416cbe@localhost> <200608140932.57875.jhb@freebsd.org> <20060814194729.436fc453@localhost> <20060814181521.GQ99774@funkthat.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, 14 Aug 2006 11:15:22 -0700 John-Mark Gurney <gurney_j@resnet.uoregon.edu> mentioned: > > You should make a MD API for reading these out (if one doesn't already > exist) that handle the faulting for you, and then have your driver hook > into this api... > > I had to do something similar for accessing PCI config registers > that don't exist and cause a fault... > Do you know some examples to look at? The problem is that i can't make modifications in trap.c or anywhere else in src tree as such driver isn't likely to become a part of FreeBSD kernel. Thanks! -- Stanislav Sedov MBSD labs, Inc. <ssedov@mbsd.msk.ru> Россия, Москва http://mbsd.msk.ru -------------------------------------------------------------------- If the facts don't fit the theory, change the facts. -- A. Einstein -------------------------------------------------------------------- PGP fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFE4K75K/VZk+smlYERAlZEAJ0YlhhPsoGZUxrGE7wJfhxMnEcjzQCeJnes xSCxpVWFYx/HTKY9cZVYmUE= =W+ED -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060814231223.3c7f1930>
