qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch 1/4] Increase write buffer size in pflash emulat


From: andrzej zaborowski
Subject: Re: [Qemu-devel] [patch 1/4] Increase write buffer size in pflash emulation
Date: Sat, 4 Oct 2008 01:05:55 +0200

2008/10/2 Thomas Petazzoni <address@hidden>:
> --- qemu.orig/hw/pflash_cfi01.c
> +++ qemu/hw/pflash_cfi01.c
> @@ -200,7 +200,7 @@
>  {
>     target_ulong boff;
>     uint8_t *p;
> -    uint8_t cmd;
> +    uint16_t cmd;
>
>     cmd = value;

I think the function of this assignment might have been to clip the
command to one byte also.

How about chaging pfl->counter = cmd; to pfl->counter = value;?

Cheers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]