From 318e4f294c181df33cf2541763904565b29bcccb Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 25 May 2009 18:01:03 +0200 Subject: This adds the '-prop =' 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. --- android/hw-control.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'android/hw-control.c') 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); } -- cgit v1.1