diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-08-20 16:04:48 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-08-20 16:04:48 +0200 |
| commit | 5117ee7b57f7e349d35c88d31b0d3714a2afbcc6 (patch) | |
| tree | 12d2bae0dbfa74ed6f9161952f134ea1c520b15a /docs/briefs/tb0002-x86_64_bootstrap.rst | |
| parent | 51bd0daba2fa3cd42242b2c07cf4851bc7845fb1 (diff) | |
| download | kernel-5117ee7b57f7e349d35c88d31b0d3714a2afbcc6.tar.xz kernel-5117ee7b57f7e349d35c88d31b0d3714a2afbcc6.zip | |
docs: draft new documentation structure
Diffstat (limited to 'docs/briefs/tb0002-x86_64_bootstrap.rst')
| -rw-r--r-- | docs/briefs/tb0002-x86_64_bootstrap.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/briefs/tb0002-x86_64_bootstrap.rst b/docs/briefs/tb0002-x86_64_bootstrap.rst index b7a6c2a9..26b5db18 100644 --- a/docs/briefs/tb0002-x86_64_bootstrap.rst +++ b/docs/briefs/tb0002-x86_64_bootstrap.rst @@ -39,7 +39,7 @@ Component Analysis ------------------ C++/Assembly Interface (``boot.hpp``) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A single header file serves as the definitive interface between assembly code and C++. This is achieved through the use of the ``__ASSEMBLER__`` preprocessor macro. @@ -106,7 +106,7 @@ Key Implementation Decisions ---------------------------- ``lret`` Stack Frame Construction -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The transition to 64-bit mode is initiated by executing an ``lret`` instruction from 32-bit protected mode. The behavior of this instruction is determined by the characteristics of the destination code segment descriptor referenced by the selector on the stack. |
