1178172Simp/*- 2178172Simp * Copyright (c) 2004 Marcel Moolenaar 3178172Simp * All rights reserved. 4178172Simp * 5178172Simp * Redistribution and use in source and binary forms, with or without 6178172Simp * modification, are permitted provided that the following conditions 7178172Simp * are met: 8178172Simp * 9178172Simp * 1. Redistributions of source code must retain the above copyright 10178172Simp * notice, this list of conditions and the following disclaimer. 11178172Simp * 2. Redistributions in binary form must reproduce the above copyright 12178172Simp * notice, this list of conditions and the following disclaimer in the 13178172Simp * documentation and/or other materials provided with the distribution. 14178172Simp * 15178172Simp * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16178172Simp * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17178172Simp * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18178172Simp * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19178172Simp * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20178172Simp * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21178172Simp * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22178172Simp * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23178172Simp * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24178172Simp * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25178172Simp * 26178172Simp * from: src/sys/alpha/include/kdb.h,v 1.2 2005/01/05 20:05:50 imp 27178172Simp * $FreeBSD$ 28178172Simp */ 29178172Simp 30178172Simp#ifndef _MACHINE_KDB_H_ 31178172Simp#define _MACHINE_KDB_H_ 32178172Simp 33178172Simp#include <machine/frame.h> 34178172Simp 35204997Sneel#define KDB_STOPPEDPCB(pc) &stoppcbs[pc->pc_cpuid] 36204997Sneel 37178172Simpstatic __inline void 38178172Simpkdb_cpu_clear_singlestep(void) 39178172Simp{ 40178172Simp} 41178172Simp 42178172Simpstatic __inline void 43178172Simpkdb_cpu_set_singlestep(void) 44178172Simp{ 45178172Simp} 46178172Simp 47178172Simpstatic __inline void 48178172Simpkdb_cpu_trap(int vector, int _) 49178172Simp{ 50178172Simp} 51178172Simp 52202031Simpstatic __inline void 53202031Simpkdb_cpu_sync_icache(unsigned char *addr, size_t size) 54202031Simp{ 55202031Simp} 56178172Simp#endif /* _MACHINE_KDB_H_ */ 57