host_get_multiuser_config_flags(host_t host __unused,
uint32_t *multiuser_flags)
{
-#if TARGET_OS_EMBEDDED
+#if (TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
volatile uint32_t *multiuser_flag_address = (volatile uint32_t *)(uintptr_t)(_COMM_PAGE_MULTIUSER_CONFIG);
*multiuser_flags = *multiuser_flag_address;
return KERN_SUCCESS;
host_check_multiuser_mode(host_t host __unused,
uint32_t *multiuser_mode)
{
-#if TARGET_OS_EMBEDDED
+#if (TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
uint32_t multiuser_flags;
kern_return_t kr;