[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 6e411a: hw/arm/virt: Provide PL031 RTC
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 6e411a: hw/arm/virt: Provide PL031 RTC |
Date: |
Mon, 30 Jun 2014 08:00:10 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 6e411af9351c1b82c2a749653eb4b8d35bf8c04a
https://github.com/qemu/qemu/commit/6e411af9351c1b82c2a749653eb4b8d35bf8c04a
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M hw/arm/virt.c
Log Message:
-----------
hw/arm/virt: Provide PL031 RTC
UEFI mandates that the platform must include an RTC, so provide
one in 'virt', using the PL031. This is also useful for directly
booting Linux kernels which would otherwise have to run ntpdate.
Signed-off-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Commit: 92335a0d4021a3b44ccc88c9fc6c0fd2113f1882
https://github.com/qemu/qemu/commit/92335a0d4021a3b44ccc88c9fc6c0fd2113f1882
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M hw/arm/strongarm.c
Log Message:
-----------
hw/arm/strongarm: Fix handling of GPSR/GPCR reads
The StrongARM GPIO GPSR and GPCR registers are write-only, with reads being
undefined behaviour. Instead of having GPCR return 31337 and GPSR return
the value last written, make both log the guest error and return 0.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Commit: ed657d7117d751dfaf5b00e5b17e45cd4a6d974d
https://github.com/qemu/qemu/commit/ed657d7117d751dfaf5b00e5b17e45cd4a6d974d
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M hw/arm/strongarm.c
Log Message:
-----------
hw/arm/strongarm: Wire up missing GPIO and PPC vmstate
The VMStateDescription structs for the GPIO and PPC devices were
accidentally never wired up. Add missing state fields and register
them via dc->vmsd.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Commit: ab7a0f0b6dbe8836d490c736803abef6e3695e1f
https://github.com/qemu/qemu/commit/ab7a0f0b6dbe8836d490c736803abef6e3695e1f
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M hw/arm/pxa2xx_gpio.c
Log Message:
-----------
hw/arm/pxa2xx_gpio: Fix handling of GPSR/GPCR reads
The PXA2xx GPIO GPSR and GPCR registers are write-only, with reads being
undefined behaviour. Instead of having GPCR return 31337 and GPSR return
the value last written, make both log the guest error and return 0.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Commit: 166fa9999688ebbcc3db945309bbdcef1aab5774
https://github.com/qemu/qemu/commit/166fa9999688ebbcc3db945309bbdcef1aab5774
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M hw/arm/pxa2xx_gpio.c
Log Message:
-----------
hw/arm/pxa2xx_gpio: Correct and register vmstate
The pxa2xx-gpio device has a VMStateDescription, but it was accidentally
never actually registered, and it wasn't quite correct. Remove the
'lines' field (this is a device property, not mutable state), add the
missing 'prev_level' field, and set dc->vmsd so it actually gets used.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Commit: b841642daa0252b3de711214bc4874ed415586a8
https://github.com/qemu/qemu/commit/b841642daa0252b3de711214bc4874ed415586a8
Author: Alistair Francis <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M hw/timer/cadence_ttc.c
Log Message:
-----------
timer: cadence_ttc: Convert to instance_init
SysBusDevice::init is deprecated. Convert to instance_init
as prescribed by QOM conventions.
Signed-off-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: 381600dad956ba246f8cb9806e70423f4121bae3
https://github.com/qemu/qemu/commit/381600dad956ba246f8cb9806e70423f4121bae3
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M ui/cocoa.m
Log Message:
-----------
ui/cocoa: Cope with first surface being same as initial window size
Do the recalculation of the content dimensions in switchSurface if the
current cdx is zero as well as if the new surface is a different size to
the current window. This catches the case where the first surface registered
happens to be 640x480 (our current window size), and fixes a bug where we
would always display a black screen until the first surface of a different
size was registered.
Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Commit: 5dd45bee5816ef1e941fdf1122943e4ab345f388
https://github.com/qemu/qemu/commit/5dd45bee5816ef1e941fdf1122943e4ab345f388
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M ui/cocoa.m
Log Message:
-----------
ui/cocoa: Add utility method to check if point is within window
Add a utility method to check whether a point is within the current window
bounds, and use it in the various places in the mouse handling code that
were opencoding the check.
Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Commit: f61c387ea627079b33a635f5d203a2c2bccc86c6
https://github.com/qemu/qemu/commit/f61c387ea627079b33a635f5d203a2c2bccc86c6
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M ui/cocoa.m
Log Message:
-----------
ui/cocoa: Fix handling of absolute positioning devices
Fix handling of absolute positioning devices, which were basically
unusable for two separate reasons:
(1) as soon as you pressed the left mouse button we would call
CGAssociateMouseAndMouseCursorPosition(FALSE), which means that
the absolute coordinates of the mouse events are never updated
(2) we didn't account for MacOSX coordinate origin being bottom left
rather than top right, and so all the Y values sent to the guest
were inverted
We fix (1) by aligning our behaviour with the SDL UI backend for
absolute devices:
* when the mouse moves into the window we do a grab (which means
hiding the host cursor and sending special keys to the guest)
* when the mouse moves out of the window we un-grab
and fix (2) by doing the correct transformation in the call to
qemu_input_queue_abs().
Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Commit: 13aefd303cf996c2d183e94082413885bf1d15bf
https://github.com/qemu/qemu/commit/13aefd303cf996c2d183e94082413885bf1d15bf
Author: Peter Maydell <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M ui/cocoa.m
Log Message:
-----------
ui/cocoa: Honour -show-cursor command line option
Honour the -show-cursor command line option (which forces the mouse pointer
to always be displayed even when input is grabbed) in the Cocoa UI backend.
Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Commit: 1ce8be7e0de4698b1c8bd76ea568e1f46524412c
https://github.com/qemu/qemu/commit/1ce8be7e0de4698b1c8bd76ea568e1f46524412c
Author: Richard Henderson <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M disas/libvixl/README
Log Message:
-----------
disas/libvixl: Update README for version base
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: ffebe8997523fd922da58a8e19ddffee6b035429
https://github.com/qemu/qemu/commit/ffebe8997523fd922da58a8e19ddffee6b035429
Author: Stefan Weil <address@hidden>
Date: 2014-06-29 (Sun, 29 Jun 2014)
Changed paths:
M disas/libvixl/a64/disasm-a64.cc
Log Message:
-----------
disas/libvixl: Fix wrong format strings
When the compiler is told to check the arguments of AppendToOutput,
it reports several errors of this kind:
error: format ‘%d’ expects argument of type ‘int’,
but argument 3 has type ‘int64_t {aka long int}’ [-Werror=format]
Fix those bugs by using the correct format strings with PRId64, PRIx64.
Signed-off-by: Stefan Weil <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: a156dd9a223d98779da6207144d33a4dea90b683
https://github.com/qemu/qemu/commit/a156dd9a223d98779da6207144d33a4dea90b683
Author: Peter Maydell <address@hidden>
Date: 2014-06-30 (Mon, 30 Jun 2014)
Changed paths:
M disas/libvixl/README
M disas/libvixl/a64/disasm-a64.cc
M hw/arm/pxa2xx_gpio.c
M hw/arm/strongarm.c
M hw/arm/virt.c
M hw/timer/cadence_ttc.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140630'
into staging
target-arm:
* provide PL031 RTC in virt board
* fix missing pxa2xx and strongarm vmstate
* convert cadence_ttc to instance_init
* fix libvixl format strings and README
# gpg: Signature made Mon 30 Jun 2014 13:44:33 BST using RSA key ID 14360CDE
# gpg: Good signature from "Peter Maydell <address@hidden>"
* remotes/pmaydell/tags/pull-target-arm-20140630:
disas/libvixl: Fix wrong format strings
disas/libvixl: Update README for version base
timer: cadence_ttc: Convert to instance_init
hw/arm/pxa2xx_gpio: Correct and register vmstate
hw/arm/pxa2xx_gpio: Fix handling of GPSR/GPCR reads
hw/arm/strongarm: Wire up missing GPIO and PPC vmstate
hw/arm/strongarm: Fix handling of GPSR/GPCR reads
hw/arm/virt: Provide PL031 RTC
Signed-off-by: Peter Maydell <address@hidden>
Commit: a4b31047c851c9a84247a9cc634eca5f99f559a6
https://github.com/qemu/qemu/commit/a4b31047c851c9a84247a9cc634eca5f99f559a6
Author: Peter Maydell <address@hidden>
Date: 2014-06-30 (Mon, 30 Jun 2014)
Changed paths:
M ui/cocoa.m
Log Message:
-----------
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-cocoa-20140630' into
staging
cocoa.next:
* Honour -show-cursor option
* Fix handling of absolute positioning devices
* Cope with first surface being same as initial window size
# gpg: Signature made Mon 30 Jun 2014 13:48:46 BST using RSA key ID 14360CDE
# gpg: Good signature from "Peter Maydell <address@hidden>"
* remotes/pmaydell/tags/pull-cocoa-20140630:
ui/cocoa: Honour -show-cursor command line option
ui/cocoa: Fix handling of absolute positioning devices
ui/cocoa: Add utility method to check if point is within window
ui/cocoa: Cope with first surface being same as initial window size
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/9328cfd2fe4a...a4b31047c851
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 6e411a: hw/arm/virt: Provide PL031 RTC,
GitHub <=