X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_hvm.h;fp=palacios%2Finclude%2Fpalacios%2Fvmm_hvm.h;h=9d441d66e85ea3cb9c1c466f669a56f8daf6c60b;hp=a206d543a80d9b5b386942e6209f67462da11ca9;hb=d13fa71cb7a372c39ea92aaa69d74d63d9e0ed8e;hpb=0205b0a0d6ad39a783330299f8afca735cf9a459 diff --git a/palacios/include/palacios/vmm_hvm.h b/palacios/include/palacios/vmm_hvm.h index a206d54..9d441d6 100644 --- a/palacios/include/palacios/vmm_hvm.h +++ b/palacios/include/palacios/vmm_hvm.h @@ -45,7 +45,9 @@ struct v3_vm_hvm { uint8_t is_hvm; uint32_t first_hrt_core; uint64_t first_hrt_gpa; - struct v3_cfg_file *hrt_file; + struct v3_cfg_file *hrt_file; // image provided via PAL file, if any + void *hrt_image; // image provided by ROS, if any + uint64_t hrt_image_size; // size of this image uint64_t hrt_entry_addr; enum { HRT_BLOB, HRT_ELF64, HRT_MBOOT2, HRT_MBOOT64 } hrt_type; @@ -192,6 +194,10 @@ int v3_handle_hvm_reset(struct guest_info *core); 0x1 => Reboot ROS 0x2 => Reboot HRT 0x3 => Reboot Both + + 0x8 => Replace HRT image + pass in pointer (gva) and length of new image + 0xf => Get HRT transaction state and current ROS event first argument is pointer to the ROS event state to be filled out