History log of /external/qemu/include/hw/android/goldfish/pipe.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c6e0caedac5585546cb68605418eedc9e726b44b 07-Mar-2014 David 'Digit' Turner <digit@google.com> Support kernels with version >= 3.10

Newer Android Linux kernels modify the way certain devices are
named, i.e.:

/dev/qemu_pipe is renamed as /dev/goldfish_pipe.
/dev/ttyS<num> is renamed as /dev/ttyGF<num>

This patch adds support code to the emulator to deal with this
as transparently as possible:

1) Add a new hardware property 'kernel.newDeviceNaming', a string
which can only take the values 'autodetect', 'no', and 'yes'.

2) Support code to probe the type of a kernel image.
IMPORTANT: The kernel implementation depends on the host
/usr/bin/file to properly recognize kernel files and extract
their version number. This really only works on Linux and
OS X, and only for x86 and x86_64 kernel images.

A future patch will implement more robust detection by
essentially doing its own probing through libmagic or equivalent.

Note that there doesn't seem to be any existing libmagic rules
to recognize ARM and MIPS kernel images at the moment :-(

See android/kernel/kernel_utils*

3) Modify the emulator startup code to perform auto-detection
when possible (broken on Windows, and non Intel archs, see
comment above).

4) Modify the kernel command line generation to handle the new
TTY device naming

5) Modify the Goldfish pipe virtual device implementation
(since the device name presented to the kernel also changed).

This should be enough to auto-detect Linux 3.10+ x86_64 kernel
images on Linux.

Change-Id: Ied517f8a1fdeb18d84fa9a12ebcdc3daa1f41d9a
/external/qemu/include/hw/android/goldfish/pipe.h
2035de3e72c147e5b8c5cbb14a1553587227de89 29-Jan-2014 Jun Tian <jun.j.tian@intel.com> goldfish: enable 64 bit goldfish PIPE device

Enable the 64 bit PIPE device emulation in the goldfish platform.

Change-Id: I0d6fdbcb43310a7736eae58d67a29b4821934243
Signed-off-by: Jun Tian <jun.j.tian@intel.com>
/external/qemu/include/hw/android/goldfish/pipe.h
f5bc01c356e1fa924ed07aadf589b3663873593e 17-Dec-2013 David 'Digit' Turner <digit@android.com> hw/goldfish_*.h -> include/hw/android/goldfish/*.h

Change-Id: If7f9a46496fad5d936800215b21794bbab185b8a
/external/qemu/include/hw/android/goldfish/pipe.h