53 Commits (fa1cf540e899d6f0c3af95e08026a7251521785b)

Author SHA1 Message Date
Jan Sonntag fa1cf540e8 Fix broken links and emails 4 years ago
0xAX 3a477a66a2
Merge pull request #708 from aboivin/Booting/linux-bootstrap-4-typo
Booting/linux-bootstrap-4.md: fix typo
4 years ago
Sebastian Fricke 2cff4abf08 Gitbook Links: replace old links with new ones
The old links didn't point to valid locations.
Replace the old links with the new links and test those changes with a
small script: https://github.com/initBasti/markdown_link_check .

______________________________________________________________

In order to find and replace the links, I used the following commands:

grep -rwohP '.' -e "\(https\:\/\/0xax.gitbooks.io\/\S*\)" > links.txt
(Find all links recursivly in the project directories and print out the
 only the matches links)

Within links.txt:
Remove the '(' & ')' => :%s/\(//g  and :%s/\)//g
Remove duplicates => :sort u

Test if the links work with:
python3 md_link_check.py --pattern 0xax.gitbook --output-file bad.txt
(https://github.com/initBasti/markdown_link_check)

Create replace commands:
:%s/.*/grep -rl & '.' | xargs sed -i 's#&##g'
Enter replacement URL between the 2nd & 3rd '#'
Execute commands: :w !sh

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Arnaud BOIVIN aa2ccb403f Booting/linux-bootstrap-4.md: fix typo 4 years ago
Andreas J. Reichel 8be1e44662 Correct description of btsl $_EFER_LME, %eax
The btsl not only tests the bit, it tests the bit
by transfering it into the carry flag and then sets
it as well. Otherwise the wrmsr would not make sense.

Signed-off-by: Andreas J. Reichel <webmaster@6th-dimension.com>
4 years ago
Andreas J. Reichel e0cb85d230 Fix description of 'rep stosl' in bootstrap-4
rep stosl does not modify 'edi' but the memory, where 'edi' points to.

Signed-off-by: Andreas J. Reichel <webmaster@6th-dimension.com>
4 years ago
Raghav Shankar 2ef0a4023b Fix grammar and improve formatting 5 years ago
Cao jin c2092a481e Sentences improvement in linux-bootstrap-4.md
This patch fixed half of issue of #645:
1.
"The value assigned to it is an offset relative to the offset of the segment"
-->
"The value assigned to it is an offset relative to the segment"

2.
"adding the address field of the instruction and the value of the program counter"
-->
"adding the address field of the instruction to the value of the program counter"

3.
"PAE mode" --> "PAE", because PAE is not a mode.

4.
"5 bit" --> "the 5th bit"
5 years ago
Alexander Kuleshov 3d68ef4efe
boot: update to last linux v4.16
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
6 years ago
Alexander Kuleshov 4df08a04e1
boot-4: s/command/instruction
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
6 years ago
Alexander Kuleshov e735b508d1
fix boot-4 6 years ago
Alexander Kuleshov 04f10187e0
alignment fixed
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
7 years ago
Alexander Kuleshov afe7d23ed5
fill up linker script
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
7 years ago
Alexander Kuleshov 26ebd67859 update linux kernel boostrap parts to the last kernel from upstream 7 years ago
Alexander Kuleshov ab8d15afd0 boot: update linux-bootstrap-4.md 7 years ago
Aaron Hill 17da4af718
Make all Github links reference a specific commit
Closes #480
7 years ago
Kavindra Nikhurpa ece5ad6f25 fix typos 7 years ago
0xC0FFEE d419b61baa #419 - Typo in linux-bootstrap-4.md
Ref: https://github.com/0xAX/linux-insides/issues/419
8 years ago
Kavindra Nikhurpa aeb802e895 Fixed typos in Booting 8 years ago
Jeremy Cline 4aa8cbcc60
Fix a few minor typos 8 years ago
sevico 5f56136420 fix 1f offset
on the context,the offset of 1f should be 0x21.
8 years ago
Alcaro 8c1b3221fb Clarify and fix various facts, and fix more typos than I can count.
- rep stosl reduces ecx by 1 per write operation, not 4. Source: http://www.fermimn.gov.it/linux/quarta/x86/rep.htm
- Clarification: The four Page Directory tables contain 2048 entries in total, not 2048 each. Source: http://wiki.osdev.org/Page_Tables#Long_mode_.2864-bit.29_page_map
- Registers can not contain %rip-relative addresses, since %rip changes every single instruction. Only the instructions themselves can contain RIP-relative addresses.
- The first argument to decompress_kernel is called rmode, not boot_param.
- The boot_params struct goes in %rdi, not %rsi. Source: https://en.wikipedia.org/wiki/X86_calling_conventions#System_V_AMD64_ABI
- find_random_addr does not ensure that the 'memory region is not less than value of kernel alignment'; it ensures the kernel is at or above the minimum load address.
8 years ago
mennis f24f71e041 grammar, spelling and sentence construction updates 8 years ago
Alexander Kuleshov 7a92195259 Finish with fourth part of booting process 8 years ago
Alexander Kuleshov 3e2e3b823c update linux-bootstrap-4.md 8 years ago
Alexander Kuleshov f6c57be9bb Last update of the Booting/linux-bootstrap-4.md 8 years ago
Alexander Kuleshov 0cfd3af65f Update Booting/bootstrap-4.md 8 years ago
zhaoxiaoqiang ae5cbb4c20 fix minor grammer errors 9 years ago
zhaoxiaoqiang 8deab213d9 refine statements about early page table build 9 years ago
0xAX 17351ed45a Update linux-bootstrap-4.md 9 years ago
0xAX 7e18eb149b Merge pull request #299 from mudongliang/modifyinternals
revert internals to insides in Booting
9 years ago
zhaoxiaoqiang bd7d8e6af0 fix logic error about KEEP_SEGMENTS flags 9 years ago
慕冬亮 a413dd6a56 revert internals to insides in Booting 9 years ago
0xAX 99f21930d1 Merge pull request #262 from ruthgrace/bootstrap_4_transition_lon
fixed grammar in linux-bootstrap-4.md, Transition to long mode section
9 years ago
0xAX 06460705c0 Merge pull request #261 from ruthgrace/boostrap_4_early_page_table
fixed grammar in linux-bootstrap-4.md, Early page tables initialization section
9 years ago
ruthgrace 12ff770afe fixed grammar mistakes in linux-bootstrap-4.md, Long mode section 9 years ago
0xAX f4b7f56a7a Merge pull request #259 from ruthgrace/bootstrap_4_prep_long_mode
fixed grammar in linux-bootstrap-4.md, Preparation before entering long mode section
9 years ago
0xAX 7233742766 Merge pull request #258 from ruthgrace/bootstrap_4_calc_relocation
fixed grammar in linux-bootstrap-4.md, Calculate relocation address section
9 years ago
0xAX f4ea9243c1 Merge pull request #257 from ruthgrace/bootstrap_4_stack_setup
fixed grammar in linux-bootstrap-4.md, Stack setup and CPU verification section
9 years ago
0xAX e0f87ad2bd Merge pull request #255 from ruthgrace/bootstrap_4_32_bit_entry
fixed grammar in linux-bootstrap-4.md, 32-bit entry point section
9 years ago
ruthgrace 2e9ad1eb5f fixed grammar in linux-bootstrap-4.md, Transition to long mode section 9 years ago
ruthgrace ede440d138 fixed grammar mistakes in linux-bootstrap-4.md, Early page tables initialization section 9 years ago
ruthgrace f32b0f792c fixed grammar mistakes in linux-bootstrap-4.md, section Preparation before entering long mode 9 years ago
ruthgrace 95a9ce40f1 fixed grammar mistakes in linux-bootstrap-4, Calculate relocation address section 9 years ago
ruthgrace 796c21c171 fixed grammar mistakes in linux-bootstrap-4.md, Stack setup and CPU verification section 9 years ago
ruthgrace bf3b7014dd fixed grammar mistakes in linux-bootstrap-4.md, Reload the segments if needed section 9 years ago
ruthgrace 0da1ecb5b1 fixed grammar mistakes in linux-bootstrap-4.md, 32 bit entry point section 9 years ago
ruthgrace e60f8a2fb1 fixed grammar mistake: Remind that -> Recall that 9 years ago
Dave Flogeras 511688b110 Fix typo 9 years ago
umatomba 518d6b7572 Update linux-bootstrap-4.md 9 years ago