25 Jan, 2013

3 commits

  • Note a point in the pipe driver that wants future attention

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • A QEMU pipe is a very fast communication channel between the
    guest system and the emulator. Usage from the guest is simply
    something like;

    // connect to special device
    fd = open("/dev/qemu_pipe", O_RDWR);

    // tell which service we want to talk to (must be zero-terminated)
    write(fd, "pipeName", strlen("pipeName")+1);

    // do read()/write() through fd now
    ...

    // close channel
    close(fd);

    Signed-off-by: David 'Digit' Turner
    [Added support for parameter buffers for speed]
    igned-off-by: Xin, Xiaohui
    Signed-off-by: Jiang, Yunhong
    Signed-off-by: Nakajima, Jun
    [Ported to 3.6]
    Signed-off-by: Tom Keel
    [Ported to 3.7, moved to platform/goldfish]
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    David 'Digit' Turner
     
  • This imports the current Google code and cleans it up slightly to use pr_ and
    to properly request its resources.

    Goldfish is an emulator used for Android development. It has a virtual bus where
    the emulator passes platform device information to the guest which then creates
    the appropriate devices.

    This part of the emulation is not architecture specific so should not be hiding
    in architecture trees as it does in the Google Android tree. The constants it
    uses do depend on the platform and the platform creates the bus device which then
    talks to the emulator to ascertain the actual devices present.

    Signed-off-by: Sheng Yang
    Signed-off-by: Yunhong Jiang
    Signed-off-by: Xiaohui Xin
    Signed-off-by: Jun Nakajima
    Signed-off-by: Bruce Beare
    [Moved out of x86, cleaned up headers]
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Jun Nakajima