- cleanup
- remove dead ppc code - add support for probing hardware registers the way linux does (early, hook with VBR to trap faults) - detect MFPs this way. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28031 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -436,6 +436,10 @@ extern void m68k_context_switch(void **_oldStackPointer, void *newStackPointer);
|
||||
extern bool m68k_set_fault_handler(addr_t *handlerLocation, addr_t handler)
|
||||
__attribute__((noinline));
|
||||
|
||||
extern bool m68k_is_hw_register_readable(addr_t address);
|
||||
extern bool m68k_is_hw_register_writable(addr_t address, uint16 value);
|
||||
// defined in kernel: arch/m68k/cpu_asm.S
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user