diff options
author | David 'Digit' Turner <digit@google.com> | 2009-05-25 18:01:03 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2009-05-26 17:23:25 +0200 |
commit | 318e4f294c181df33cf2541763904565b29bcccb (patch) | |
tree | 35b5085c9e35e91967e2d4a4db80e28ec086e1d3 /android/hw-control.c | |
parent | 0d47fe5756b1f243e8d65968cd73c0119363f909 (diff) | |
download | external_qemu-318e4f294c181df33cf2541763904565b29bcccb.zip external_qemu-318e4f294c181df33cf2541763904565b29bcccb.tar.gz external_qemu-318e4f294c181df33cf2541763904565b29bcccb.tar.bz2 |
This adds the '-prop <name>=<value>' option which is used to set
boot-time system properties from the command line. This is done
by implementing a new 'boot-properties' qemud service in the emulator.
This is to be used by the 'qemu-props' helper program that will be
invoked by /system/etc/init.goldfish.rc to read a list of system
properties from the emulator and set them in the emulated system
during boot.
Diffstat (limited to 'android/hw-control.c')
-rw-r--r-- | android/hw-control.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/android/hw-control.c b/android/hw-control.c index a82a92a..d99f7e3 100644 --- a/android/hw-control.c +++ b/android/hw-control.c @@ -51,9 +51,10 @@ static void hw_control_do_query( HwControl* h, uint8_t* query, int querylen /* called when a qemud client sends a command */ static void -_hw_control_qemud_client_recv( void* opaque, - uint8_t* msg, - int msglen ) +_hw_control_qemud_client_recv( void* opaque, + uint8_t* msg, + int msglen, + QemudClient* client ) { hw_control_do_query(opaque, msg, msglen); } |