On 2006-02-23 15:18, Pranav Sawargaonkar <[EMAIL PROTECTED]> wrote:
> I want to access cpu registers using KLD.How should i do that?
> My aim is to save current registers values on disk.
> Any documentation or code regrading this will also help me.

Are you sure something like this would be useful?  The registers change
so often and have so different values when running in kernel-mode (than
say, when a user process runs), that it would be pretty meaningless to
get their values even if you did manage to obtain them using a tiny,
special assembler function attached to a KLD.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to