182007Sjake/*-
282007Sjake * Copyright 2001 by Thomas Moestl <tmm@FreeBSD.org>.  All rights reserved.
382007Sjake *
482007Sjake * Redistribution and use in source and binary forms, with or without
582007Sjake * modification, are permitted provided that the following conditions
682007Sjake * are met:
782007Sjake * 1. Redistributions of source code must retain the above copyright
882007Sjake *    notice, this list of conditions and the following disclaimer.
982007Sjake * 2. Redistributions in binary form must reproduce the above copyright
1082007Sjake *    notice, this list of conditions and the following disclaimer in the
1182007Sjake *    documentation and/or other materials provided with the distribution.
1282007Sjake *
1382007Sjake * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1482007Sjake * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1582007Sjake * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1682007Sjake * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
1782007Sjake * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1882007Sjake * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1982007Sjake * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2082007Sjake * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2182007Sjake * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
2282007Sjake * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2382007Sjake *
2482007Sjake * $FreeBSD$
2582007Sjake */
2682007Sjake
2782007Sjake#ifndef	_MACHINE_WATCH_H_
2882007Sjake#define	_MACHINE_WATCH_H_
2982007Sjake
30113238Sjakeint	watch_phys_set_mask(vm_paddr_t pa, u_long mask);
31113238Sjakeint	watch_phys_set(vm_paddr_t pa, int sz);
32113238Sjakevm_paddr_t	watch_phys_get(int *bm);
3382007Sjakevoid	watch_phys_clear(void);
3482007Sjakeint	watch_phys_active(void);
3582007Sjakeint	watch_virt_set_mask(vm_offset_t va, u_long mask);
3682007Sjakeint	watch_virt_set(vm_offset_t va, int sz);
3782007Sjakevm_offset_t	watch_virt_get(int *bm);
3882007Sjakevoid	watch_virt_clear(void);
3982007Sjakeint	watch_virt_active(void);
4082007Sjake
4182007Sjake#endif	/* _MACHINE_WATCH_H_ */
42