295 Commits (cdbc603fbd2edf4d6abff236b40d843f49cbce8f)

Author SHA1 Message Date
sevico 5f56136420 fix 1f offset
on the context,the offset of 1f should be 0x21.
8 years ago
sevico 3568a962e4 fix typo
"memcpy` puts the address of `boot_params.hdr` into `si` and saves the size on  " should be di
8 years ago
Mack Stump 3fda046617 fix typos 8 years ago
0xAX c235ead9f1 Merge pull request #378 from Alcaro/boot-fixes
Fix a huge pile of issues
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
Alcaro f23e2bf684 Fix MCA link
Links are \[text\](URL) in Markdown, not (text)[URL].
8 years ago
Nehal J Wani 9553e9bf82 Fix small grammatical error
s/use/uses . The word 'processor' is singular :)
8 years ago
Larry Kim 51c5bc4893 Help readers not to confuse with segment addr and phy addr
and a minor typo
8 years ago
Dmitriy Olshevskiy f2068d49a7 booting: fix typos 8 years ago
mennis f24f71e041 grammar, spelling and sentence construction updates 8 years ago
0xAX aedaaf6d97 Merge pull request #326 from c0riolis/linux-bootstrap-2-fix
Fix linux-bootstrap-2.md
9 years ago
0xAX 0ac662bdc8 Merge pull request #323 from c0riolis/master
Fix linux-bootstrap-1.md
9 years ago
Alexander Kuleshov 48fdd8c37f updated last part of the Linux kernel booting process chapter 9 years ago
Alexander Kuleshov 7a92195259 Finish with fourth part of booting process 9 years ago
Alexander Kuleshov 3e2e3b823c update linux-bootstrap-4.md 9 years ago
Alexander Kuleshov f6c57be9bb Last update of the Booting/linux-bootstrap-4.md 9 years ago
Alexander Kuleshov 0cfd3af65f Update Booting/bootstrap-4.md 9 years ago
Matthieu Tardy 175b153379 Normalize indentation in linux-bootstrap-2 to improve readability 9 years ago
Matthieu Tardy 29ac51e923 Fix linux-bootstrap-2.md 9 years ago
Matthieu Tardy c0c69b8dc0 Normalize indentation in linux-bootstrap-1's code sections to improve readability 9 years ago
Matthieu Tardy 7f8146db1e Fix linux-bootstrap-1.md
Fix some offset and size errors.
Replace the ambiguous term "segment" by "segment selector".
Add an explanation for the reset vector address.
Fix a typo in the segment register align part (it's a cld and not a cli).
Add missing syntax highlighting.
9 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 4830c64aeb Update linux-bootstrap-1.md 9 years ago
0xAX 7e18eb149b Merge pull request #299 from mudongliang/modifyinternals
revert internals to insides in Booting
9 years ago
0xAX 85b813292f Merge pull request #302 from hitmoon/master
fix logic error about KEEP_SEGMENTS flags
9 years ago
0xAX 5c8788aac6 Merge pull request #304 from shravanshandilya/master
Kernel is out of context till this point
9 years ago
0xAX ee707554ea Merge pull request #297 from ruthgrace/bootstrap_1_bootloader
fixed grammar in linux-bootstrap-1.md, Bootloader section
9 years ago
Shravan Shandilya a29d64e171 Kernel is out of context till this point 9 years ago
0xAX 422426a901 Merge pull request #296 from ruthgrace/bootstrap_1_bss_setup
fixed grammar in linux-bootstrap-1.md, BSS Setup section
9 years ago
0xAX 32d9c98364 Merge pull request #295 from ruthgrace/bootstrap_1_from_bootloader_to_kernel
fixed grammar in linux-bootstrap-1.md, From the bootloader to [the] kernel section
9 years ago
0xAX 0de6568131 Merge pull request #293 from ruthgrace/bootstrap_1_jump_to_main
fixed grammar in linux-bootstrap-1.md, Jump to main section
9 years ago
0xAX 8f8c543d9c Merge pull request #292 from ruthgrace/bootstrap_1_segment_registers_align
fixed grammar in linux-bootstrap-1.md, Segment registers align section
9 years ago
zhaoxiaoqiang bd7d8e6af0 fix logic error about KEEP_SEGMENTS flags 9 years ago
0xAX f245f5b9fa Merge pull request #291 from ruthgrace/bootstrap_1_stack_setup
fixed grammar in linux-bootstrap-1.md, Stack set up section
9 years ago
0xAX cdb3a8af99 Merge pull request #290 from ruthgrace/bootstrap_1_start_of_kernel_setup
fixed grammar in linux-bootstrap-1.md, Start of kernel setup section
9 years ago
0xAX fce396e0bf Merge pull request #289 from ruthgrace/bootstrap_2_console_init
fixed grammar in linux-bootstrap-2.md, Console initialization section
9 years ago
0xAX 16e86ba66e Merge pull request #288 from ruthgrace/bootstrap_2_copying_boot_params
fixed grammar in linux-bootstrap-2.md, Copying boot parameters into the "zeropage" section
9 years ago
0xAX aefea69c9e Merge pull request #287 from ruthgrace/bootstrap_2_heap_init
fixed grammar in linux-bootstrap-2.md, Heap Initialization section
9 years ago
0xAX c22523567b Merge pull request #286 from ruthgrace/bootstrap_2_protected_mode
fixed grammar in linux-bootstrap-2.md, Protected mode section
9 years ago
0xAX 2cd0316828 Merge pull request #285 from ruthgrace/bootstrap_2_querying
fixed grammar in linux-bootstrap-2.md, Querying section
9 years ago
0xAX 53d0a9da09 Merge pull request #273 from ruthgrace/bootstrap_3_actual_transition_protected
fixed grammar in linux-bootstrap-3.md, Actual transition into protected mode section
9 years ago
慕冬亮 a413dd6a56 revert internals to insides in Booting 9 years ago
ruthgrace f8083757de fixed grammar in linux-bootstrap-1.md, From the bootloader to [the] kernel section 9 years ago
ruthgrace 03a327ad22 fixed grammar in linux-bootstrap-1.md, Jump to main section 9 years ago
ruthgrace a02a5d274c fixed grammar in linux-bootstrap-1.md, BSS Setup section 9 years ago
ruthgrace dd493be7fb fixed grammar in linux-bootstrap-1.md, Stack set up section 9 years ago
ruthgrace 863a6b0297 fixed grammar in linux-bootstrap-1.md, Segment registers align section 9 years ago
ruthgrace 23e9c2751a fixed grammar in linux-bootstrap-1.md, Start of kernel setup section 9 years ago
ruthgrace 52a79a7319 fixed grammar in linux-bootstrap-1.md, Bootloader section 9 years ago
0xAX fb76b10efc Merge pull request #272 from ruthgrace/bootstrap_3_setup_gdt
fixed grammar in linux-bootstrap-3.md, Set up Global Descriptor Table section
9 years ago
ruthgrace fec74f0515 fixed grammar in linux-bootstrap-2.md, Console initialization section 9 years ago
ruthgrace be308af276 fixed grammar in linux-bootstrap-2.md, Copying boot parameters into the zeropage section 9 years ago
ruthgrace fc2bf58364 fixed grammar in linux-bootstrap-2.md, Heap Initialization section 9 years ago
ruthgrace 43e1338894 fixed grammar in linux-bootstrap-2.md, Protected mode section 9 years ago
ruthgrace 48dd5ff2ee fixed grammar in linux-bootstrap-2.md, Querying section 9 years ago
0xAX dadce11dea Merge pull request #271 from ruthgrace/bootstrap_3_setup_interrupt_descriptor
fixed grammar in linux-bootstrap-3.md, Set up Interrupt Descriptor Table section
9 years ago
0xAX 090f6f06c6 Merge pull request #269 from ruthgrace/bootstrap_3_setup_video_mode
fixed grammar in linux-bootstrap-3.md, Set up video mode section
9 years ago
0xAX 1cb98874cc Merge pull request #270 from ruthgrace/bootstrap_3_last_prep_before_protected
fixed grammar in linux-bootstrap-3.md, Last preparation before transition into protected mode section
9 years ago
0xAX b2732a0157 Merge pull request #268 from ruthgrace/bootstrap_3_heap_api
fixed grammar in linux-bootstrap-3.md, Heap API section
9 years ago
ruthgrace c942db56cc changed first sentence in Heap API section as requested 9 years ago
0xAX c98ca047b0 Merge pull request #279 from jlacomis/linux-bootstrap-2-reword
Changed some awkward wording in linux-bootstrap-2.
9 years ago
0xAX f7c3c9e35d Merge pull request #267 from ruthgrace/bootstrap_3_kernel_data_types
fixed grammar in linux-bootstrap-3.md, Kernel data types section
9 years ago
0xAX d003e1cbd0 Merge pull request #266 from ruthgrace/bootstrap_3_video_mode_init
fixed grammar in linux-bootstrap-3.md, Video mode initialization and transition to protected mode section
9 years ago
Jeremy Lacomis 2cb4d459de Changed some awkward wording in linux-bootstrap-2. 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
0xAX 684277480d Merge pull request #260 from ruthgrace/bootstrap_4_long_mode
fixed grammar in linux-bootstrap-4.md, Long mode section
9 years ago
Craig P Jolicoeur 02c7a60599 Update typo
`starts` not `startes`
9 years ago
ruthgrace d844afa85c fixed grammar in linux-bootstrap-3.md, Actual transition into protected mode section 9 years ago
ruthgrace 723940d80e fixed grammar in linux-bootstrap-3.md, Set up Global Descriptor Table section 9 years ago
ruthgrace 02c4894ef0 fixed grammar in linux-bootstrap-3.md, Set Up Interrupt Descriptor Table section 9 years ago
ruthgrace f540185a4e fixed grammar in linux-bootstrap-3.md, Last preparation before transition into protected mode section 9 years ago
ruthgrace 2fe3660cf8 fixed grammar in linux-bootstrap-3.md, Set up video mode section 9 years ago
ruthgrace fc954dd0ff fixed grammar in linux-bootstrap-3.md, Heap API section 9 years ago
ruthgrace 8c7261262e fixed grammar in linux-bootstrap-3.md, Kernel data types section 9 years ago
ruthgrace 1cd9c10939 fixed grammar in linux-bootstrap-3.md, Video mode initialization and transition to protected mode 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
0xAX 0a5e5a9c3a Merge pull request #250 from ruthgrace/bootstrap_5_last_prep
fixed grammar in linux-bootstrap-5.md, Last preparation before kernel decomposition section
9 years ago
Ruth Grace Wong cf05f092bf fixed '.text' sections to be singular 9 years ago
0xAX b01d0a5498 Merge pull request #256 from ruthgrace/bootstrap_4_reload_segments
fixed grammar in linux-bootstrap-4.md, Reload the segments if needed section
9 years ago
0xAX a56992d961 Merge pull request #253 from ruthgrace/bootstrap_5_kernel_decomp
fixed grammar in linux-bootstrap-5.md, Kernel decomposition 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 8c02753005 fixed grammar mistakes in linux-bootstrap-5.md kernel decomposition section 9 years ago
ruthgrace 7d929d0fc8 fixed grammar mistakes in last prep before kernel decomposition section of linux-bootstrap-5.md 9 years ago
ruthgrace 33b89cc64d fixed grammar mistakes in Kernel decompression section of linux-bootstrap-5.md 9 years ago
mudongliang 3f2eaef8ad fix issue #211 9 years ago
0xAX fc401de8a0 Merge pull request #246 from ruthgrace/master
fixed grammar mistake: Remind that -> Recall that
9 years ago
ruthgrace e60f8a2fb1 fixed grammar mistake: Remind that -> Recall that 9 years ago
Bogdan Kulbida 886e327b2a fix typo in the bits range 9 years ago
0xAX 40466a4931 Merge pull request #212 from mudongliang/master
change grammatical tense problem
9 years ago
0xAX a9f8ac57b3 Merge pull request #216 from QuentinPerez/missing_register
missing register
9 years ago
Remi Rampin be59a42e94 Fix get_heap arguments meaning
`n` is not the number of bytes but the number of items which are each of
the given size.
9 years ago
Remi Rampin 6aaa477bc6 TYPO: put_char -> putchar 9 years ago
Remi Rampin 72cc33c3c6 TYPO: minor fixes in booting section 9 years ago
Quentin Perez 8c76586ebd missing register 9 years ago
Remi Rampin 1ad8f71482 TYPO: wether -> whether 9 years ago
mudongliang 2a818916a6 change some grammatical tense problem 9 years ago
慕冬亮 58f930ebb8 Merge pull request #11 from 0xAX/master
merge commits
9 years ago
Leonardo 8b326e3766 Fixed typo: fielsd --> fields 9 years ago
Administrator 763f9066b6 modify some descriptions of README in Booting 9 years ago
0xAX 1ab5214d9d Update linux-bootstrap-1.md 9 years ago
rpeiremans 44eb8b2c39 Update linux-bootstrap-1.md
Fixed several typos, rewrote some parts of the text
9 years ago
rpeiremans c505715c91 Update linux-bootstrap-1.md 9 years ago
Dave Flogeras 511688b110 Fix typo 9 years ago
Siôn Le Roux 51e7262cdc Fix typo
stoped --> stopped
9 years ago
Waqar Ahmed 8a166ac424 Fix sentence structures in linux-bootstrap-3
Update heading underline to 80 chars
9 years ago
Waqar Ahmed 2538edd5d9 Fix sentence structures in linux-bootstrap-3
Updated.
9 years ago
Waqar Ahmed bc872eb2f7 Fix conflicts 9 years ago
Waqar144 e3897be370 [3/3] Fix sentence structures in linux-bootstrap-3.md 9 years ago
Waqar144 4af04f58c6 [3/3] Fix sentence structures in linux-bootstrap-3.md 9 years ago
Waqar144 196a8b8f90 [2/3] Fix sentence structures in linux-bootstrap-3.md 9 years ago
Waqar144 175f348a02 [1/3] Fix sentence structures in linux-bootstrap-3.md 9 years ago
Waqar144 e10c624957 [1/3] Fix sentence structures in linux-bootstrap-3.md 9 years ago
0xAX aedf30cbf4 Update linux-bootstrap-1.md 9 years ago
nimisolo 81777efad4 It should be "cld" here :) 9 years ago
Jean-Baptiste Cayrou f935203ffd Fix linux-bootstrap-1.md incorrect merging
Correct merging of commit da38b6038d line 253
9 years ago
0xAX 9de004f866 Merge pull request #129 from Waqar144/master
Update Linux-Bootsrap-2.md
9 years ago
Waqar Ahmed 25c03728b2 Update Linux-Bootsrap-2.md
Fix minor mistakes
updated some sentences.
added more explanation and code.
9 years ago
0xAX 3e84a906e4 Update linux-bootstrap-1.md 9 years ago
Waqar Ahmed 921be703d2 fix wrong capital 9 years ago
Waqar Ahmed 0adc50e635 highlight fix, numbering fix 9 years ago
Waqar Ahmed 27ee40c93a Return previous heading
fixed wrong capital
9 years ago
Waqar Ahmed 3384a4351e Small fixes 9 years ago
Waqar Ahmed 4eb7e7d783 Change first heading to overview 9 years ago
Waqar Ahmed c2c7f33435 Some more cleanups for GDT and protected mode 9 years ago
kittyhawk 90608ac7ce Merge branch 'master' of https://github.com/0xAX/linux-insides 9 years ago
Waqar144 e0f2abea2d Merge pull request #1 from Waqar144/bt-2
merge branches
9 years ago
kittyhawk d8a45ac0f4 Update GDT, add more explanation, clarify, minor corrections) 9 years ago
kittyhawk a704c61037 Minor grammar corrections, Minor mistake correction 9 years ago
Waqar144 4556442a36 remove -"for further reading" from links heading 9 years ago
0xAX 6bb648df18 Update linux-bootstrap-1.md 9 years ago
Waqar144 641f9d4843 Add further reading links 9 years ago
kittyhawk 6fd85f870d Fix highlighting, grammar and some code additions 9 years ago
Waqar144 d1ed036979 Fix grammar, some capitalization corrections 9 years ago
kittyhawk da38b6038d Update from origin 9 years ago
0xAX 002ef60893 Update linux-bootstrap-5.md 9 years ago
0xAX c47af96544 Update linux-bootstrap-5.md 9 years ago
Christopher Toth 88de3bac64 Minor grammatical cleanups in part 2 of the booting section.
Specifically I fixed a lot of article usage. I did my best to maintain the flow of the document with only minor rearranging of words. If I was unsure of something I left it as it was, as I did not want to possibly corrupt any important technical details.
9 years ago