1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2025-01-03 04:10:56 +00:00
Commit Graph

298 Commits

Author SHA1 Message Date
Frank Dana
527b2b8921
Update README.md
"A couple" technically means exactly 2. It can be used to describe an unknown quantity of "approximately 2", but certainly never 6.
2018-01-07 18:45:48 -05:00
0xAX
a04cc2b780
Update linux-bootstrap-6.md 2018-01-07 16:36:46 +06:00
0xAX
23bbbc31ee
Update README.md 2018-01-07 13:51:38 +06:00
Aleksey Lagoshin
bfb3d493c7 Fixed mistakes in the segment descriptors part 2018-01-07 13:49:40 +06:00
Alexander Kuleshov
d23407fdbd booting: add kaslr part 2018-01-07 13:49:09 +06:00
0xAX
f45bab5688
Merge pull request #554 from ayzenquwe/master
Fixed mistakes in the segment descriptors part
2017-12-30 09:27:35 +01:00
Aleksey Lagoshin
6b4aa3e3d6 Fixed mistakes in the segment descriptors part 2017-12-30 00:34:36 +02:00
Alexander Kuleshov
04f10187e0
alignment fixed
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2017-12-30 00:41:20 +06:00
Alexander Kuleshov
afe7d23ed5
fill up linker script
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2017-12-29 23:57:43 +06:00
Alexander Kuleshov
abf4f684a5 bootstrap1: .org directive is useless in a case of binary output
so we may remove one.

Thank you @slo

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2017-11-27 00:55:57 +06:00
0xF0D0
06bc4a8f6a typo fixed (0bB800 -> 0xb800)
Signed-off-by: 0xF0D0 <goodbumsu@gmail.com>
2017-11-10 19:17:52 +09:00
Low Jeng Lam
0294cff63e
Update link for check_cpu function 2017-11-06 23:31:50 +08:00
Low Jeng Lam
c7bf68bfa1
Update link to refer to the correct line number 2017-11-02 14:59:12 +08:00
0xAX
646ccfd632
Merge pull request #531 from c0r3dump3d/linux-bootstrap-1-fix
Linux bootstrap 1 fix
2017-10-28 14:08:37 +06:00
Shaun Smiley
cacd5e487b Grammar fixes in Booting Part 1 2017-10-24 22:45:27 -07:00
Andrés Rojas Guerrero
a94cefa191 Add location coreboot source code 2017-10-18 16:37:19 +02:00
Andrés Rojas Guerrero
311a318f58 Add location coreboot source code 2017-10-18 16:25:21 +02:00
Alexander Kuleshov
26ebd67859 update linux kernel boostrap parts to the last kernel from upstream 2017-09-23 00:06:01 +06:00
Ding Fei
9015d6ed1f Update linux-bootstrap-3.md 2017-09-15 12:51:11 +08:00
Alexander Kuleshov
2bbbbb9524 boot: e820entry renamed to e820_entry 2017-09-12 00:57:41 +06:00
Alexander Kuleshov
ab8d15afd0 boot: update linux-bootstrap-4.md 2017-09-12 00:57:21 +06:00
Alexander Kuleshov
220d3378f7 boot: STACK_SIZE is 1024 now
since d594aa0277 (diff-0af1468d3dc7f373d70011eda7be1592)
2017-09-12 00:53:18 +06:00
Alexander Kuleshov
b5d147bf72 boot/pm: fix some expressions 2017-09-10 17:58:45 +06:00
Alexander Kuleshov
6703f0ace4 boot: fix boot-3 2017-09-10 17:55:03 +06:00
Alexander Kuleshov
117dbf29a1 boot: add missed set_bios_mode() 2017-09-10 17:27:51 +06:00
Alexander Kuleshov
8d76549828 boot: remove informatnion about query_mca()
as it was removed in the:

949163015c (diff-25ea8b4d2857dbd7b7ae86277dd464e8)

