|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: [RFC PATCH 10/35] Add a new head.S start-of-dayfile
>> + * __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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Re: [Xen-devel] Re: [RFC PATCH 10/35] Add a new head.S start-of-dayfile for booting on Xen.,
Jan Beulich <=
|
|
|
|
|