From 4cf23177674850edead94cec6b384748dfe966b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 19 Nov 2004 20:16:20 +0000 Subject: [PATCH] Replaced reboot() by arch_cpu_shutdown(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10043 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/cpu.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/headers/private/kernel/arch/cpu.h b/headers/private/kernel/arch/cpu.h index a2ab844466..6fa05cbdc1 100644 --- a/headers/private/kernel/arch/cpu.h +++ b/headers/private/kernel/arch/cpu.h @@ -1,10 +1,10 @@ /* -** Copyright 2002-2004, The Haiku Team. All rights reserved. -** Distributed under the terms of the Haiku License. -** -** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. -** Distributed under the terms of the NewOS License. -*/ + * Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. + * Distributed under the terms of the MIT License. + * + * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. + * Distributed under the terms of the NewOS License. + */ #ifndef _KERNEL_ARCH_CPU_H #define _KERNEL_ARCH_CPU_H @@ -22,7 +22,7 @@ extern "C" { status_t arch_cpu_preboot_init(kernel_args *args); status_t arch_cpu_init(kernel_args *args); status_t arch_cpu_init_post_vm(kernel_args *args); -void reboot(void); +status_t arch_cpu_shutdown(bool reboot); void arch_cpu_invalidate_TLB_range(addr_t start, addr_t end); void arch_cpu_invalidate_TLB_list(addr_t pages[], int num_pages); @@ -42,4 +42,3 @@ void arch_cpu_sync_icache(void *address, size_t length); #include #endif /* _KERNEL_ARCH_CPU_H */ -