commit.
2017-09-10 17:19:17 +06:00
Aaron Hill
17da4af718
Make all Github links reference a specific commit
Closes #480
2017-07-30 15:56:26 -04:00
Tao LI
cda7e02da7 Typo fixes on booting part1 2017-07-17 11:40:31 +08:00
Alexander Kuleshov
0ce272fc6a fix #14 issue 2017-07-16 23:10:48 +06:00
Alexander Kuleshov
6ed0589b83 many fixes in boot part 1
including links fixes
2017-07-14 18:44:35 +06:00
Alexander Kuleshov
83cc5501b5 update description 2017-07-14 18:00:49 +06:00
Kavindra Nikhurpa
ece5ad6f25 fix typos 2017-06-28 01:27:15 +05:30
Alexander Kuleshov
4521637d9c Merge branch 'master' of github.com:0xAX/linux-insides 2017-06-09 00:26:34 +06:00
Alexander Kuleshov
af4d2701fa mark some constants 2017-06-09 00:25:25 +06:00
Tomas Juocepis
f29bd4aebf correct minor mistake - list 3 bits instead of 4
Sentence starts with "The next three bits(40, 41, 42, 43)" Should exclude 43.
2017-06-06 08:41:10 -05:00
Alexander Kuleshov
12006725a4
mention boot linker script as suggeset by @Aaron1011
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2017-05-28 00:19:45 +06:00
Guillaume Thouvenin
18890ee09f Fix the description of the address FFFFFFF0h 2017-03-21 14:49:38 +01:00
Daniel Campoverde [alx741]
d62e2d7f4a Booting: Fix typo 2017-03-19 15:08:18 -05:00
0xAX
e0259e744d Merge pull request #463 from PinoTsao/improve
Nitpicking: correct address space range
2017-03-01 02:08:17 -05:00
Cao jin
a21734b76d Nitpicking: correct address space range
s/0x100000/0xFFFFF/. Address space size is 1M, but range is 0 - 0xFFFFF
2017-03-01 10:34:12 +08:00
Ayyuce Demirbas
337c8b801d closing brace
your for loop does not have a closing brace
2017-02-28 13:12:44 +02:00
Amreo
2e640db706 Fix math error
Fixed math error because X = 0x001000+sizeof(boot loader)
2017-02-01 22:02:35 +01:00
elyashiv
7d5b4850db minor grammer edits 2017-01-30 11:43:08 +02:00
proninyaroslav
90f50c2ac5 Change README links as relative 2017-01-07 10:53:22 +03:00
Alexander Kuleshov
a711d0fbf0 Merge branch 'typo-fix' of https://github.com/AndrewRussellHayes/linux-insides into AndrewRussellHayes-typo-fix 2016-10-29 23:32:34 +06:00
0xC0FFEE
d419b61baa #419 - Typo in linux-bootstrap-4.md
Ref: https://github.com/0xAX/linux-insides/issues/419
2016-10-27 10:24:12 +05:30
Andrew Hayes
8998841c4c small typo fix 2016-10-24 10:50:20 -04:00
0xAX
0ebe9f97ba Merge pull request #420 from anastasds/linux-bootstrap-1-edit
Proofread linux-bootstrap-1 and edit to read more smoothly
2016-10-19 21:46:19 +03:00
_yrp
16242704fe Fix broken links regarding kaslr
linkrot, function name changes.

