1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00
Commit Graph

331 Commits

Author SHA1 Message Date
prettykernel
66654361ca
typo fix 2018-12-01 13:30:26 +08:00
yuanli-cn
9fc7c1fbf1
Fix the typo
'0xffff' --> '0xfffff'
2018-11-29 15:31:41 +08:00
eclissi91
cef68c1757
fixing typo in doc
ref. #620
2018-10-03 10:56:31 +02:00
Yaroslav Pronin
3af6133f05
Fix tables and pseudographics formatting 2018-08-06 09:09:57 +00:00
Yaroslav Pronin
006febdbcf
Merge pull request #18 from 0xAX/master
Update 01.08.2018
2018-08-01 19:37:02 +03:00
Yaroslav Pronin
f994df5985
Fix incorrect links to the previous part 2018-07-24 17:44:16 +00:00
Edward H
c9a4497c77
Fixed syntax error in the sentence 2018-07-09 20:35:11 +08:00
Alexander Kuleshov
01ce5185d8
boot: fix indentation
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-06-18 00:43:01 +06:00
Alexander Kuleshov
b4f824db27
fix order of calling set_bios_mode()
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-06-14 23:47:54 +06:00
Alexander Kuleshov
3d68ef4efe
boot: update to last linux v4.16
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-05-12 01:27:02 +06:00
Alexander Kuleshov
0801a3bbf4
boot: note that Booting dir contains data related to Linux kernel v4.16
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-05-11 23:47:18 +06:00
Alexander Kuleshov
4df08a04e1
boot-4: s/command/instruction
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-05-05 23:50:31 +06:00
Alexander Kuleshov
5d643f8e9f
boot-1: clarify boot address
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-05-04 23:46:09 +06:00
Alexander Kuleshov
efed15d860
kaslr: improve sentence
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-05-03 23:45:10 +06:00
Miha Zidar
f9f5308923
Fix allocater typo 2018-04-29 12:58:19 +02:00
proninyaroslav
02df55c500 Merge branch 'master' of https://github.com/0xAX/linux-insides into 0xAX-master 2018-04-04 21:09:35 +03:00
Alexander Kuleshov
4d63511724
kaslr: update links 2018-04-04 00:21:02 +06:00
Alexander Kuleshov
9092a38671
boot-5: add gdt64 2018-04-04 00:20:37 +06:00
Alexander Kuleshov
e735b508d1
fix boot-4 2018-04-04 00:20:22 +06:00
Alexander Kuleshov
9b7d1b067e
kaslr: add KASLR_FLAG description 2018-04-03 00:29:12 +06:00
Alexander Kuleshov
b7ed445f0a
remove unneded empty line in the code 2018-04-03 00:08:35 +06:00
Alexander Kuleshov
f3f7cc503c
fix description of a20_test() 2018-04-02 00:20:22 +06:00
Alexander Kuleshov
98ba56ad89 add description for alignment check of loadable segments
c55b8550fa
2018-04-01 00:45:57 +06:00
Iru Cai
7c0d65420c linux-bootstrap-2: correct the calling convention statement
The use of ax, dx, cx to pass the function arguments is not `fastcall`
convention in GCC, which only uses cx and dx. This calling convention
comes from the GCC -mregparm=3 option.

[1] https://en.wikipedia.org/wiki/X86_calling_conventions
2018-03-18 15:23:38 +08:00
Iru Cai
ab197de198 linux-bootstrap-5.md: fix typo, http->https 2018-03-18 15:20:33 +08:00
Iru Cai
2da09c8755 Booting/linux-bootstrap-1.md: update to the latest coreboot code 2018-03-16 10:51:18 +08:00
Iru Cai
16bb7744f3 Booting/linux-bootstrap-1.md: lowercase coreboot[1], http->https
[1] in coreboot source code:
      util/lint/lint-stable-021-coreboot-lowercase
2018-03-16 10:51:12 +08:00
kuritonasu
3513614cb8 Replaced from with since 2018-01-23 10:30:42 +02:00
kuritonasu
60fbd20122 Modified a couple of points that sound more correct 2018-01-23 10:21:18 +02:00
Raghav Shankar
a51574ae2b Formatting change 2018-01-15 16:30:48 +05:30
Raghav Shankar
c81fa6763b Make grammar and formatting fixes in linux-bootstrap-3.md 2018-01-15 16:25:23 +05:30
Raghav Shankar
3b9b488267 Grammar and formatting fixes in linux-bootstrap-2.md 2018-01-14 10:26:55 +05:30
Raghav Shankar
d9c55a26e8 Make grammar and formatting fixes in linux-bootstrap-1.md 2018-01-12 18:15:21 +05:30
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