Compilation fix

This commit is contained in:
Nekotekina 2014-08-31 03:06:43 +04:00
parent 367b8e7129
commit ff3df64a26
9 changed files with 27 additions and 34 deletions

View file

@ -2,12 +2,14 @@
namespace vm
{
//TODO
bool check_addr(u32 addr)
{
// Checking address before using it is unsafe.
// The only safe way to check it is to protect both actions (checking and using) with mutex that is used for mapping/allocation.
return false;
}
//TODO
bool map(u32 addr, u32 size, u32 flags)
{
return false;
@ -32,13 +34,7 @@ namespace vm
return 0;
}
bool read32(u32 addr, u32& value)
void write32(u32 addr, u32 value)
{
return false;
}
bool write32(u32 addr, u32 value)
{
return false;
}
}