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();
|
virtual ~VMAddressSpace();
|
||||||
|
|
||||||
static status_t Init();
|
static status_t Init();
|
||||||
static status_t InitPostSem();
|
|
||||||
|
|
||||||
team_id ID() const { return fID; }
|
team_id ID() const { return fID; }
|
||||||
addr_t Base() const { return fBase; }
|
addr_t Base() const { return fBase; }
|
||||||
|
@ -23,8 +23,6 @@ struct VMTranslationMap {
|
|||||||
VMTranslationMap();
|
VMTranslationMap();
|
||||||
virtual ~VMTranslationMap();
|
virtual ~VMTranslationMap();
|
||||||
|
|
||||||
virtual status_t InitPostSem() = 0;
|
|
||||||
|
|
||||||
virtual bool Lock() = 0;
|
virtual bool Lock() = 0;
|
||||||
virtual void Unlock() = 0;
|
virtual void Unlock() = 0;
|
||||||
|
|
||||||
|
@ -136,8 +136,6 @@ struct PPCVMTranslationMap : VMTranslationMap {
|
|||||||
page_table_entry* LookupPageTableEntry(addr_t virtualAddress);
|
page_table_entry* LookupPageTableEntry(addr_t virtualAddress);
|
||||||
bool RemovePageTableEntry(addr_t virtualAddress);
|
bool RemovePageTableEntry(addr_t virtualAddress);
|
||||||
|
|
||||||
virtual status_t InitPostSem();
|
|
||||||
|
|
||||||
virtual bool Lock();
|
virtual bool Lock();
|
||||||
virtual void Unlock();
|
virtual void Unlock();
|
||||||
|
|
||||||
@ -365,13 +363,6 @@ PPCVMTranslationMap::Init(bool kernel)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
|
||||||
PPCVMTranslationMap::InitPostSem()
|
|
||||||
{
|
|
||||||
return B_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
PPCVMTranslationMap::Lock()
|
PPCVMTranslationMap::Lock()
|
||||||
{
|
{
|
||||||
|
@ -23,8 +23,6 @@ struct X86VMTranslationMap : VMTranslationMap {
|
|||||||
inline uint32 PhysicalPageDir() const
|
inline uint32 PhysicalPageDir() const
|
||||||
{ return fPagingStructures->pgdir_phys; }
|
{ return fPagingStructures->pgdir_phys; }
|
||||||
|
|
||||||
virtual status_t InitPostSem();
|
|
||||||
|
|
||||||
virtual bool Lock();
|
virtual bool Lock();
|
||||||
virtual void Unlock();
|
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
|
/*! Acquires the map's recursive lock, and resets the invalidate pages counter
|
||||||
in case it's the first locking recursion.
|
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
|
/*! Deletes all areas in the specified address space, and the address
|
||||||
space by decreasing all reference counters. It also marks the
|
space by decreasing all reference counters. It also marks the
|
||||||
address space of being in deletion state, so that no more areas
|
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
|
// exists, it isn't that hard to find all of the ones we need to create
|
||||||
|
|
||||||
arch_vm_translation_map_init_post_sem(args);
|
arch_vm_translation_map_init_post_sem(args);
|
||||||
VMAddressSpace::InitPostSem();
|
|
||||||
|
|
||||||
slab_init_post_sem();
|
slab_init_post_sem();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user