Renamed i386_swap_pgdir() to x86_swap_pgdir.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37023 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-06-05 21:53:32 +00:00
parent 8421714089
commit fabdf00e6a
2 changed files with 4 additions and 4 deletions

View File

@ -276,8 +276,8 @@ void i386_context_switch(struct arch_thread* oldState,
void x86_userspace_thread_exit(void);
void x86_end_userspace_thread_exit(void);
void x86_enter_userspace(addr_t entry, addr_t stackTop);
void x86_swap_pgdir(uint32 newPageDir);
void i386_set_tss_and_kstack(addr_t kstack);
void i386_swap_pgdir(uint32 newPageDir);
void i386_fnsave(void* fpuState);
void i386_fxsave(void* fpuState);
void i386_frstor(const void* fpuState);

View File

@ -141,12 +141,12 @@ skip_pgdir_swap:
ret
FUNCTION_END(i386_context_switch)
/* void i386_swap_pgdir(uint32 new_pgdir); */
FUNCTION(i386_swap_pgdir):
/* void x86_swap_pgdir(uint32 newPageDir); */
FUNCTION(x86_swap_pgdir):
movl 4(%esp),%eax
movl %eax,%cr3
ret
FUNCTION_END(i386_swap_pgdir)
FUNCTION_END(x86_swap_pgdir)
/* thread exit stub - is copied to the userspace stack in arch_thread_enter_uspace() */
.align 4