lkml.org 
[lkml]   [2005]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] I-pipe: x86 port
From
Date
On Sat, 2005-06-18 at 01:21 +0200, Philippe Gerum wrote:

> +#define local_save_flags(x) ((x) = __ipipe_test_root())
> +#define local_irq_save(x) ((x) = __ipipe_test_and_stall_root())
> +#define local_irq_restore(x) __ipipe_restore_root(x)
> +#define local_irq_disable() __ipipe_stall_root()
> +#define local_irq_enable() __ipipe_unstall_root()
> +
> +#define irqs_disabled() __ipipe_test_root()


If you want to integrate with newer RT patches , (I'm not sure which one
this is on) .. You could modify the above so that it uses the soft irq's
off flags . So if linux is in a soft irq disable than it's equal to a
stall on the ipipe ..

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-21 00:37    [W:0.092 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site