site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FjN9STjKQCFj21ga93mvFXzW+yZba8kqEVS0WafR7fiXs6C1/2NfhEhMPXc9s6oOYIfBb3816TAdPJM0CZrUgPGpf3DcbirEp3D24HKShnJGqVRUF9CWzAYOfKAatU5J7RxbKhxv30H6VDlSk33Qs6CLmQB6Kz3p7WBxAm9ZBpw= Hello, I am new to kernel programming in Mac Tiger, and have a question: According to chapter 15 of "Kerrnel programming guide", part "Memory mapping and block copying", it says: "... To get data from kernel (to application), application allocates a range of memory and passes the memory address to kernel. Then kernel can copy data to the memory (with copyout function)... " But the documentation doesnt mention few things: - How to notify kernel the address of the shared memory? - How should kernel and application notify each other when the copy process is done, and the data is ready? Please anybody points me to a sample code of this process? (it should be used in a lot of code in Mac?) All the helps are highly appreciated. Thank you, H _______________________________________________ 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