Re: New to kernel programming... Hope to see something from the console
Re: New to kernel programming... Hope to see something from the console
- Subject: Re: New to kernel programming... Hope to see something from the console
- From: "mm w" <email@hidden>
- Date: Thu, 9 Oct 2008 08:27:53 -0700
Hi
/Applications/Utilities/Console.app
see also the difference between printf and uprintf
I think with that you should be able to reach your way alone
Cheers!
On Thu, Oct 9, 2008 at 3:03 AM, Cloud Strife <email@hidden> wrote:
> Hi everyone.
> I am new to Mach kernel programming. Currently I am writing a dummy driver
> from the following guidance:
> http://developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptIOKit/hello_iokit.html#//apple_ref/doc/uid/20002366-97636
>
> After wrote the code and compiled them, I set the owner and the privilege of
> the kext, and loaded it by
> "kextload -t myIOKitDriver.kext".
> The terminal prompted I had successfully loaded the kext. I am expecting to
> see some information come out from the console. However, the expected
> message:
> " IOLog("Initializing\n");" does not appear.
> Can anyone tell me why the IOLog don't show up? And is there any way to
> correct this?
> Thank you very much for any help.
> Have a good day. :-)
> --
> Best regards.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
-mmw
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden