Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/linux/linux_sysvec.c
Show First 20 Lines • Show All 463 Lines • ▼ Show 20 Lines | memcpy(linux_shared_page_mapping, elf_linux_sysvec.sv_sigcode, | ||||
linux_szsigcode); | linux_szsigcode); | ||||
elf_linux_sysvec.sv_shared_page_obj = linux_shared_page_obj; | elf_linux_sysvec.sv_shared_page_obj = linux_shared_page_obj; | ||||
printf("LINUXTODO: %s: fix linux_kplatform\n", __func__); | printf("LINUXTODO: %s: fix linux_kplatform\n", __func__); | ||||
#if 0 | #if 0 | ||||
linux_kplatform = linux_shared_page_mapping + | linux_kplatform = linux_shared_page_mapping + | ||||
(linux_platform - (caddr_t)elf_linux_sysvec.sv_shared_page_base); | (linux_platform - (caddr_t)elf_linux_sysvec.sv_shared_page_base); | ||||
#else | #else | ||||
linux_kplatform = "arm64"; | linux_kplatform = "aarch64"; | ||||
#endif | #endif | ||||
} | } | ||||
SYSINIT(elf_linux_vdso_init, SI_SUB_EXEC, SI_ORDER_ANY, | SYSINIT(elf_linux_vdso_init, SI_SUB_EXEC, SI_ORDER_ANY, | ||||
linux_vdso_install, NULL); | linux_vdso_install, NULL); | ||||
static void | static void | ||||
linux_vdso_deinstall(const void *param) | linux_vdso_deinstall(const void *param) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |