haiku/headers/private
Travis Geiselbrecht 0098867364 this seems to solve the 'lock up on bootup on core 2' problem.
Basically, there was a pretty subtle race between the cpus in main where if the main cpu released the AP cpus and then before the AP cpus had a chance to run the boot cpu started creating the main thread (which causes smp ici messages to be created) the system would livelock, where the boot cpu waited forever for the AP cpu to acknowledge the ICI (for a TLB flush when creating the kernel stack).
Added smp_cpu_rendezvous(), used to synchronize all the cpus to a particular point, and used it a few times in main().
While i was at it i fixed another race that'll probably never happen, but what the hey. Make sure the kernel args are copied into kernel space by the main cpu before letting any other ones use it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 08:09:28 +00:00
..
app * Implemented BDragger::{Show|Hide}AllDraggers() and its backend in the app_server. 2007-02-21 07:57:21 +00:00
audio * added a bunch of drivers by Siarzhuk Zharski 2006-05-29 09:54:03 +00:00
debug Added support for looking up symbols of other team to libdebug. The 2005-07-16 21:12:32 +00:00
disk_scanner Changes due to the removal of the extended_partition_info::partition_code field. 2003-02-18 21:30:07 +00:00
drivers Fixed some bugs, partially by Oscar Lesta. 2005-07-19 17:19:02 +00:00
graphics Added Eric Petit's VMware graphics driver - thanks! 2007-01-14 14:16:06 +00:00
input input_server saves its settings on change, sending itself a 'Save' request message 2006-07-07 15:38:53 +00:00
interface * Implemented BDragger::{Show|Hide}AllDraggers() and its backend in the app_server. 2007-02-21 07:57:21 +00:00
kernel this seems to solve the 'lock up on bootup on core 2' problem. 2007-03-01 08:09:28 +00:00
libroot updated to tzcode2007a 2007-01-09 23:16:26 +00:00
mail Tried to get MDR to compile under Zeta RC3 but to no avail, with lots of 2006-01-01 23:59:24 +00:00
media build media kit with debug enabled, even for release builds 2006-03-07 13:24:19 +00:00
midi Made all server version and signatures consistent, and thus closing bug #909. 2006-10-22 17:56:02 +00:00
net * Moved some private members of net_socket into the new net_socket_private structure. 2006-12-19 03:01:18 +00:00
opengl/GL/internal updated mesa to 6.5.2 2007-02-15 23:40:43 +00:00
print Some printing related improvements: 2007-01-20 15:52:37 +00:00
runtime_loader Now supports symbolic links correctly, and no longer loads the same shared 2006-06-27 00:07:42 +00:00
screen_saver * ScreenCornerSelector is now a BControl and fully keyboard navigable. 2006-06-09 16:03:16 +00:00
shared This should fix intermitent KDLs (at least with console debug output). 2007-01-24 00:24:51 +00:00
storage Now it's self-containing. 2007-01-19 22:59:28 +00:00
syslog_daemon Implemented syslog support for the kernel debug output. Not fancy at all yet, but 2006-01-24 20:28:52 +00:00
textencoding use const char for parameters, uint to avoid warnings, and strcasecmp for name comparisons 2004-11-11 07:35:47 +00:00
tracker Added private libtracker headers, shared with Deskbar. 2005-05-23 00:24:17 +00:00
usb_vision * added a bunch of drivers by Siarzhuk Zharski 2006-05-29 09:54:03 +00:00
userlandfs * More debug output in the kernel module. 2007-03-01 04:56:08 +00:00