***
This is an implementation for the TivaC board.
For now it models the system control block, the general purpose I/O, the
general purpose timers, the watchdog timers and the usart module.
The code is available at https://github.com/moesay/qemu_TivaC.git
***
Mohamed ElSayed (8):
the tivac
Signed-off-by: Mohamed ElSayed
---
hw/arm/tivac.c| 56 ++
hw/arm/tm4c123gh6pm_soc.c | 274 ++
include/hw/arm/tm4c123gh6pm_soc.h | 71
3 files changed, 401 insertions(+)
create mode 100644 hw/arm/tivac.c
create mode 100644
Signed-off-by: Mohamed ElSayed
---
hw/misc/tm4c123_sysctl.c | 989 +++
include/hw/misc/tm4c123_sysctl.h | 307 ++
2 files changed, 1296 insertions(+)
create mode 100644 hw/misc/tm4c123_sysctl.c
create mode 100644 include/hw/misc/tm4c123_sysctl.h
Signed-off-by: Mohamed ElSayed
---
hw/watchdog/tm4c123_watchdog.c | 298 +
include/hw/watchdog/tm4c123_watchdog.h | 97
2 files changed, 395 insertions(+)
create mode 100644 hw/watchdog/tm4c123_watchdog.c
create mode 100644 include/hw/watchdog
Signed-off-by: Mohamed ElSayed
---
.gitignore | 1 +
README.rst | 150 ++--
configs/devices/arm-softmmu/default.mak | 1 +
hw/arm/Kconfig | 13 ++
hw/arm/meson.build
Signed-off-by: Mohamed ElSayed
---
hw/char/tm4c123_usart.c | 387
include/hw/char/tm4c123_usart.h | 124 ++
2 files changed, 511 insertions(+)
create mode 100644 hw/char/tm4c123_usart.c
create mode 100644 include/hw/char/tm4c123_usart.h
diff
Signed-off-by: Mohamed ElSayed
---
hw/arm/tm4c123gh6pm_soc.c | 14 ++--
hw/char/tm4c123_usart.c| 28 +++
hw/misc/tm4c123_sysctl.c | 6 +-
hw/timer/tm4c123_gptm.c| 134 -
hw/watchdog/tm4c123_watchdog.c | 25 +++---
5 files
Signed-off-by: Mohamed ElSayed
---
hw/timer/tm4c123_gptm.c | 529
include/hw/timer/tm4c123_gptm.h | 131
2 files changed, 660 insertions(+)
create mode 100644 hw/timer/tm4c123_gptm.c
create mode 100644 include/hw/timer/tm4c123_gptm.h
diff
Signed-off-by: Mohamed ElSayed
---
hw/gpio/tm4c123_gpio.c | 372 +
include/hw/gpio/tm4c123_gpio.h | 127 +++
2 files changed, 499 insertions(+)
create mode 100644 hw/gpio/tm4c123_gpio.c
create mode 100644 include/hw/gpio/tm4c123_gpio.h
diff
Signed-off-by: Mohamed ElSayed
---
hw/watchdog/tm4c123_watchdog.c | 297 +
hw/watchdog/trace-events | 3 +
include/hw/watchdog/tm4c123_watchdog.h | 97
3 files changed, 397 insertions(+)
create mode 100644 hw/watchdog/tm4c123_watchdog.c
This contribution aims to add the Tiva C support into QEMU.
The code could be found at https://github.com/moesay/qemu_TivaC
Mohamed ElSayed (8):
The tivac board initial machine definition
tiva c usart module implementation
tiva c gpio implementation
tiva c sysctl implementation
tiva c
Signed-off-by: Mohamed ElSayed
---
hw/arm/tivac.c| 56 ++
hw/arm/tm4c123gh6pm_soc.c | 275 ++
include/hw/arm/tm4c123gh6pm_soc.h | 71
3 files changed, 402 insertions(+)
create mode 100644 hw/arm/tivac.c
create mode 100644
Signed-off-by: Mohamed ElSayed
---
hw/char/tm4c123_usart.c | 381
hw/char/trace-events| 4 +
include/hw/char/tm4c123_usart.h | 124 +++
3 files changed, 509 insertions(+)
create mode 100644 hw/char/tm4c123_usart.c
create mode
Signed-off-by: Mohamed ElSayed
---
hw/timer/tm4c123_gptm.c | 495
hw/timer/trace-events | 5 +
include/hw/timer/tm4c123_gptm.h | 131 +
3 files changed, 631 insertions(+)
create mode 100644 hw/timer/tm4c123_gptm.c
create mode 100644
Signed-off-by: Mohamed ElSayed
---
docs/system/arm/tivac.rst | 47 +++
1 file changed, 47 insertions(+)
create mode 100644 docs/system/arm/tivac.rst
diff --git a/docs/system/arm/tivac.rst b/docs/system/arm/tivac.rst
new file mode 100644
index 00
Signed-off-by: Mohamed ElSayed
---
hw/misc/tm4c123_sysctl.c | 989 +++
hw/misc/trace-events | 5 +
include/hw/misc/tm4c123_sysctl.h | 307 ++
3 files changed, 1301 insertions(+)
create mode 100644 hw/misc/tm4c123_sysctl.c
create mode
Signed-off-by: Mohamed ElSayed
---
MAINTAINERS | 9 +
configs/devices/arm-softmmu/default.mak | 1 +
hw/arm/Kconfig | 13 +
hw/arm/meson.build | 3 +++
hw/char/Kconfig | 3
Signed-off-by: Mohamed ElSayed
---
hw/gpio/tm4c123_gpio.c | 372 +
hw/gpio/trace-events | 4 +
include/hw/gpio/tm4c123_gpio.h | 127 +++
3 files changed, 503 insertions(+)
create mode 100644 hw/gpio/tm4c123_gpio.c
create mode 100644
18 matches
Mail list logo