aboutsummaryrefslogtreecommitdiffstats
path: root/Lesson_32
diff options
context:
space:
mode:
Diffstat (limited to 'Lesson_32')
-rw-r--r--Lesson_32/README.md4
-rw-r--r--Lesson_32/UefiLessonsPkg/PCIRomInfo/PCIRomInfo.c (renamed from Lesson_32/UefiLessonsPkg/DumpPCIroms/DumpPCIroms.c)0
-rw-r--r--Lesson_32/UefiLessonsPkg/PCIRomInfo/PCIRomInfo.inf (renamed from Lesson_32/UefiLessonsPkg/DumpPCIroms/DumpPCIroms.inf)4
3 files changed, 5 insertions, 3 deletions
diff --git a/Lesson_32/README.md b/Lesson_32/README.md
index bab0b9d..78c12f6 100644
--- a/Lesson_32/README.md
+++ b/Lesson_32/README.md
@@ -213,7 +213,7 @@ After using `GetLocation` API we've used `Pci.Read` call to read PCI configurati
If you'll build and execute our app now you would get the same list of PCI devices, that we've received with a `EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL`.
```
-FS0:\> DumpPCIroms.efi
+FS0:\> PCIRomInfo.efi
00:00.00 - Vendor:8086, Device:1237
00:01.00 - Vendor:8086, Device:7000
00:01.01 - Vendor:8086, Device:7010
@@ -459,6 +459,7 @@ $ qemu-system-x86_64 -drive if=pflash,format=raw,file=Build/OvmfX64/RELEASE_GCC5
If you execute our program now you would get:
```
+FS0:\> PCIRomInfo.efi
00:02.00 - Vendor:1234, Device:1111: Undefined, Undefined
Has OptionROM at memory 6EA5018-6EAEA18
---Code Image 1---
@@ -494,6 +495,7 @@ $ qemu-system-x86_64 -drive if=pflash,format=raw,file=Build/OvmfX64/RELEASE_GCC5
```
And execute our program again:
```
+FS0:\> PCIRomInfo.efi
00:02.00 - Vendor:1234, Device:1111: Undefined, Undefined
Has OptionROM at memory 6EA5018-6EAEA18
---Code Image 1---
diff --git a/Lesson_32/UefiLessonsPkg/DumpPCIroms/DumpPCIroms.c b/Lesson_32/UefiLessonsPkg/PCIRomInfo/PCIRomInfo.c
index 7531192..7531192 100644
--- a/Lesson_32/UefiLessonsPkg/DumpPCIroms/DumpPCIroms.c
+++ b/Lesson_32/UefiLessonsPkg/PCIRomInfo/PCIRomInfo.c
diff --git a/Lesson_32/UefiLessonsPkg/DumpPCIroms/DumpPCIroms.inf b/Lesson_32/UefiLessonsPkg/PCIRomInfo/PCIRomInfo.inf
index 213a8e4..b098b26 100644
--- a/Lesson_32/UefiLessonsPkg/DumpPCIroms/DumpPCIroms.inf
+++ b/Lesson_32/UefiLessonsPkg/PCIRomInfo/PCIRomInfo.inf
@@ -1,13 +1,13 @@
[Defines]
INF_VERSION = 1.25
- BASE_NAME = DumpPCIroms
+ BASE_NAME = PCIRomInfo
FILE_GUID = 76f1798f-533f-49a2-b94c-96ab3dfebea0
MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 1.0
ENTRY_POINT = UefiMain
[Sources]
- DumpPCIroms.c
+ PCIRomInfo.c
[Packages]
MdePkg/MdePkg.dec