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
9 years ago
0xAX
c235ead9f1
Merge pull request #378 from Alcaro/boot-fixes
...
Fix a huge pile of issues
9 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.
9 years ago
Alcaro
f23e2bf684
Fix MCA link
...
Links are \[text\](URL) in Markdown, not (text)[URL].
9 years ago
Nehal J Wani
9553e9bf82
Fix small grammatical error
...
s/use/uses . The word 'processor' is singular :)
9 years ago
Larry Kim
51c5bc4893
Help readers not to confuse with segment addr and phy addr
...
and a minor typo
9 years ago
Dmitriy Olshevskiy
f2068d49a7
booting: fix typos
9 years ago
mennis
f24f71e041
grammar, spelling and sentence construction updates
9 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