Hi all, I am wondering how I can find out the physical memory size in kernel space?
We have a device driver running on Linux that does the following: #define DX_TOTALRAM (((U64)num_physpages) << PAGE_SHIFT) Can you tell me if there is something similar to 'num_physpages' on Solaris? PAGE_SHIFT is used to find out the page size. I should use 'ptob(1)' to get the page size, shouldn't I? Best, Christian -- Christian Kaiser, Software Engineer, Dolphin Interconnect Solutions http//www.dolphinics.com _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
