2011/9/30 Lluís Vilanova :
> Blue Swirl writes:
>
>> 2011/9/29 Lluís Vilanova :
>>> Blue Swirl writes:
>>>
2011/9/29 Lluís Vilanova :
> +static uint64_t control_io_read(void *opaque, target_phys_addr_t addr,
> unsigned size)
> +{
> + State *s = opaque;
> +
> + ui
Blue Swirl writes:
> 2011/9/29 Lluís Vilanova :
>> Blue Swirl writes:
>>
>>> 2011/9/29 Lluís Vilanova :
+static uint64_t control_io_read(void *opaque, target_phys_addr_t addr,
unsigned size)
+{
+ State *s = opaque;
+
+ uint64_t res = ldq_p(&s->size);
+
On Thu, Sep 29, 2011 at 10:35 PM, Frans de Boer wrote:
> On 09/29/2011 11:49 PM, Lluís Vilanova wrote:
>>
>> Blue Swirl writes:
>>
>>> 2011/9/29 Lluís Vilanova:
+static uint64_t control_io_read(void *opaque, target_phys_addr_t addr,
unsigned size)
+{
+ State *s = opaque
2011/9/29 Lluís Vilanova :
> Blue Swirl writes:
>
>> 2011/9/29 Lluís Vilanova :
>>> +static uint64_t control_io_read(void *opaque, target_phys_addr_t addr,
>>> unsigned size)
>>> +{
>>> + State *s = opaque;
>>> +
>>> + uint64_t res = ldq_p(&s->size);
>>> + uint8_t *resb = (uint8_t*)&res;
On 09/29/2011 11:49 PM, Lluís Vilanova wrote:
Blue Swirl writes:
2011/9/29 Lluís Vilanova:
+static uint64_t control_io_read(void *opaque, target_phys_addr_t addr,
unsigned size)
+{
+State *s = opaque;
+
+uint64_t res = ldq_p(&s->size);
+uint8_t *resb = (uint8_t*)&res;
+return
On 09/29/2011 11:49 PM, Lluís Vilanova wrote:
Blue Swirl writes:
2011/9/29 Lluís Vilanova:
+static uint64_t control_io_read(void *opaque, target_phys_addr_t addr,
unsigned size)
+{
+State *s = opaque;
+
+uint64_t res = ldq_p(&s->size);
+uint8_t *resb = (uint8_t*)&res;
+return
Blue Swirl writes:
> 2011/9/29 Lluís Vilanova :
>> +static uint64_t control_io_read(void *opaque, target_phys_addr_t addr,
>> unsigned size)
>> +{
>> + State *s = opaque;
>> +
>> + uint64_t res = ldq_p(&s->size);
>> + uint8_t *resb = (uint8_t*)&res;
>> + return resb[addr % CTRL_BYTES]
2011/9/29 Lluís Vilanova :
> Uses a virtual device to proxy uses of the backdoor communication channel to
> the
> user-provided code.
>
> Signed-off-by: Lluís Vilanova
> ---
> Makefile.objs | 1
> backdoor/qemu/softmmu.c | 124
> +++
> h
Uses a virtual device to proxy uses of the backdoor communication channel to the
user-provided code.
Signed-off-by: Lluís Vilanova
---
Makefile.objs |1
backdoor/qemu/softmmu.c | 124 +++
hw/pci.h|1
3 files changed