[kernel][platform] remove a few unused platform functions
Both are unused from LK and can be safely removed. No functional change.
Change-Id: Idd68d34dad8096f331e5dcac2c521a8f02fa7c00
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/406358
Commit-Queue: Travis Geiselbrecht <travisg@google.com>
Reviewed-by: Venkatesh Srinivas <venkateshs@google.com>
Reviewed-by: Nick Maniscalco <maniscalco@google.com>
Testability-Review: Nick Maniscalco <maniscalco@google.com>
diff --git a/zircon/kernel/arch/arm64/arch.cc b/zircon/kernel/arch/arm64/arch.cc
index 52fe028..fe86421 100644
--- a/zircon/kernel/arch/arm64/arch.cc
+++ b/zircon/kernel/arch/arm64/arch.cc
@@ -203,8 +203,6 @@
void arch_early_init() {
arm64_cpu_early_init();
-
- platform_init_mmu_mappings();
}
void arch_prevm_init() {}
diff --git a/zircon/kernel/include/platform.h b/zircon/kernel/include/platform.h
index 0ff1b60..885638b 100644
--- a/zircon/kernel/include/platform.h
+++ b/zircon/kernel/include/platform.h
@@ -48,9 +48,6 @@
/* later init, after the kernel has come up */
void platform_init(void);
-/* called by the arch init code to get the platform to set up any mmu mappings it may need */
-void platform_init_mmu_mappings(void);
-
/* platform_panic_start informs the system that a panic message is about
* to be printed and that platform_halt will be called shortly. The
* platform should stop other CPUs if possible and do whatever is necessary
@@ -81,9 +78,6 @@
/* optionally stop the current cpu in a way the platform finds appropriate */
void platform_halt_cpu(void);
-/* called during chain loading to make sure drivers and platform is put into a stopped state */
-void platform_quiesce(void);
-
/* returns pointer to ramdisk image, or NULL if none.
* Sets size to ramdisk size or zero if none.
*/
diff --git a/zircon/kernel/platform/init.cc b/zircon/kernel/platform/init.cc
index b54caa7..915e655 100644
--- a/zircon/kernel/platform/init.cc
+++ b/zircon/kernel/platform/init.cc
@@ -14,16 +14,12 @@
* chooses not to implement.
*/
-__WEAK void platform_init_mmu_mappings() {}
-
__WEAK void platform_early_init() {}
__WEAK void platform_init() {}
__WEAK void platform_prevm_init() {}
-__WEAK void platform_quiesce() {}
-
__WEAK void platform_panic_start() {}
__WEAK void* platform_get_ramdisk(size_t* size) {