[syslinux] [RFC][PATCH] fsc: convert the highmem.inc from assembly to C code

Liu Aleaxander aleaxander at gmail.com
Sat Dec 19 04:49:10 PST 2009


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?

Thanks!

-- 
regards
Liu Aleaxander




More information about the Syslinux mailing list