xref: /illumos-gate/usr/src/uts/intel/sys/vmm_drv_test.h (revision aa39f6d0fd4e491afca04b12f49a18ce955efc79)
1*aa39f6d0SPatrick Mooney /*
2*aa39f6d0SPatrick Mooney  * This file and its contents are supplied under the terms of the
3*aa39f6d0SPatrick Mooney  * Common Development and Distribution License ("CDDL"), version 1.0.
4*aa39f6d0SPatrick Mooney  * You may only use this file in accordance with the terms of version
5*aa39f6d0SPatrick Mooney  * 1.0 of the CDDL.
6*aa39f6d0SPatrick Mooney  *
7*aa39f6d0SPatrick Mooney  * A full copy of the text of the CDDL should have accompanied this
8*aa39f6d0SPatrick Mooney  * source.  A copy of the CDDL is also available via the Internet at
9*aa39f6d0SPatrick Mooney  * http://www.illumos.org/license/CDDL.
10*aa39f6d0SPatrick Mooney  */
11*aa39f6d0SPatrick Mooney /* This file is dual-licensed; see usr/src/contrib/bhyve/LICENSE */
12*aa39f6d0SPatrick Mooney 
13*aa39f6d0SPatrick Mooney /*
14*aa39f6d0SPatrick Mooney  * Copyright 2022 Oxide Computer Company
15*aa39f6d0SPatrick Mooney  */
16*aa39f6d0SPatrick Mooney 
17*aa39f6d0SPatrick Mooney #ifndef _VMM_DRV_TEST_H_
18*aa39f6d0SPatrick Mooney #define	_VMM_DRV_TEST_H_
19*aa39f6d0SPatrick Mooney 
20*aa39f6d0SPatrick Mooney #define	VDT_IOC_BASE		(('V' << 16) | ('D' << 8))
21*aa39f6d0SPatrick Mooney 
22*aa39f6d0SPatrick Mooney #define	VDT_IOC_HOLD		(VDT_IOC_BASE | 0x01)
23*aa39f6d0SPatrick Mooney #define	VDT_IOC_RELE		(VDT_IOC_BASE | 0x02)
24*aa39f6d0SPatrick Mooney 
25*aa39f6d0SPatrick Mooney #endif /* _VMM_DRV_TEST_H_ */
26