mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
lm32: juart model
This patch adds the JTAG UART model. It is accessed through special control registers and opcodes. Therefore the translation uses callbacks to this model. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
4ef66fa718
commit
15d7dc4f80
4 changed files with 168 additions and 0 deletions
11
hw/lm32_juart.h
Normal file
11
hw/lm32_juart.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef QEMU_HW_LM32_JUART_H
|
||||
#define QEMU_HW_LM32_JUART_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
uint32_t lm32_juart_get_jtx(DeviceState *d);
|
||||
uint32_t lm32_juart_get_jrx(DeviceState *d);
|
||||
void lm32_juart_set_jtx(DeviceState *d, uint32_t jtx);
|
||||
void lm32_juart_set_jrx(DeviceState *d, uint32_t jrx);
|
||||
|
||||
#endif /* QEMU_HW_LM32_JUART_H */
|
Loading…
Add table
Add a link
Reference in a new issue