/*-1* Copyright (c) 2004 Marcel Moolenaar2* All rights reserved.3*4* Redistribution and use in source and binary forms, with or without5* modification, are permitted provided that the following conditions6* are met:7*8* 1. Redistributions of source code must retain the above copyright9* notice, this list of conditions and the following disclaimer.10* 2. Redistributions in binary form must reproduce the above copyright11* notice, this list of conditions and the following disclaimer in the12* documentation and/or other materials provided with the distribution.13*14* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR15* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES16* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.17* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,18* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT19* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,20* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY21* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT22* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF23* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.24*/2526#ifndef _MACHINE_KDB_H_27#define _MACHINE_KDB_H_2829#include <machine/cpufunc.h>3031static __inline void32kdb_cpu_clear_singlestep(void)33{34}3536static __inline void37kdb_cpu_set_singlestep(void)38{39}4041static __inline void42kdb_cpu_sync_icache(unsigned char *addr, size_t size)43{4445/*46* Other CPUs flush their instruction cache when resuming from47* IPI_STOP.48*/49fence_i();50}5152static __inline void53kdb_cpu_trap(int type, int code)54{55}5657static __inline int58kdb_cpu_set_watchpoint(vm_offset_t addr, vm_size_t size, int access)59{6061return (ENXIO);62}6364static __inline int65kdb_cpu_clr_watchpoint(vm_offset_t addr, vm_size_t size)66{6768return (0);69}7071#endif /* _MACHINE_KDB_H_ */727374