mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hw/sh4: Coding style: Remove tabs
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp> Message-Id: <2d9b2c470ec022cc85a25b3e5de337b5e794f7f6.1635541329.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
dd61b91c08
commit
b3793b8a91
6 changed files with 1224 additions and 1225 deletions
34
hw/sh4/r2d.c
34
hw/sh4/r2d.c
|
@ -56,10 +56,10 @@
|
|||
#define LINUX_LOAD_OFFSET 0x0800000
|
||||
#define INITRD_LOAD_OFFSET 0x1800000
|
||||
|
||||
#define PA_IRLMSK 0x00
|
||||
#define PA_POWOFF 0x30
|
||||
#define PA_VERREG 0x32
|
||||
#define PA_OUTPORT 0x36
|
||||
#define PA_IRLMSK 0x00
|
||||
#define PA_POWOFF 0x30
|
||||
#define PA_VERREG 0x32
|
||||
#define PA_OUTPORT 0x36
|
||||
|
||||
typedef struct {
|
||||
uint16_t bcr;
|
||||
|
@ -96,19 +96,19 @@ enum r2d_fpga_irq {
|
|||
};
|
||||
|
||||
static const struct { short irl; uint16_t msk; } irqtab[NR_IRQS] = {
|
||||
[CF_IDE] = { 1, 1<<9 },
|
||||
[CF_CD] = { 2, 1<<8 },
|
||||
[PCI_INTA] = { 9, 1<<14 },
|
||||
[PCI_INTB] = { 10, 1<<13 },
|
||||
[PCI_INTC] = { 3, 1<<12 },
|
||||
[PCI_INTD] = { 0, 1<<11 },
|
||||
[SM501] = { 4, 1<<10 },
|
||||
[KEY] = { 5, 1<<6 },
|
||||
[RTC_A] = { 6, 1<<5 },
|
||||
[RTC_T] = { 7, 1<<4 },
|
||||
[SDCARD] = { 8, 1<<7 },
|
||||
[EXT] = { 11, 1<<0 },
|
||||
[TP] = { 12, 1<<15 },
|
||||
[CF_IDE] = { 1, 1<<9 },
|
||||
[CF_CD] = { 2, 1<<8 },
|
||||
[PCI_INTA] = { 9, 1<<14 },
|
||||
[PCI_INTB] = { 10, 1<<13 },
|
||||
[PCI_INTC] = { 3, 1<<12 },
|
||||
[PCI_INTD] = { 0, 1<<11 },
|
||||
[SM501] = { 4, 1<<10 },
|
||||
[KEY] = { 5, 1<<6 },
|
||||
[RTC_A] = { 6, 1<<5 },
|
||||
[RTC_T] = { 7, 1<<4 },
|
||||
[SDCARD] = { 8, 1<<7 },
|
||||
[EXT] = { 11, 1<<0 },
|
||||
[TP] = { 12, 1<<15 },
|
||||
};
|
||||
|
||||
static void update_irl(r2d_fpga_t *fpga)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue