haiku/headers/private/kernel/arch/ppc
Axel Dörfler b20667b35b {install|remove}_io_interrupt_handler() now correctly handle the B_NO_ENABLE_COUNTER flag.
Lots of cleanup:
- moved B_NO_ENABLE_COUNTER flag definition out of int.h to KernelExport.h, as it's
  described in the BeBook (although it's probably not really used that often :))
- int.c no longer has any platform dependent code (+ 0x20 on interrupt numbers is gone);
  it's now entirely handled in the arch/x86/ section.
- the io_vectors[] is now statically initialized, instead of allocated from the heap
- removed {install|remove}_interrupt_handler(); they weren't that useful, arch_smp_init()
  is now calling install_io_interrupt_handler() correctly instead
- introduced a new arch_int.h header file that currently contains NUM_IO_VECTORS only
  (though on x86, it also has ARCH_INTERRUPT_BASE == 0x20).
- changed the return type from {install|remove}_io_interrupt_handler() from "long" to
  "status_t"
- rearranged and cleaned the PIC initialization code, made the PIC code more prominent
- changed comments that talk about a non existing 8239 (the PIC chip is actually 8259)
- moved arch/x86/interrupts.h to the source directory, as it's not used outside
- added BeOS compatible interrupts_enabled() function, that should replace our
  equivalent (and private) are_interrupts_enabled()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-27 01:08:35 +00:00
..
arch_config.h Added definitions that describe the stack direction. 2004-11-18 14:43:28 +00:00
arch_cpu.h Added the arch_config.h file for PPC, moved some stuff out of arch_cpu.h. 2004-09-11 11:04:23 +00:00
arch_elf.h Added missing or changed/removed outdated PPC headers. 2003-05-03 12:49:57 +00:00
arch_int.h {install|remove}_io_interrupt_handler() now correctly handle the B_NO_ENABLE_COUNTER flag. 2005-04-27 01:08:35 +00:00
arch_kernel.h Added missing or changed/removed outdated PPC headers. 2003-05-03 12:49:57 +00:00
arch_kernel_args.h Adoption of Travis' PPC code. Changed where needed. 2003-10-17 13:58:41 +00:00
arch_mmu.h Added functions to set and get the segment register (as segment_descriptor). 2003-10-21 03:07:44 +00:00
arch_system_info.h Added missing arch_system_info.h header. 2005-01-20 18:00:33 +00:00
arch_thread.h Added missing or changed/removed outdated PPC headers. 2003-05-03 12:49:57 +00:00
arch_user_debugger.h Added empty arch_user_debugger.h header. 2005-03-03 06:11:08 +00:00
arch_vm.h Introduced new arch_vm.h header. 2004-12-10 18:48:31 +00:00
arch_vm_translation_map.h Adoption of Travis' PPC code. Changed where needed. 2003-10-17 13:58:41 +00:00
cpu.h It is accomplished ... 2002-07-09 12:24:59 +00:00
kernel.h It is accomplished ... 2002-07-09 12:24:59 +00:00
ktypes.h It is accomplished ... 2002-07-09 12:24:59 +00:00
stage2_priv.h It is accomplished ... 2002-07-09 12:24:59 +00:00
thread_struct.h Added empty arch_fork_arg structure. 2004-11-04 16:46:02 +00:00
types.h It is accomplished ... 2002-07-09 12:24:59 +00:00