1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2025-01-03 04:10:56 +00:00
This commit is contained in:
WarpspeedSCP 2019-04-16 22:21:45 +05:30 committed by GitHub
parent 2ef0a4023b
commit 64712ac607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,7 +377,7 @@ which pushes the value of `ds` to the stack, followed by the address of the [6](
Stack Setup
--------------------------------------------------------------------------------
Almost all of the setup code is for ppreparing the C language environment in real mode. The next [step](https://github.com/torvalds/linux/blob/v4.16/arch/x86/boot/header.S#L575) is checking the `ss` register's value and setting up a correct stack if `ss` is wrong:
Almost all of the setup code is for preparing the C language environment in real mode. The next [step](https://github.com/torvalds/linux/blob/v4.16/arch/x86/boot/header.S#L575) is checking the `ss` register's value and setting up a correct stack if `ss` is wrong:
```assembly
movw %ss, %dx