Message-ID: Date: Tue, 21 Feb 2006 22:20:45 +0100 From: "Jeroen Van den Keybus" Subject: Re: [Xenomai-help] no-brainer issue found, but not solved In-Reply-To: <43FB5DB1.2000703@domain.hid> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6297_25822216.1140556845154" References: <43FB5DB1.2000703@domain.hid> List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: "xenomai@xenomai.org" ------=_Part_6297_25822216.1140556845154 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline It would be helpful if a complete code could be posted. That means, including the main() function, in which the task dispatching is done as well. Furthermore, be sure to declare counting variables inside waiting loops wit= h the 'volatile' specifier. The compiler might optimize it away otherwise. Another, maybe dumb suggestion: how is inb() / outb() actually implemented on your platform ? Jeroen. ------=_Part_6297_25822216.1140556845154 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
It would be helpful if a complete code could be posted. That means, in= cluding the main() function, in which the task dispatching is done as well.=
 
Furthermore, be sure to declare counting variables inside waiting= loops with the 'volatile' specifier. The compiler might optimize it away o= therwise.
 
Another, maybe dumb suggestion: how is inb() / outb() actually im= plemented on your platform ?
 
 
Jeroen.
 
------=_Part_6297_25822216.1140556845154--