site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com Hey, mem_actual So... help? Any suggestions, thoughts, etc.? For at least some things, you can use sysctl from the kernel too. hw.memsize is declared as a SYSCTL_QUAD so it should handle memory above 4GB. -- Terry _______________________________________________ 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... On Jun 10, 2005, at 10:39 AM, Andrew Gallatin wrote: Herb Petschauer writes: We've got a solution that works great in Panther and we've started the transition to Tiger. I've hit a few snags in the porting effort, the most imporant one is the formerly exported variable: This variable still exists in the Tiger Darwin source but is no longer exported. Nor do I see any wrapper functions that I can call to get this variable's value. I popped into the DTS lab at WWDC and after some grepping they told me I could get the value from user space using sysctl but that doesn't necessarily help. I use that in my driver with no problems seen so far.. Specifically, any sysctl with CTLFLAG_KERN in the access field can be called from the kernel. This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert