Andreas Färber a écrit :
Am 17.02.2012 20:27, schrieb Hervé Poussineau:
Some simplifications in I/O functions are possible because
Jazz LED only registers one byte of I/O.

Signed-off-by: Hervé Poussineau <hpous...@reactos.org>
---
 hw/jazz_led.c  |  159 +++++++++++++++++++++++++-------------------------------
 hw/mips.h      |    3 -
 hw/mips_jazz.c |    2 +-
 3 files changed, 71 insertions(+), 93 deletions(-)

diff --git a/hw/jazz_led.c b/hw/jazz_led.c
index 1af9268..5d8040b 100644
--- a/hw/jazz_led.c
+++ b/hw/jazz_led.c
@@ -1,7 +1,7 @@
 /*
  * QEMU JAZZ LED emulator.
  *
- * Copyright (c) 2007 Hervé Poussineau
+ * Copyright (c) 2007-2012 Herve Poussineau

Did you intentionally drop the accent from your name?

Yes, because I had some problems on different locales/differents OSes. Patches generated by "git send-email" were not clean.

+static void jazz_led_register(void)

The convention recently introduced would be jazz_led_register_types.

Will do if I have to respin.


+{
+    type_register_static(&jazz_led_info);
+}
+
+type_init(jazz_led_register);

No semicolon necessary.

Will do if I have to respin.


The ops change looks good, and we're still stuck with SysBus for a bit
so just these minor nits.

Hervé

Reply via email to