@@ -36,11 +36,11 @@ framework. There are 3 major subsystems in SOS:
36
36
- VHM driver notifies HV on the completion through hypercall
37
37
- DM injects VIRQ to UOS frontend device through hypercall
38
38
39
- - VHM: Virtio and HV service Module is a kernel module in SOS as a
40
- middle layer to support DM. Refer to chapter 5.4 for details
39
+ - VHM: Virtio and Hypervisor Service Module is a kernel module in SOS as a
40
+ middle layer to support DM. Refer to :ref: ` virtio-APIs ` for details
41
41
42
- This chapter introduces how the acrn-dm application is configured and
43
- walks through the DM overall flow. We'll then elaborate on device,
42
+ This section introduces how the acrn-dm application is configured and
43
+ walks through the DM overall flow. We'll then elaborate on device,
44
44
ISA, and PCI emulation.
45
45
46
46
Configuration
@@ -140,8 +140,8 @@ DM Initialization
140
140
allocated by DM for a specific VM in user space. This buffer is
141
141
shared between DM, VHM and HV. **Set I/O Request buffer ** calls
142
142
an ioctl executing a hypercall to share this unique page buffer
143
- with VHM and HV. Please refer to chapter 3.4 and 4.4 for more
144
- details.
143
+ with VHM and HV. Refer to :ref: ` hld-io-emulation ` and
144
+ :ref: ` IO-emulation-in-sos ` for more details.
145
145
146
146
- **Memory Setup **: UOS memory is allocated from SOS
147
147
memory. This section of memory will use SOS hugetlbfs to allocate
@@ -158,11 +158,11 @@ DM Initialization
158
158
API and PIO handler by *register_inout() * API or INOUT_PORT()
159
159
macro.
160
160
161
- - **PCI Init **: PCI initialization scans PCI bus/slot/function to
161
+ - **PCI Init **: PCI initialization scans the PCI bus/slot/function to
162
162
identify each configured PCI device on the acrn-dm command line
163
163
and initializes their configuration space by calling their
164
- dedicated vdev_init() function. For more detail of DM PCI
165
- emulation please refer to section 4.6 .
164
+ dedicated vdev_init() function. For more details on the DM PCI
165
+ emulation, refer to ` PCI Emulation `_ .
166
166
167
167
- **ACPI Build **: If there is "-A" option in acrn-dm command line, DM
168
168
will build ACPI table into its VM's F-Segment (0xf2400). This
@@ -296,6 +296,8 @@ VHM ioctl interfaces
296
296
IRQ and Interrupts, Device Model management, Guest Memory management,
297
297
PCI assignment, and Power management
298
298
299
+ .. _IO-emulation-in-sos :
300
+
299
301
I/O Emulation in SOS
300
302
********************
301
303
0 commit comments