May 2017
Beginner to intermediate
470 pages
10h 49m
English
One of the most important emulated devices in goldfish hardware is the QEMU pipe device. This is a special device that is totally specific to QEMU, but allows guest processes to communicate directly with the emulator with extremely high performance. This is achieved by avoiding any in-kernel memory copies, relying on the fact that QEMU can access guest memory at runtime (under proper conditions controlled by the kernel). As we can see from the goldfish architecture diagram, many other hardware interfaces, such as GPS, sensors, basebands, cameras, and so on, are emulated through the QEMU pipe. The following table defines QEMU pipe device registers.
QEMU pipe device registers:
|
Offset |
Name |
Abstract |
|
0x00 |
COMMAND ... |
Read now
Unlock full access