Small changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2466 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fa0e80da02
commit
6c18c9fa14
@ -174,11 +174,10 @@ void vpage::unlock(long flags) {
|
||||
}
|
||||
|
||||
char vpage::getByte(unsigned long address,areaManager *manager) {
|
||||
// error ("vpage::getByte: address = %ld\n",address );
|
||||
if (!physPage)
|
||||
if (!manager->fault((void *)(address),false))
|
||||
throw ("vpage::getByte");
|
||||
// error ("vpage::getByte: About to return %d\n", *((char *)(address-start_address+physPage->getAddress())));
|
||||
error ("vpage::getByte: About to return %c from %x\n", *((char *)(address-start_address+physPage->getAddress())),(address-start_address+physPage->getAddress()));
|
||||
return *((char *)(address-start_address+physPage->getAddress()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user