Skip to content

Commit 53cc8c6

Browse files
committed
Add comment for function
Add the comment of `outb` and `ontw` function in QemuVideoDxe driver. Signed-off-by: Damien Chen <[email protected]>
1 parent 956ef6c commit 53cc8c6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

OvmfPkg/QemuVideoDxe/Driver.c

+10-10
Original file line numberDiff line numberDiff line change
@@ -629,13 +629,13 @@ QemuVideoControllerDriverStop (
629629
}
630630

631631
/**
632-
TODO: Add function description
632+
Write an 8-bit value to a specified I/O port via PCI I/O pass-through.
633633
634-
@param Private TODO: add argument description
635-
@param Address TODO: add argument description
636-
@param Data TODO: add argument description
634+
@param Private QEMU private data structure
635+
@param Address The I/O port offset within the pass-through BAR to write to.
636+
@param Data The 8-bit value to write to the specified port
637637
638-
TODO: add return values
638+
@retval None
639639
640640
**/
641641
VOID
@@ -656,13 +656,13 @@ outb (
656656
}
657657

658658
/**
659-
TODO: Add function description
659+
Write a 16-bit value to a specified I/O port via PCI I/O pass-through.
660660
661-
@param Private TODO: add argument description
662-
@param Address TODO: add argument description
663-
@param Data TODO: add argument description
661+
@param Private QEMU private data structure
662+
@param Address The I/O port offset within the pass-through BAR to write to.
663+
@param Data The 16-bit value to write to the specified port.
664664
665-
TODO: add return values
665+
@retval None
666666
667667
**/
668668
VOID

0 commit comments

Comments
 (0)