haiku/headers/private/kernel/arch/ppc
Ingo Weinhold 262e0a636b We use the same strategy for computing the system time as on x86 now.
The time base conversion factor is the 32 bit value
  2^32 * 1000000 / time base frequency,
so the system time can be computed by
  system time = time base * conversion factor / 2^32.
The expression in system_time() looks more complicated now, but is
actually much faster (factor 2.5 on my Mac mini). I'm positively
surprised, how good the assembly looks, that GCC 4 generates. There's
not that much potential for optimization by hand-coding the function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-07 23:05:56 +00:00
..
arch_config.h Added definitions that describe the stack direction. 2004-11-18 14:43:28 +00:00
arch_cpu.h We use the same strategy for computing the system time as on x86 now. 2006-01-07 23:05:56 +00:00
arch_elf.h Added missing PPC relocation type. 2005-12-30 19:49:42 +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_args.h * Find out a few interesting information about the system (like CPU, 2006-01-03 13:30:23 +00:00
arch_kernel.h Added missing or changed/removed outdated PPC headers. 2003-05-03 12:49:57 +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_platform.h Added "shutdown" debugger command. Implemented arch_cpu_shutdown() for 2006-01-07 22:49:43 +00:00
arch_real_time_data.h We use the same strategy for computing the system time as on x86 now. 2006-01-07 23:05:56 +00:00
arch_system_info.h Added missing arch_system_info.h header. 2005-01-20 18:00:33 +00:00
arch_thread_types.h Replaced arch/thread_struct.h with arch/thread_types.h, and renamed 2005-12-20 16:07:27 +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_translation_map.h * Refactored arch_vm_translation_map_init_post_area() a bit: Pulled out 2006-01-02 03:30:58 +00:00
arch_vm_types.h The short story: we now have MTRR support on Intel and AMD CPUs (the latter 2005-12-13 16:34:29 +00:00
arch_vm.h * vm_page::offset is now called cache_offset and is now an uint32 instead of off_t; 2005-12-21 12:38:31 +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
types.h It is accomplished ... 2002-07-09 12:24:59 +00:00