How to ask for the "true" hardware page size?

Things like vm.pagesize and vm_page_size return the page size of the running architecture. However, we need to know the true page size, so that, e.g., a Rosetta process will allocate enough memory to be mmaped by an ARM process (we use shared memory, among other methods, for IPC). I see in vm_page_size.h a vm_kernel_page_size. Is that the correct way to ask for the "hardware" page size?
How to ask for the "true" hardware page size?
 
 
Q