search for: __os

Displaying 5 results from an estimated 5 matches for "__os".

Did you mean: __op
2011 Jun 03
1
[LLVMdev] Thinking about "whacky" backends
...of preprocessor work. I'm also considering that perhaps the real best option here would be to add a new language feature to C++ (ie, invent a new language that is a strict superset of C++) for a simplistic control flow construct that only executes code on the specified system and architecture. __os(WinXP | WinVista | Win7, IA32) { [... 32-bit Windows code here ...] }, __os(WinXP | WinVista | Win7, AMD64) { [... 64-bit Windows code here ...] }, __os(Linux24 | Linux26, IA32) { [...32-bit Linux code here...] }, __os(Linux24 | Linux26, AMD64) { [... 64-bit Linux code here ...] }, __os( , ) { thro...
2012 Dec 06
1
Question on local_irq_save/local_irq_retore
...cal_irq_save() calls local_irq_disable(). But why there is no local_irq_enable() in local_irq_restore? #define local_irq_save(x) ({ local_save_flags(x); local_irq_disable(); }) #define local_irq_restore(x) ({ BUILD_BUG_ON(sizeof(x) != sizeof(long)); asm volatile ( "push" __OS " %0 ; popf" __OS : : "g" (x) : "memory", "cc" ); }) -- Xinxin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
2011 May 31
1
[LLVMdev] Expressiveness of column numbers in dwarf using clang 3.0?
On 31.05.2011 19:45, Devang Patel wrote: > > On May 31, 2011, at 10:36 AM, trash-stuff at gmx.de > <mailto:trash-stuff at gmx.de> wrote: > >> On 31.05.2011 19:22, Devang Patel wrote: >>> >>> On May 30, 2011, at 11:11 AM,trash-stuff at gmx.de >>> <mailto:trash-stuff at gmx.de>wrote: >>> >>>> Hi all, >>>>
2009 Jul 13
0
[PATCH, v2] x86-64: reduce symbol table size
...START + PML4_ENTRY_BYTES*2) @@ -259,6 +261,8 @@ extern unsigned int video_mode, video_fl #define __HYPERVISOR_DS32 0xe010 #define __HYPERVISOR_DS __HYPERVISOR_DS64 +#define SYMBOLS_ORIGIN XEN_VIRT_START + /* For generic assembly code: use macros to define operation/operand sizes. */ #define __OS "q" /* Operation Suffix */ #define __OP "r" /* Operand Prefix */ --- 2009-07-10.orig/xen/tools/symbols.c 2009-07-13 13:56:07.000000000 +0200 +++ 2009-07-10/xen/tools/symbols.c 2009-07-01 09:53:36.000000000 +0200 @@ -108,10 +108,7 @@ static int read_symbol(FI...
2009 Jan 30
4
modules not processing in order
Hello there I''m just testing a module (see merging directories) and it is quite involved, in that it: __generic__ 1) creates a user 2) creates a base directory 3) copies generic files (directory with recursion) 4) generate a configuration file from a template 5) creates a symlink __os specific__ 6) copies os specific files (in my scenario two folders, and an init script) 7) chkconfig''s the init script (this is on RHEL5) 8) starts the daemon. The module is ordered as outlined above, however on testing it i''m getting errors and warnings: - execute homedirectorie...