Dir Sir/Madam, Our company are going to develop software on Mac OS X. And now I am doing the research for it to confirm whether we can do it. Actually there are many difficulties. With this letter I will ask a question about Accessing Hardware from applications. In the document "Hello Kernel: Creating a Kernel Extension With Project Builder" you have give an example of kernel programming.The sample code is the following: #include <sys/systm.h> #include <mach/mach_types.h> kern_return_t HelloKernel_start (kmod_info_t * ki, void * d) { printf("KEXT has loaded!\n"); return KERN_SUCCESS; } kern_return_t HelloKernel_stop (kmod_info_t * ki, void * d) { printf("KEXT will be unloaded\n"); return KERN_SUCCESS; } And also I have done as the document "Packaging Your KEXT for Distribution and Installation" says. My question is that how can I access the module HelloKernel from application. I have read your document "Accessing Hardware From Applications". But I think the document is too difficult. So Can you give me an example of accessing the HelloKernel from application? Thanks! yours sincerely Ye Wenxi in Tokyo _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
yetty