[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Context Switch Problem
- Date: Fri, 12 May 2006 09:20:52 -0500
- From: joel.sherrill at oarcorp.com (Joel Sherrill)
- Subject: Context Switch Problem
Chris Johns wrote:
> Samuel Bitton wrote:
>> I'm currently working on a new RTEMS BSP for a custom made board
>> based around the i386ex processor.
>> The software currently breaks towards the end of RTEMS
>> initialisation, at the point where it is doing the first context
>> switch (_Context_Switch called at the end of
>> My application only has one small init task which toggles a line
>> Any idea what could be going wrong.
>> I'm using RTEMS 4.6.4.
> Have you look over this page:
> It has some reasons a BSP can fail.
And the most likely reason is included there -- an interrupt is pending
and you are taking
an exception. The first context switch enables CPU interrupts and any
device not in a
quiescent state will slap you here. :)