haiku/headers/build
Travis Geiselbrecht badc7b674e yet another fix for #1018, which has at this point blossomed into a reorg of how AP cpus are initialized.
the new cpuid stuff was apparently exacerbating an existing problem where various bits of low level
cpu code (specifically get_current_cpu) weren't really initialized before being used. Changed the
order to set up a fake set of threads to point each cpu at really early in boot to make sure that at
all points in code it can get the current 'thread' and thus the current cpu.
A probably better solution would be to have dr3 point to the current cpu which would then point to the 
current thread, but that has a race condition that would require an int disable, etc.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-19 00:11:24 +00:00
..
host/freebsd FreeBSD build platform support. Original patches courtesy of 2006-11-29 18:08:00 +00:00
os yet another fix for #1018, which has at this point blossomed into a reorg of how AP cpus are initialized. 2007-02-19 00:11:24 +00:00
private Fix ZETA build. 2006-11-04 20:11:29 +00:00
BeOSBuildCompatibility.h FreeBSD build platform support. Original patches courtesy of 2006-11-29 18:08:00 +00:00
HaikuBuildCompatibility.h Fixed non-Haiku build targets for libicon 2007-01-21 03:19:27 +00:00