Jan Beulich
2006-Mar-22 19:30 UTC
Re: [Xen-devel] Re: [RFC PATCH 10/35] Add a new head.S start-of-dayfile for booting on Xen.
>> + * __xen_guest information >> + */ >> +.macro utoa value >> + .if (\value) < 0 || (\value) >= 0x10 >> + utoa (((\value)>>4)&0x0fffffff) >> + .endif >> + .if ((\value) & 0xf) < 10 >> + .byte ''0'' + ((\value) & 0xf) >> + .else >> + .byte ''A'' + ((\value) & 0xf) - 10 >> + .endif >> +.endm > >Interesting macro abuse.Abuse? That''s what macros are for, I thought. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Apparently Analagous Threads
- [PATCH 4/5] XEN: Remove __xen_guest section
- [PATCH] linux/x86-64: fix unwind annotations
- [PATCH 0/3] x86: adjust entry frame generation
- [PATCH v2] x86, kbuild: revert macrofying inline assembly code
- [PATCH] kbuild, x86: revert macros in extended asm workarounds