From 60f9bd4a5785ab403c26882b70e5d2768ae2a615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 24 Oct 2003 12:38:07 +0000 Subject: [PATCH] Adds an empty arch_real_time_clock.c for the PPC build. The Pegasos may need the same RTC code as x86 (but using the ISA bus manager instead of in/out). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5143 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/arch/ppc/Jamfile | 1 + .../core/arch/ppc/arch_real_time_clock.c | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/kernel/core/arch/ppc/arch_real_time_clock.c diff --git a/src/kernel/core/arch/ppc/Jamfile b/src/kernel/core/arch/ppc/Jamfile index 82c7743aaa..0b20d6fdde 100644 --- a/src/kernel/core/arch/ppc/Jamfile +++ b/src/kernel/core/arch/ppc/Jamfile @@ -11,6 +11,7 @@ KernelStaticLibrary libppc : <$(SOURCE_GRIST)>arch_faults.c <$(SOURCE_GRIST)>arch_int.c <$(SOURCE_GRIST)>arch_mmu.cpp + <$(SOURCE_GRIST)>arch_real_time_clock.c <$(SOURCE_GRIST)>arch_smp.c <$(SOURCE_GRIST)>arch_thread.c <$(SOURCE_GRIST)>arch_timer.c diff --git a/src/kernel/core/arch/ppc/arch_real_time_clock.c b/src/kernel/core/arch/ppc/arch_real_time_clock.c new file mode 100644 index 0000000000..9a040fcda7 --- /dev/null +++ b/src/kernel/core/arch/ppc/arch_real_time_clock.c @@ -0,0 +1,20 @@ +/* +** Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +*/ + + +#include + + +uint32 +arch_rtc_get_hw_time(void) +{ + return 0; +} + + +void +arch_rtc_set_hw_time(uint32 seconds) +{ +}