Skip to content

Commit

Permalink
Remove unused Process getVirtualAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
djphoenix committed Nov 22, 2016
1 parent 5994b5e commit 7a696d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/process/include/process.hpp
Expand Up @@ -58,6 +58,5 @@ class Process {
void readData(void* dst, uintptr_t address, size_t size);
char* readString(uintptr_t address);

uintptr_t getVirtualAddress(void* addr) CONST;
void* getPhysicalAddress(uintptr_t ptr) PURE;
};
5 changes: 0 additions & 5 deletions src/process/process.cpp
Expand Up @@ -196,11 +196,6 @@ char *Process::readString(uintptr_t address) {
readData(buf, address, length + 1);
return buf;
}
uintptr_t Process::getVirtualAddress(void* addr) {
(void)addr;
// TODO: make this work
return 0;
}
void *Process::getPhysicalAddress(uintptr_t ptr) {
if (pagetable == 0)
return 0;
Expand Down

0 comments on commit 7a696d2

Please sign in to comment.