diff --git a/src/core/sal/Memory.hpp b/src/core/sal/Memory.hpp index 60b5f0a0..ef370a90 100644 --- a/src/core/sal/Memory.hpp +++ b/src/core/sal/Memory.hpp @@ -60,12 +60,6 @@ public: * @param src Pointer to data to be copied. */ virtual void setBytes(guest_address_t addr, size_t cnt, void const *src) = 0; - /** - * Transforms the guest address \a addr to a host address. - * @param addr The guest address to be transformed - * @return the transformed (host) address or \c ADDR_INV on errors - */ - virtual host_address_t guestToHost(guest_address_t addr) = 0; }; } // end-of-namespace: fail diff --git a/src/core/sal/bochs/BochsMemory.hpp b/src/core/sal/bochs/BochsMemory.hpp index 1a9720e4..e54c2ce3 100644 --- a/src/core/sal/bochs/BochsMemory.hpp +++ b/src/core/sal/bochs/BochsMemory.hpp @@ -82,7 +82,7 @@ public: setByte(addr + i, s[i]); } /** - * Transforms the guest address \a addr to a host address. + * Transforms the guest address \a addr to a host address. Bochs specific. * @param addr The (logical) guest address to be transformed * @return the transformed (host) address or \c ADDR_INV on errors */ diff --git a/src/core/sal/ovp/OVPMemory.hpp b/src/core/sal/ovp/OVPMemory.hpp index 94c37401..ffce66de 100644 --- a/src/core/sal/ovp/OVPMemory.hpp +++ b/src/core/sal/ovp/OVPMemory.hpp @@ -60,12 +60,6 @@ public: * @param src Pointer to data to be copied. */ void setBytes(guest_address_t addr, size_t cnt, void const *src) { } - /** - * Transforms the guest address \a addr to a host address. - * @param addr The (logical) guest address to be transformed - * @return the transformed (host) address or \c ADDR_INV on errors - */ - host_address_t guestToHost(guest_address_t addr) { return 0; } }; } // end-of-namespace: fail