[ES40-developers] ide debug compile fix -- and timing questions
Status: Alpha
Brought to you by:
iamcamiel
From: Brian W. <bdw...@in...> - 2008-03-27 13:28:13
|
It looks like a variable declaration got dropped at some point. In AliM1543C_ide.cpp, add u32 base,control; at line 1108, right before the do { block. Now for the bigger problem: IDE instability. I've been pounding on it, thinking that I've got some goofy lock problem, but after a quick experiment it turns out that its not the case. I removed all of the locking and it worked just fine -- in the sense that it behaves exactly the same as when locking is enabled. So, that begs a much bigger question: is it the threading or the cpu clock that's causing the trouble? They both happened nearly at the same time so I just assumed that there was locking issues, but I'm becoming more concerned about the clock. So...how does the clock work now compared to the single-threaded clock? Brian |