From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 3 Oct 2008 12:30:33 +0000 (GMT) From: Gabriele Moabiti MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-151598186-1223037033=:12208" Message-ID: <118594.12208.qm@domain.hid> Subject: [Xenomai-help] trap exceptions in user List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org --0-151598186-1223037033=:12208 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0AI need to trap and manage exceptions (floating point for example).=0AI = want to execute at user domain (x86-ring 3) something like that=0A=0Areal_t= ime_task function:=0A{=0A (for example fpu_handle= r)=0A=0A (this code need custom management of= exceptions)=0A=0A =0A}=0A=0Afpu_handler funct= ion=0A{=0A ...=0A}=0A=0AI need to customize some exception (fpu is the mos= t important) inside real time.=0AHow can I do that?=0AIs it possible in th= e rt user domain? And what about that in the rt-kernel domain?=0A=0AThank y= ou=0A=0A=0A Scopri il blog di Yahoo! Mail:=0ATrucchi, novit=C3=A0 e la= tua opinione.=0Ahttp://www.ymailblogit.com/blog --0-151598186-1223037033=:12208 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

I need to trap and manage  exceptions (floati= ng point for example).
I want to execute at user domain (x86-ring 3) som= ething like that

real_time_task function:
{
  <set exc= eption handlers> (for example fpu_handler)

  <real time c= ode (asm x86)>  (this code need  custom management of exceptio= ns)

  <release exception handlers>
}

fpu_handle= r function
{
  ...
}

I need to customize some exceptio= n (fpu is the most important) inside real time.
How can I do that?
Is= it possible in  the rt user domain? And what about that in the rt-ker= nel domain?

Thank you


=0A=0A=0A=0A
Scopri il Blog di Yahoo! Mail: trucchi, novit=C3=A0, co= nsigli... e anche la tua opinione! --0-151598186-1223037033=:12208--