This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I can debug the "hello" example.but when
I reach the "====>" line ,I can't continue,why? Thanks very
much!
void
Cyg_Scheduler::start()
{ CYG_REPORT_FUNCTION(); // Get the first thread to run from scheduler register Cyg_Thread *next = scheduler.schedule();
CYG_ASSERTCLASS( next, "Bad initial thread" );
need_reschedule = false; // finished
rescheduling
current_thread = next; // restore current thread pointer #ifdef
CYGVAR_KERNEL_COUNTERS_CLOCK
// Reference the real time clock. This ensures that at least one // reference to the kernel_clock.o object exists, without which // the object will not be included while linking. CYG_REFERENCE_OBJECT( Cyg_Clock::real_time_clock ); #endif
// Let the interrupts
go
Cyg_Interrupt::enable_interrupts(); ====> HAL_THREAD_LOAD_CONTEXT( &next->stack_ptr ); } |
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |