pull/667/head
WarpspeedSCP 5 years ago committed by GitHub
parent 2ef0a4023b
commit 64712ac607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save