[Qemu-devel] [PATCH] pxa2xx: Auto-assign name for i2c bus in i2c_init_bus.

2016-10-13 Thread Vijay Kumar B
device. Signed-off-by: Vijay Kumar B. <vijayku...@zilogic.com> Reviewed-by: Deepak S. <dee...@zilogic.com> --- hw/arm/pxa2xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/pxa2xx.c b/hw/arm/pxa2xx.c index 0241e07..9898287 100644 --- a/hw/arm/pxa2xx.c

[Qemu-devel] [PATCH] pxa2xx: Add a reset handler to reset the ARM CPU.

2016-09-29 Thread Vijay Kumar B
Currently the CPU does not get reset when the system_reset command is invoked. We register a handler in the pxa2xx SoC code, to reset the CPU as well. Signed-off-by: Vijay Kumar B. <vijayku...@zilogic.com> Reviewed-by: Deepak S. <dee...@zilogic.com> --- hw/arm/pxa2xx.c | 8

[Qemu-devel] [PATCH 2/2] mainstone: Add mapping for dot, slash and backspace.

2016-09-28 Thread Vijay Kumar B
Add missed out mappings. These mappings are from the "Intel PXA27x Processor Developer's Kit User Guide". Signed-off-by: Vijay Kumar B. <vijayku...@zilogic.com> Reviewed-by: Deepak S. <dee...@zilogic.com> --- hw/arm/mainstone.c | 3 +++ 1 file changed, 3 insertions(+

[Qemu-devel] [PATCH 0/2] mainstone: Fix incorrect and missed out keypad mappings.

2016-09-28 Thread Vijay Kumar B
Resending, since I missed qemu-devel in the previous submission. Sorry about that. This patch series fixes the key mappings for the mainstone board. The incorrect mappings renders the console unusable when used with the Linux kernel's fbcon driver. Vijay Kumar B (2): Fix incorrect key mapping

[Qemu-devel] PXA2xx system_reset command

2016-09-28 Thread Vijay Kumar B.
Hi Everyone, We would like to add support for resetting the PXA2xx when the user invokes the system_reset command. What would be the best way to implement this? The PXA2xx emulation has a callback registered for the reset IRQ, which does a CPU reset. The callback is shown below. This gets

[Qemu-devel] [PATCH] usb: Fix incorrect default DMA offset.

2016-09-28 Thread Vijay Kumar B
that there is no offset, when the consumer does not specify one. Signed-off-by: Vijay Kumar B. <vijayku...@zilogic.com> Reviewed-by: Deepak S. <dee...@zilogic.com> --- hw/usb/hcd-ohci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index fa57

[Qemu-devel] [PATCH 1/2] mainstone: Fix incorrect key mapping for Enter key.

2016-09-28 Thread Vijay Kumar B
According to the manual the (5, 5) corresponds to backspace key, and not Enter key. Linux kernel maps (5, 4) to the enter key. Fixing it up to match the mapping in the Linux kernel. Signed-off-by: Vijay Kumar B. <vijayku...@zilogic.com> Reviewed-by: Deepak S. <dee...@zilogic.com>

[Qemu-devel] [PATCH] mipsnet incorrect device ID fix

2008-02-21 Thread Vijay Kumar
-by: Vijay Kumar B. [EMAIL PROTECTED] --- qemu-orig/hw/mipsnet.c 2007-12-27 11:18:52.0 +0530 +++ qemu-mod/hw/mipsnet.c 2008-02-20 20:23:44.0 +0530 @@ -101,6 +101,19 @@ mipsnet_update_irq(s); } +static uint32_t bytes_to_int32(const unsigned char *arr) +{ +int i