machdep.c (192323) | machdep.c (193156) |
---|---|
1/*- 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 41 unchanged lines hidden (view full) --- 50 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 51 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 52 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 53 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * $NetBSD: machdep.c,v 1.74.2.1 2000/11/01 16:13:48 tv Exp $ 55 */ 56 57#include <sys/cdefs.h> | 1/*- 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 41 unchanged lines hidden (view full) --- 50 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 51 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 52 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 53 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * $NetBSD: machdep.c,v 1.74.2.1 2000/11/01 16:13:48 tv Exp $ 55 */ 56 57#include <sys/cdefs.h> |
58__FBSDID("$FreeBSD: head/sys/powerpc/aim/machdep.c 192323 2009-05-18 18:37:18Z marcel $"); | 58__FBSDID("$FreeBSD: head/sys/powerpc/aim/machdep.c 193156 2009-05-31 09:01:23Z nwhitehorn $"); |
59 60#include "opt_compat.h" 61#include "opt_ddb.h" 62#include "opt_kstack_pages.h" 63#include "opt_msgbuf.h" 64 65#include <sys/param.h> 66#include <sys/proc.h> --- 809 unchanged lines hidden (view full) --- 876 877void 878cpu_initclocks(void) 879{ 880 881 decr_tc_init(); 882} 883 | 59 60#include "opt_compat.h" 61#include "opt_ddb.h" 62#include "opt_kstack_pages.h" 63#include "opt_msgbuf.h" 64 65#include <sys/param.h> 66#include <sys/proc.h> --- 809 unchanged lines hidden (view full) --- 876 877void 878cpu_initclocks(void) 879{ 880 881 decr_tc_init(); 882} 883 |
884/* Get current clock frequency for the given cpu id. */ 885int 886cpu_est_clockrate(int cpu_id, uint64_t *rate) 887{ 888 889 return (ENXIO); 890} 891 | |
892/* 893 * Shutdown the CPU as much as possible. 894 */ 895void 896cpu_halt(void) 897{ 898 899 OF_exit(); --- 283 unchanged lines hidden --- | 884/* 885 * Shutdown the CPU as much as possible. 886 */ 887void 888cpu_halt(void) 889{ 890 891 OF_exit(); --- 283 unchanged lines hidden --- |