152ba75afSkettenis /* BSD Kernel Data Access Library (libkvm) interface. 252ba75afSkettenis 352ba75afSkettenis Copyright 2004 Free Software Foundation, Inc. 452ba75afSkettenis 552ba75afSkettenis This file is part of GDB. 652ba75afSkettenis 752ba75afSkettenis This program is free software; you can redistribute it and/or modify 852ba75afSkettenis it under the terms of the GNU General Public License as published by 952ba75afSkettenis the Free Software Foundation; either version 2 of the License, or 1052ba75afSkettenis (at your option) any later version. 1152ba75afSkettenis 1252ba75afSkettenis This program is distributed in the hope that it will be useful, 1352ba75afSkettenis but WITHOUT ANY WARRANTY; without even the implied warranty of 1452ba75afSkettenis MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1552ba75afSkettenis GNU General Public License for more details. 1652ba75afSkettenis 1752ba75afSkettenis You should have received a copy of the GNU General Public License 1852ba75afSkettenis along with this program; if not, write to the Free Software 1952ba75afSkettenis Foundation, Inc., 59 Temple Place - Suite 330, 2052ba75afSkettenis Boston, MA 02111-1307, USA. */ 2152ba75afSkettenis 2252ba75afSkettenis #ifndef BSD_KVM_H 2352ba75afSkettenis #define BSD_KVM_H 2452ba75afSkettenis 2552ba75afSkettenis struct pcb; 2652ba75afSkettenis struct regcache; 2752ba75afSkettenis 28*1505a8a8Skettenis /* Add the libkvm interface to the list of all possible targets and 29*1505a8a8Skettenis register CUPPLY_PCB as the architecture-specific process control 30*1505a8a8Skettenis block interpreter. */ 31*1505a8a8Skettenis 32*1505a8a8Skettenis extern void 33*1505a8a8Skettenis bsd_kvm_add_target (int (*supply_pcb)(struct regcache *, struct pcb *)); 3452ba75afSkettenis 3552ba75afSkettenis #endif /* bsd-kvm.h */ 36