Thanks, this chapter was super duper helpful.
2016-09-02 21:02:00 -07:00
Anastas Stoyanovsky
130d87c716 Edit linux-bootstrap-1 2016-08-04 05:10:21 -04:00
Kavindra Nikhurpa
28a39fe665 More fixes and corrected contributors.md
Signed-off-by: Kavindra Nikhurpa <kavindra.nikhurpa@hotmail.com>
2016-07-03 12:19:09 +05:30
Kavindra Nikhurpa
aeb802e895 Fixed typos in Booting 2016-06-29 10:28:48 +05:30
Jeremy Cline
4aa8cbcc60
Fix a few minor typos 2016-06-04 11:14:24 -04:00
sevico
5f56136420 fix 1f offset
on the context,the offset of 1f should be 0x21.
2016-05-26 21:15:48 +08:00
sevico
3568a962e4 fix typo
"memcpy` puts the address of `boot_params.hdr` into `si` and saves the size on  " should be di
2016-05-25 09:04:03 +08:00
Mack Stump
3fda046617 fix typos 2016-05-19 10:46:26 -04:00
0xAX
c235ead9f1 Merge pull request #378 from Alcaro/boot-fixes
Fix a huge pile of issues
2016-04-27 10:39:03 +03:00
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.
2016-04-18 22:48:10 +02:00
Alcaro
f23e2bf684 Fix MCA link
Links are \[text\](URL) in Markdown, not (text)[URL].
2016-04-18 19:46:54 +02:00
Nehal J Wani
9553e9bf82 Fix small grammatical error
s/use/uses . The word 'processor' is singular :)
2016-04-12 03:15:40 +05:30
Larry Kim
51c5bc4893 Help readers not to confuse with segment addr and phy addr
and a minor typo
2016-04-03 06:20:43 +09:00
Dmitriy Olshevskiy
f2068d49a7 booting: fix typos 2016-03-29 19:59:43 +03:00
mennis
f24f71e041 grammar, spelling and sentence construction updates 2016-02-22 16:54:35 -08:00
0xAX
aedaaf6d97 Merge pull request #326 from c0riolis/linux-bootstrap-2-fix
Fix linux-bootstrap-2.md
2016-02-11 14:55:22 +06:00
0xAX
0ac662bdc8 Merge pull request #323 from c0riolis/master
Fix linux-bootstrap-1.md
2016-01-31 23:21:31 +06:00
Alexander Kuleshov
48fdd8c37f updated last part of the Linux kernel booting process chapter 2016-01-24 19:16:01 +06:00
Alexander Kuleshov
7a92195259 Finish with fourth part of booting process 2016-01-24 00:05:15 +06:00
Alexander Kuleshov
3e2e3b823c update linux-bootstrap-4.md 2016-01-23 23:59:11 +06:00
Alexander Kuleshov
f6c57be9bb Last update of the Booting/linux-bootstrap-4.md 2016-01-23 13:45:07 +06:00
Alexander Kuleshov
0cfd3af65f Update Booting/bootstrap-4.md 2016-01-23 01:46:14 +06:00
Matthieu Tardy
175b153379 Normalize indentation in linux-bootstrap-2 to improve readability 2016-01-22 06:02:56 +01:00
Matthieu Tardy
29ac51e923 Fix linux-bootstrap-2.md 2016-01-22 06:02:56 +01:00
Matthieu Tardy
c0c69b8dc0 Normalize indentation in linux-bootstrap-1's code sections to improve readability 2016-01-22 06:01:43 +01:00
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.
2016-01-22 06:01:43 +01:00
zhaoxiaoqiang
ae5cbb4c20 fix minor grammer errors 2016-01-06 18:16:12 +08:00
zhaoxiaoqiang
8deab213d9 refine statements about early page table build 2015-12-30 15:36:39 +08:00
0xAX
17351ed45a Update linux-bootstrap-4.md 2015-12-29 13:24:37 +06:00
0xAX
4830c64aeb Update linux-bootstrap-1.md 2015-12-28 17:15:16 +06:00
0xAX
7e18eb149b Merge pull request #299 from mudongliang/modifyinternals
revert internals to insides in Booting
2015-12-16 23:07:20 +06:00
0xAX
85b813292f Merge pull request #302 from hitmoon/master
fix logic error about KEEP_SEGMENTS flags
2015-12-11 13:37:56 +06:00
0xAX
5c8788aac6 Merge pull request #304 from shravanshandilya/master
Kernel is out of context till this point
2015-12-09 22:49:58 +06:00
0xAX
ee707554ea Merge pull request #297 from ruthgrace/bootstrap_1_bootloader
fixed grammar in linux-bootstrap-1.md, Bootloader section
2015-12-07 18:49:15 +06:00
Shravan Shandilya
a29d64e171 Kernel is out of context till this point 2015-12-06 21:19:39 +05:30
0xAX
422426a901 Merge pull request #296 from ruthgrace/bootstrap_1_bss_setup
fixed grammar in linux-bootstrap-1.md, BSS Setup section
2015-12-03 15:38:10 +06:00
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
2015-12-01 20:23:43 +06:00
0xAX
0de6568131 Merge pull request #293 from ruthgrace/bootstrap_1_jump_to_main
fixed grammar in linux-bootstrap-1.md, Jump to main section
2015-11-30 17:46:53 +06:00
0xAX
8f8c543d9c Merge pull request #292 from ruthgrace/bootstrap_1_segment_registers_align
fixed grammar in linux-bootstrap-1.md, Segment registers align section
2015-11-25 23:05:11 +06:00
zhaoxiaoqiang
bd7d8e6af0 fix logic error about KEEP_SEGMENTS flags 2015-11-25 18:34:32 +08:00
0xAX
f245f5b9fa Merge pull request #291 from ruthgrace/bootstrap_1_stack_setup
fixed grammar in linux-bootstrap-1.md, Stack set up section
2015-11-23 22:55:50 +06:00
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
2015-11-16 13:17:59 +03:00
0xAX
fce396e0bf Merge pull request #289 from ruthgrace/bootstrap_2_console_init
fixed grammar in linux-bootstrap-2.md, Console initialization section
2015-11-15 11:14:44 +03:00
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
2015-11-14 00:07:04 +03:00
0xAX
aefea69c9e Merge pull request #287 from ruthgrace/bootstrap_2_heap_init
fixed grammar in linux-bootstrap-2.md, Heap Initialization section
2015-11-11 09:05:59 +01:00
0xAX
c22523567b Merge pull request #286 from ruthgrace/bootstrap_2_protected_mode
fixed grammar in linux-bootstrap-2.md, Protected mode section
2015-11-09 13:08:50 +03:00
0xAX
2cd0316828 Merge pull request #285 from ruthgrace/bootstrap_2_querying
fixed grammar in linux-bootstrap-2.md, Querying section
2015-11-08 20:06:37 +03:00
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
2015-11-02 13:39:38 +06:00
慕冬亮
a413dd6a56 revert internals to insides in Booting 2015-11-02 10:49:34 +08:00
ruthgrace
f8083757de fixed grammar in linux-bootstrap-1.md, From the bootloader to [the] kernel section 2015-10-31 20:00:43 -04:00
ruthgrace
03a327ad22 fixed grammar in linux-bootstrap-1.md, Jump to main section 2015-10-31 03:12:04 -04:00
ruthgrace
a02a5d274c fixed grammar in linux-bootstrap-1.md, BSS Setup section 2015-10-31 03:10:57 -04:00