1 #ifndef __MINIOS_PUBLIC_PRIVCMD_H__ 2 #define __MINIOS_PUBLIC_PRIVCMD_H__ 3 4 /* 5 * Permission is hereby granted, free of charge, to any person obtaining a copy 6 * of this source file (the "Software"), to deal in the Software without 7 * restriction, including without limitation the rights to use, copy, modify, 8 * merge, publish, distribute, sublicense, and/or sell copies of the Software, 9 * and to permit persons to whom the Software is furnished to do so, subject to 10 * the following conditions: 11 * 12 * The above copyright notice and this permission notice shall be included in 13 * all copies or substantial portions of the Software. 14 * 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 21 * IN THE SOFTWARE. 22 */ 23 24 #include <sys/types.h> 25 26 typedef struct privcmd_hypercall 27 { 28 uint64_t op; 29 uint64_t arg[5]; 30 } privcmd_hypercall_t; 31 32 typedef struct privcmd_mmap_entry { 33 uint64_t mfn; 34 } privcmd_mmap_entry_t; 35 36 #endif /* __MINIOS_PUBLIC_PRIVCMD_H__ */ 37