kdb.h revision 132051
1132051Scognet/* 2132051Scognet * Copyright (c) 2004 Marcel Moolenaar 3132051Scognet * All rights reserved. 4132051Scognet * 5132051Scognet * Redistribution and use in source and binary forms, with or without 6132051Scognet * modification, are permitted provided that the following conditions 7132051Scognet * are met: 8132051Scognet * 9132051Scognet * 1. Redistributions of source code must retain the above copyright 10132051Scognet * notice, this list of conditions and the following disclaimer. 11132051Scognet * 2. Redistributions in binary form must reproduce the above copyright 12132051Scognet * notice, this list of conditions and the following disclaimer in the 13132051Scognet * documentation and/or other materials provided with the distribution. 14132051Scognet * 15132051Scognet * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16132051Scognet * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17132051Scognet * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18132051Scognet * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19132051Scognet * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20132051Scognet * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21132051Scognet * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22132051Scognet * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23132051Scognet * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24132051Scognet * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25132051Scognet * 26132051Scognet * $FreeBSD: head/sys/arm/include/kdb.h 132051 2004-07-12 21:17:51Z cognet $ 27132051Scognet */ 28132051Scognet 29132051Scognet#ifndef _MACHINE_KDB_H_ 30132051Scognet#define _MACHINE_KDB_H_ 31132051Scognet 32132051Scognet#include <machine/frame.h> 33132051Scognet#include <machine/psl.h> 34132051Scognet 35132051Scognetstatic __inline void 36132051Scognetkdb_cpu_clear_singlestep(void) 37132051Scognet{ 38132051Scognet} 39132051Scognet 40132051Scognetstatic __inline void 41132051Scognetkdb_cpu_set_singlestep(void) 42132051Scognet{ 43132051Scognet} 44132051Scognet 45132051Scognetstatic __inline void 46132051Scognetkdb_cpu_trap(int type, int code) 47132051Scognet{ 48132051Scognet} 49132051Scognet 50132051Scognet#endif /* _MACHINE_KDB_H_ */ 51