[syslinux] [RFC][PATCH] fsc: convert the highmem.inc from assembly to C code
H. Peter Anvin
hpa at zytor.com
Mon Mar 1 10:20:21 PST 2010
On 12/19/2009 04:49 AM, Liu Aleaxander wrote:
> Hi feng,
>
> On Fri, Dec 18, 2009 at 9:44 PM, Feng Tang <feng.tang at intel.com> wrote:
>> +static void *hex_dump(void *start, int dlen, const char *str)
>> +{
>> + uint32_t *data = start;
>> + uint32_t i;
>> +
>> + printf("Dump info for %s:\n", str);
>> + for (i = 0; i < dlen; i++)
>> + printf(" %08x ", data[i]);
>> + printf("\n");
>> +}
>
> I submitted a hexdump lib patch a few days ago, and it is really good
> for debugging. You can check it at here:
> http://syslinux.zytor.com/archives/2009-December/013585.html .
>
> And, hpa, I haven't merged it into my git tree, since I think it would
> be better to let it be sited in com32/lib/ directory as a generic lib
> function. So, hpa, what's your opinion?
>
Haven't seen a strong need for it yet, but I'll keep that in mind.
-hpa
More information about the Syslinux
mailing list