Re: New to kernel programming... Hope to see something from the console
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=w1tpv3dOuqcp7EhzByrWlOJUiCuELiPFr3dlq7oAjVM=; b=Eptsopl0Wl4QYu5Z+GjdCg65CyoyFx8oiek8mA07iI+P79rhO4HktWNZ5HCkvxhGTf eOvBXXCE2K0EjxtqhHVcy6Eh6BKv+05Orlb4fsECmVclF9FEx2drc9jU+b2gh4NV9J7k n6Y2ql7MSUrj68hUnQDGWrcav8AP+U4S9ZQpU= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=O8yIVuxYiaJ90aR5QoSVtHb6uAFvaCnqq+04aSdk5ItuTbMevFcMD1Wdu3luT87+pJ I2cAeXFKYlwrlfyhjVaNLxwtETcJ6L8N3GBkQDJnISdYrZWp+qbwobjHxvVHHToIxM3C I54aHhlyebVB69SJ3bttVXDWO10gBs6SElc9s= 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 <geforce8800@gmail.com> 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/KEXTC...
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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- -mmw _______________________________________________ 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: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w