machdep.c (192532) | machdep.c (193156) |
---|---|
1/*- 2 * Copyright (C) 2006 Semihalf, Marian Balakowicz <m8@semihalf.com> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 65 unchanged lines hidden (view full) --- 74 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 75 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 76 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 77 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 78 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 79 */ 80 81#include <sys/cdefs.h> | 1/*- 2 * Copyright (C) 2006 Semihalf, Marian Balakowicz <m8@semihalf.com> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 65 unchanged lines hidden (view full) --- 74 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 75 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 76 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 77 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 78 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 79 */ 80 81#include <sys/cdefs.h> |
82__FBSDID("$FreeBSD: head/sys/powerpc/booke/machdep.c 192532 2009-05-21 11:43:37Z raj $"); | 82__FBSDID("$FreeBSD: head/sys/powerpc/booke/machdep.c 193156 2009-05-31 09:01:23Z nwhitehorn $"); |
83 84#include "opt_compat.h" 85#include "opt_ddb.h" 86#include "opt_kstack_pages.h" 87#include "opt_msgbuf.h" 88 89#include <sys/cdefs.h> 90#include <sys/types.h> --- 491 unchanged lines hidden (view full) --- 582 * be made coherent later. 583 */ 584void 585cpu_flush_dcache(void *ptr, size_t len) 586{ 587 /* TBD */ 588} 589 | 83 84#include "opt_compat.h" 85#include "opt_ddb.h" 86#include "opt_kstack_pages.h" 87#include "opt_msgbuf.h" 88 89#include <sys/cdefs.h> 90#include <sys/types.h> --- 491 unchanged lines hidden (view full) --- 582 * be made coherent later. 583 */ 584void 585cpu_flush_dcache(void *ptr, size_t len) 586{ 587 /* TBD */ 588} 589 |
590/* Get current clock frequency for the given cpu id. */ 591int 592cpu_est_clockrate(int cpu_id, uint64_t *rate) 593{ 594 595 return (ENXIO); 596} 597 | |
598/* 599 * Construct a PCB from a trapframe. This is called from kdb_trap() where 600 * we want to start a backtrace from the function that caused us to enter 601 * the debugger. We have the context in the trapframe, but base the trace 602 * on the PCB. The PCB doesn't have to be perfect, as long as it contains 603 * enough for a backtrace. 604 */ 605void --- 430 unchanged lines hidden --- | 590/* 591 * Construct a PCB from a trapframe. This is called from kdb_trap() where 592 * we want to start a backtrace from the function that caused us to enter 593 * the debugger. We have the context in the trapframe, but base the trace 594 * on the PCB. The PCB doesn't have to be perfect, as long as it contains 595 * enough for a backtrace. 596 */ 597void --- 430 unchanged lines hidden --- |