diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-29 01:07:48 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-29 01:07:48 +0300 |
| commit | 0f4a751e60a6c8ac40592ff44c74f1c9e4846d9a (patch) | |
| tree | 96fb1e8479261a128f065ee493ee3a97a3b91949 /docs | |
| parent | 013a27aec9370221e8afae188a8ed08ed2d406b0 (diff) | |
| download | kmi-0f4a751e60a6c8ac40592ff44c74f1c9e4846d9a.tar.gz kmi-0f4a751e60a6c8ac40592ff44c74f1c9e4846d9a.zip | |
continue documentation efforts.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/boot.md | 11 | ||||
| -rw-r--r-- | docs/doxygen.conf | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/docs/boot.md b/docs/boot.md new file mode 100644 index 0000000..2131d93 --- /dev/null +++ b/docs/boot.md @@ -0,0 +1,11 @@ +I need to figure out how to write MarkDown files, but the general procedure of a +boot is that we + +1) Assume we start of in real memory mode, i.e. no MMU active. + +2) arch/whatever/init/init.c kickstarts us into virtual memory with a direct +mapping, with offset VM_DMAP aliasing to physical address 0. + +3) The kernel proper is moved to its correct location in this direct mapping. + +4) The kernel proper is jumped to, after which the kernel does whatever. diff --git a/docs/doxygen.conf b/docs/doxygen.conf index d113ff4..32f764f 100644 --- a/docs/doxygen.conf +++ b/docs/doxygen.conf @@ -2214,7 +2214,7 @@ ENABLE_PREPROCESSING = YES # The default value is: NO. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -MACRO_EXPANSION = NO +MACRO_EXPANSION = YES # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then # the macro expansion is limited to the macros specified with the PREDEFINED and @@ -2254,7 +2254,7 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = DEBUG +PREDEFINED = DEBUG __GNUC__ riscv64 riscv32 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The |
