mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/block: replace TABs with space
Bring the block files in line with the QEMU coding style, with spaces for indentation. This patch partially resolves the issue 371. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/371 Signed-off-by: Yeqi Fu <fufuyqqqqqq@gmail.com> Message-Id: <20230314095001.13801-1-fufuyqqqqqq@gmail.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
0030b244a7
commit
d091b5b442
5 changed files with 248 additions and 248 deletions
|
@ -412,11 +412,11 @@ static void onenand_command(OneNANDState *s)
|
||||||
sec = (s->addr[page] & 3) + \
|
sec = (s->addr[page] & 3) + \
|
||||||
((((s->addr[page] >> 2) & 0x3f) + \
|
((((s->addr[page] >> 2) & 0x3f) + \
|
||||||
(((s->addr[block] & 0xfff) | \
|
(((s->addr[block] & 0xfff) | \
|
||||||
(s->addr[block] >> 15 ? \
|
(s->addr[block] >> 15 ? s->density_mask : 0)) \
|
||||||
s->density_mask : 0)) << 6)) << (PAGE_SHIFT - 9));
|
<< 6)) \
|
||||||
|
<< (PAGE_SHIFT - 9));
|
||||||
#define SETBUF_M() \
|
#define SETBUF_M() \
|
||||||
buf = (s->bufaddr & 8) ? \
|
buf = (s->bufaddr & 8) ? s->data[(s->bufaddr >> 2) & 1][0] : s->boot[0]; \
|
||||||
s->data[(s->bufaddr >> 2) & 1][0] : s->boot[0]; \
|
|
||||||
buf += (s->bufaddr & 3) << 9;
|
buf += (s->bufaddr & 3) << 9;
|
||||||
#define SETBUF_S() \
|
#define SETBUF_S() \
|
||||||
buf = (s->bufaddr & 8) ? \
|
buf = (s->bufaddr & 8) ? \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue