- missing ppc stub
- kernel_m68K almost links now, jsut bails out on the linker script... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26096 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
|
||||
#define SR_IP_MASK 0x0700
|
||||
#define SR_S 0x2000
|
||||
#define M68K_SR_T_MASK 0xC000
|
||||
#define M68K_SR_T0 14
|
||||
#define M68K_SR_T1 15
|
||||
|
||||
#ifndef _ASSEMBLER
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ struct m68k_vm_ops {
|
||||
status_t (*arch_vm_translation_map_early_map)(kernel_args *ka, addr_t virtualAddress, addr_t physicalAddress,
|
||||
uint8 attributes, addr_t (*get_free_page)(kernel_args *));
|
||||
status_t (*arch_vm_translation_map_early_query)(addr_t va, addr_t *out_physical);
|
||||
void (*m68k_set_pgdir)(void *);
|
||||
#if 0 /* ppc stuff only ? */
|
||||
status_t (*m68k_map_address_range)(addr_t virtualAddress, addr_t physicalAddress,
|
||||
size_t size);
|
||||
@@ -33,5 +34,17 @@ struct m68k_vm_ops {
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct m68k_vm_ops *get_vm_ops();
|
||||
|
||||
extern void *m68k_translation_map_get_pgdir(vm_translation_map *map);
|
||||
extern void m68k_set_pgdir(void *rt);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ARCH_M68K_VM_H */
|
||||
|
||||
Reference in New Issue
Block a user