On Thu, Jul 5, 2012 at 4:25 AM, Flost.D.Li <havefan2012@gmail.com> wrote:
The driver matches on the special partition type with the GUID, in this case, disk2s2, and creates a "whole" IOMedia object, in this case disk3.
[Flost] so the disk3 was generated by disk2s2.
The provider for my driver is the IOMedia for disk2s2 (it actually can and usually does have more than one provider, but that's irrelevant here), and the IOMedia nub my driver generates is disk3.
Can you control the inter activation with disk2s2?
What do you mean by that?
https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEX... [Flost]: Yes, I'd read this document before, but last time when i have two machine to study this, I find that only the system got panic, than the debug machine could connect to the test machine, and show the stack, but this does not make much help than I use the panic file to decode the stack. May be I could read the article more carefully. Also, I will reference the following article to learn about firewire kprintf.
You can do most things that you can do with user-space gdb. You might also want to look at all the macros in kgmacros. Some of those are extremely useful. If you want to force your code to break to the debugger (e.g. in your own replacement for assert()), use __asm__("int $3"); (at least on i386/x86-64) phil _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Phil Jordan