#include <palacios/vmm_hvm.h>
#endif
-
+#ifdef V3_CONFIG_CACHEPART
+#include <palacios/vmm_cachepart.h>
+#endif
#include <palacios/vmm_config.h>
struct v3_core_timeouts timeouts;
void * sched_priv_data;
+ // Resource constraints/etc for the thread running this core
+ v3_resource_control_t resource_control;
+
v3_paging_mode_t shdw_pg_mode;
// arch-independent state of shadow pager
struct v3_shdw_pg_state shdw_pg_state;
char name[128];
v3_vm_class_t vm_class;
+
+ // Resource control for whole VM - determined early and used
+ // when building the VM, then cloned to each core
+ v3_resource_control_t resource_control;
+
struct v3_fw_cfg_state fw_cfg_state;
// This is always the total RAM (addresses 0...mem_size)
// used to implement reset of regular VM and ROS
v3_counting_barrier_t reset_barrier;
+#ifdef V3_CONFIG_CACHEPART
+ v3_cachepart_t cachepart_state;
+#endif
+
+
uint64_t yield_cycle_period;