Removed unused functions, the C++ extern "C" now spans over all functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3236 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -16,36 +16,27 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
int atomic_add(volatile int *val, int incr);
|
||||
int atomic_and(volatile int *val, int incr);
|
||||
int atomic_or(volatile int *val, int incr);
|
||||
int atomic_set(volatile int *val, int set_to);
|
||||
int test_and_set(int *val, int set_to, int test_val);
|
||||
*/
|
||||
|
||||
bigtime_t system_time(void);
|
||||
int arch_cpu_preboot_init(kernel_args *ka);
|
||||
int arch_cpu_init(kernel_args *ka);
|
||||
int arch_cpu_init2(kernel_args *ka);
|
||||
void reboot(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
void arch_cpu_invalidate_TLB_range(addr start, addr end);
|
||||
void arch_cpu_invalidate_TLB_list(addr pages[], int num_pages);
|
||||
void arch_cpu_global_TLB_invalidate(void);
|
||||
|
||||
int arch_cpu_user_memcpy(void *to, const void *from, size_t size, addr *fault_handler);
|
||||
int arch_cpu_user_strcpy(char *to, const char *from, addr *fault_handler);
|
||||
int arch_cpu_user_strncpy(char *to, const char *from, size_t size, addr *fault_handler);
|
||||
int arch_cpu_user_strlcpy(char *to, const char *from, size_t size, addr *fault_handler);
|
||||
int arch_cpu_user_memset(void *s, char c, size_t count, addr *fault_handler);
|
||||
int arch_cpu_user_memcpy(void *to, const void *from, size_t size, addr *faultHandler);
|
||||
int arch_cpu_user_strcpy(char *to, const char *from, addr *faultHandler);
|
||||
int arch_cpu_user_strncpy(char *to, const char *from, size_t size, addr *faultHandler);
|
||||
int arch_cpu_user_strlcpy(char *to, const char *from, size_t size, addr *faultHandler);
|
||||
int arch_cpu_user_memset(void *s, char c, size_t count, addr *faultHandler);
|
||||
|
||||
void arch_cpu_idle(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#include <arch_cpu.h>
|
||||
|
||||
#endif /* _KERNEL_ARCH_CPU_H */
|
||||
|
||||
Reference in New Issue
Block a user