Replaced all remaining PAGE_SIZE with B_PAGE_SIZE, addr with addr_t.

Removed the definition of PAGE_SIZE and addr.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9433 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-10-20 00:33:06 +00:00
parent 3cbdc52595
commit afad65ded7
10 changed files with 45 additions and 47 deletions
+5 -7
View File
@@ -8,8 +8,6 @@
#include <ktypes.h>
#include <arch/x86/descriptors.h>
#define PAGE_SIZE 4096
struct tss {
uint16 prev_task;
uint16 unused0;
@@ -88,11 +86,11 @@ struct iframe {
struct arch_thread;
void setup_system_time(unsigned int cv_factor);
void i386_context_switch(struct arch_thread *old_state, struct arch_thread *new_state, addr new_pgdir);
void i386_enter_uspace(addr entry, void *args1, void *args2, addr ustack_top);
void i386_set_tss_and_kstack(addr kstack);
void i386_switch_stack_and_call(addr stack, void (*func)(void *), void *arg);
void i386_swap_pgdir(addr new_pgdir);
void i386_context_switch(struct arch_thread *old_state, struct arch_thread *new_state, addr_t new_pgdir);
void i386_enter_uspace(addr_t entry, void *args1, void *args2, addr_t ustack_top);
void i386_set_tss_and_kstack(addr_t kstack);
void i386_switch_stack_and_call(addr_t stack, void (*func)(void *), void *arg);
void i386_swap_pgdir(addr_t new_pgdir);
void i386_fsave(void *fpu_state);
void i386_fxsave(void *fpu_state);
void i386_frstor(void *fpu_state);