Removed no-op VMTranslationMap::InitPostSem() and
VMAddressSpace::InitPostSem(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37025 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c3e021e862
commit
1ba89e67ed
@ -27,7 +27,6 @@ public:
|
||||
virtual ~VMAddressSpace();
|
||||
|
||||
static status_t Init();
|
||||
static status_t InitPostSem();
|
||||
|
||||
team_id ID() const { return fID; }
|
||||
addr_t Base() const { return fBase; }
|
||||
|
@ -23,8 +23,6 @@ struct VMTranslationMap {
|
||||
VMTranslationMap();
|
||||
virtual ~VMTranslationMap();
|
||||
|
||||
virtual status_t InitPostSem() = 0;
|
||||
|
||||
virtual bool Lock() = 0;
|
||||
virtual void Unlock() = 0;
|
||||
|
||||
|
@ -136,8 +136,6 @@ struct PPCVMTranslationMap : VMTranslationMap {
|
||||
page_table_entry* LookupPageTableEntry(addr_t virtualAddress);
|
||||
bool RemovePageTableEntry(addr_t virtualAddress);
|
||||
|
||||
virtual status_t InitPostSem();
|
||||
|
||||
virtual bool Lock();
|
||||
virtual void Unlock();
|
||||
|
||||
@ -365,13 +363,6 @@ PPCVMTranslationMap::Init(bool kernel)
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
PPCVMTranslationMap::InitPostSem()
|
||||
{
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
PPCVMTranslationMap::Lock()
|
||||
{
|
||||
|
@ -23,8 +23,6 @@ struct X86VMTranslationMap : VMTranslationMap {
|
||||
inline uint32 PhysicalPageDir() const
|
||||
{ return fPagingStructures->pgdir_phys; }
|
||||
|
||||
virtual status_t InitPostSem();
|
||||
|
||||
virtual bool Lock();
|
||||
virtual void Unlock();
|
||||
|
||||
|
@ -378,13 +378,6 @@ X86VMTranslationMap::Init(bool kernel)
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
X86VMTranslationMap::InitPostSem()
|
||||
{
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
/*! Acquires the map's recursive lock, and resets the invalidate pages counter
|
||||
in case it's the first locking recursion.
|
||||
*/
|
||||
|
@ -137,17 +137,6 @@ VMAddressSpace::Init()
|
||||
}
|
||||
|
||||
|
||||
/*static*/ status_t
|
||||
VMAddressSpace::InitPostSem()
|
||||
{
|
||||
status_t status = sKernelAddressSpace->fTranslationMap->InitPostSem();
|
||||
if (status != B_OK)
|
||||
return status;
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
/*! Deletes all areas in the specified address space, and the address
|
||||
space by decreasing all reference counters. It also marks the
|
||||
address space of being in deletion state, so that no more areas
|
||||
|
@ -3713,7 +3713,6 @@ vm_init_post_sem(kernel_args* args)
|
||||
// exists, it isn't that hard to find all of the ones we need to create
|
||||
|
||||
arch_vm_translation_map_init_post_sem(args);
|
||||
VMAddressSpace::InitPostSem();
|
||||
|
||||
slab_init_post_sem();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user