[Kernel] Revert Guest->Host Object Mapping
This commit is contained in:
committed by
Radosław Gliński
parent
be689457cb
commit
18b5a6706a
@@ -80,10 +80,6 @@ class ObjectTable {
|
||||
std::vector<object_ref<XObject>> GetAllObjects();
|
||||
void PurgeAllObjects(); // Purges the object table of all guest objects
|
||||
|
||||
void MapGuestObjectToHostHandle(uint32_t guest_object, X_HANDLE host_handle);
|
||||
void UnmapGuestObjectHostHandle(uint32_t guest_object);
|
||||
bool HostHandleForGuestObject(uint32_t guest_object, X_HANDLE& out);
|
||||
void FlushGuestToHostMapping(uint32_t base_address, uint32_t length);
|
||||
private:
|
||||
struct ObjectTableEntry {
|
||||
int handle_ref_count = 0;
|
||||
@@ -111,7 +107,6 @@ class ObjectTable {
|
||||
uint32_t last_free_entry_ = 0;
|
||||
uint32_t last_free_host_entry_ = 0;
|
||||
std::unordered_map<string_key_case, X_HANDLE> name_table_;
|
||||
std::map<uint32_t, X_HANDLE> guest_to_host_handle_;
|
||||
};
|
||||
|
||||
// Generic lookup
|
||||
|
||||
Reference in New Issue
Block a user