1*fe1fe620Scheloha /* $OpenBSD: db_access.h,v 1.12 2024/02/23 18:19:02 cheloha Exp $ */ 2d724e01aSderaadt /* $NetBSD: db_access.h,v 1.6 1994/10/09 08:29:57 mycroft Exp $ */ 3df930be7Sderaadt 4df930be7Sderaadt /* 5df930be7Sderaadt * Mach Operating System 6b2471a9dSmickey * Copyright (c) 1993,1992,1991,1990 Carnegie Mellon University 7df930be7Sderaadt * All Rights Reserved. 8df930be7Sderaadt * 9df930be7Sderaadt * Permission to use, copy, modify and distribute this software and its 10df930be7Sderaadt * documentation is hereby granted, provided that both the copyright 11df930be7Sderaadt * notice and this permission notice appear in all copies of the 12df930be7Sderaadt * software, derivative works or modified versions, and any portions 13df930be7Sderaadt * thereof, and that both notices appear in supporting documentation. 14df930be7Sderaadt * 15b2471a9dSmickey * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 16df930be7Sderaadt * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR 17df930be7Sderaadt * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 18df930be7Sderaadt * 19df930be7Sderaadt * Carnegie Mellon requests users of this software to return to 20df930be7Sderaadt * 21df930be7Sderaadt * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 22df930be7Sderaadt * School of Computer Science 23df930be7Sderaadt * Carnegie Mellon University 24df930be7Sderaadt * Pittsburgh PA 15213-3890 25df930be7Sderaadt * 26b2471a9dSmickey * any improvements or extensions that they make and grant Carnegie Mellon 27b2471a9dSmickey * the rights to redistribute these changes. 28df930be7Sderaadt * 29df930be7Sderaadt * Author: David B. Golub, Carnegie Mellon University 30df930be7Sderaadt * Date: 7/90 31df930be7Sderaadt */ 32df930be7Sderaadt 33df930be7Sderaadt /* 34df930be7Sderaadt * Data access functions for debugger. 35df930be7Sderaadt */ 3608f058f8Smpi db_expr_t db_get_value(vaddr_t, size_t, int); 3708f058f8Smpi void db_put_value(vaddr_t, size_t, db_expr_t); 38df930be7Sderaadt 39*fe1fe620Scheloha void db_read_bytes(vaddr_t, size_t, void *); 40*fe1fe620Scheloha void db_write_bytes(vaddr_t, size_t, void *); 41