exception handling in kernel code

Stanislav Sedov ssedov at mbsd.msk.ru
Mon Aug 14 19:13:21 UTC 2006


On Mon, 14 Aug 2006 11:15:22 -0700
John-Mark Gurney <gurney_j at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060814/5ac5adba/signature.pgp


More information about the freebsd-hackers mailing list