aboutsummaryrefslogtreecommitdiffstats
path: root/Lesson_1/README.md
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2021-06-13 12:03:32 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2021-06-13 12:03:52 +0300
commit0ec1822f8f6f081c92f9428bcf30a0560d61043c (patch)
tree12a84766d526df8f15b3fdb72d808a2f4b4ec463 /Lesson_1/README.md
parenta6d76c0b460e00556b7c11cd6075d50d5a70a13c (diff)
downloadUEFI-Lessons-0ec1822f8f6f081c92f9428bcf30a0560d61043c.tar.gz
UEFI-Lessons-0ec1822f8f6f081c92f9428bcf30a0560d61043c.tar.bz2
UEFI-Lessons-0ec1822f8f6f081c92f9428bcf30a0560d61043c.zip
Fix formatting in a README.md for lesson 1
Diffstat (limited to 'Lesson_1/README.md')
-rw-r--r--Lesson_1/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lesson_1/README.md b/Lesson_1/README.md
index 9e9f2ac..1cbd19e 100644
--- a/Lesson_1/README.md
+++ b/Lesson_1/README.md
@@ -38,7 +38,9 @@ INF file can have several sections:
But right now for our minimal example we're interested in the 3 of those:
- Defines - this section contatins some basic module description. In this section:
+
BASE_NAME - our app name
+
FILE_GUID - as was said earlier UEFI uses GUID numbers for identification of the components. You could use free online GUID generator to get random GUID https://www.guidgenerator.com/ or simply use `uuidgen` command line utility:
```
$ uuidgen
@@ -46,6 +48,7 @@ e7218aab-998e-4d88-af9b-9573a5bf90ea
```
MODULE_TYPE - we want to build an application that can be run from the UEFI shell, so we use `UEFI_APPLICATION` here. UEFI application is like a simple program that you can run from shell. It is getting loaded to some memory address, executes and returns something, after that app memory would be freed again. For example other possible value here is UEFI_DRIVER - the difference is when you load a driver it keeps staying in memory even after its execution.
Other values are listed here: https://edk2-docs.gitbook.io/edk-ii-inf-specification/appendix_f_module_types
+
ENTRY_POINT - name of the main function in our *.c source file. As it was `UefiMain` this is the value that we write here.
- Sources - source files for our edk2 module