diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-02-18 07:33:52 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-02-18 11:22:10 -0800 |
commit | 422a26489e6b7371ad7ef615252340f7b4992933 (patch) | |
tree | 6d8d27a414ff6e09307fefb21be664025d6f9a46 /hw/hppa | |
parent | eb9b2ee8f68e1cb1f6b7cb6dee0c86492fae2f30 (diff) | |
download | qemu-422a26489e6b7371ad7ef615252340f7b4992933.zip qemu-422a26489e6b7371ad7ef615252340f7b4992933.tar.gz qemu-422a26489e6b7371ad7ef615252340f7b4992933.tar.bz2 |
hw/hppa/dino: Add comments with register name
Add a comment with the name of each register in the 0x800-0x8ff range.
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200218063355.18577-2-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/hppa')
-rw-r--r-- | hw/hppa/dino.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/hw/hppa/dino.c b/hw/hppa/dino.c index 9797a7f..c237ad3 100644 --- a/hw/hppa/dino.c +++ b/hw/hppa/dino.c @@ -85,18 +85,18 @@ #define DINO800_REGS ((DINO_TLTIM - DINO_GMASK) / 4) static const uint32_t reg800_keep_bits[DINO800_REGS] = { - MAKE_64BIT_MASK(0, 1), - MAKE_64BIT_MASK(0, 7), - MAKE_64BIT_MASK(0, 7), - MAKE_64BIT_MASK(0, 8), - MAKE_64BIT_MASK(0, 7), - MAKE_64BIT_MASK(0, 9), - MAKE_64BIT_MASK(0, 32), - MAKE_64BIT_MASK(0, 8), - MAKE_64BIT_MASK(0, 30), - MAKE_64BIT_MASK(0, 25), - MAKE_64BIT_MASK(0, 22), - MAKE_64BIT_MASK(0, 9), + MAKE_64BIT_MASK(0, 1), /* GMASK */ + MAKE_64BIT_MASK(0, 7), /* PAMR */ + MAKE_64BIT_MASK(0, 7), /* PAPR */ + MAKE_64BIT_MASK(0, 8), /* DAMODE */ + MAKE_64BIT_MASK(0, 7), /* PCICMD */ + MAKE_64BIT_MASK(0, 9), /* PCISTS */ + MAKE_64BIT_MASK(0, 32), /* Undefined */ + MAKE_64BIT_MASK(0, 8), /* MLTIM */ + MAKE_64BIT_MASK(0, 30), /* BRDG_FEAT */ + MAKE_64BIT_MASK(0, 25), /* PCIROR */ + MAKE_64BIT_MASK(0, 22), /* PCIWOR */ + MAKE_64BIT_MASK(0, 9), /* TLTIM */ }; typedef struct DinoState { |