khypervisor  v1
include/hvmm_types.h
Go to the documentation of this file.
00001 #ifndef __HVMM_TYPES_H__
00002 #define __HVMM_TYPES_H__
00003 
00004 #include <arch_types.h>
00005 #define VMID_INVALID    0xFF
00006 #define PIRQ_INVALID    0xFFFFFFFF
00007 #define VIRQ_INVALID    PIRQ_INVALID
00008 
00009 typedef enum {
00010     HVMM_STATUS_SUCCESS = 0,
00011     HVMM_STATUS_UNKNOWN_ERROR = -1,
00012     HVMM_STATUS_UNSUPPORTED_FEATURE = -2,
00013     HVMM_STATUS_BUSY = -3,
00014     HVMM_STATUS_BAD_ACCESS = -4,
00015     HVMM_STATUS_NOT_FOUND = -5,
00016     HVMM_STATUS_IGNORED = -6,
00017 } hvmm_status_t;
00018 
00019 typedef uint8_t vmid_t; 
00020 #endif
00021 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines