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

55 Commits

Author SHA1 Message Date
Tales Lelo da Aparecida
669c74a22c
Fix minor typo at linux-bootstrap-4.md 2021-02-13 19:31:22 -03:00
Hchild
26ad0042f1
Update linux-bootstrap-4.md 2020-10-26 18:36:29 -04:00
Jan Sonntag
fa1cf540e8 Fix broken links and emails 2020-10-14 19:40:15 +02:00
0xAX
3a477a66a2
Merge pull request #708 from aboivin/Booting/linux-bootstrap-4-typo
Booting/linux-bootstrap-4.md: fix typo
2020-10-11 13:29:35 +06:00
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>
2020-05-31 17:23:17 +02:00
Arnaud BOIVIN
aa2ccb403f Booting/linux-bootstrap-4.md: fix typo 2020-04-05 23:32:10 +02:00
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>
2020-03-25 13:09:19 +01:00
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>
2020-03-25 13:09:13 +01:00
Raghav Shankar
2ef0a4023b Fix grammar and improve formatting 2019-04-15 23:56:02 +05:30
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"
2019-01-15 10:37:27 +08: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
4df08a04e1
boot-4: s/command/instruction
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-05-05 23:50:31 +06:00
Alexander Kuleshov
e735b508d1
fix boot-4 2018-04-04 00:20:22 +06: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
26ebd67859 update linux kernel boostrap parts to the last kernel from upstream 2017-09-23 00:06:01 +06:00
Alexander Kuleshov
ab8d15afd0 boot: update linux-bootstrap-4.md 2017-09-12 00:57:21 +06:00
Aaron Hill
17da4af718
Make all Github links reference a specific commit
Closes #480
2017-07-30 15:56:26 -04:00
Kavindra Nikhurpa
ece5ad6f25 fix typos 2017-06-28 01:27:15 +05:30
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
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
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
mennis
f24f71e041 grammar, spelling and sentence construction updates 2016-02-22 16:54:35 -08: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
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
7e18eb149b Merge pull request #299 from mudongliang/modifyinternals
revert internals to insides in Booting
2015-12-16 23:07:20 +06:00
zhaoxiaoqiang
bd7d8e6af0 fix logic error about KEEP_SEGMENTS flags 2015-11-25 18:34:32 +08:00
慕冬亮
a413dd6a56 revert internals to insides in Booting 2015-11-02 10:49:34 +08:00
0xAX
99f21930d1 Merge pull request #262 from ruthgrace/bootstrap_4_transition_lon
fixed grammar in linux-bootstrap-4.md, Transition to long mode section
2015-10-20 13:16:56 +06:00
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
2015-10-20 13:16:45 +06:00
ruthgrace
12ff770afe fixed grammar mistakes in linux-bootstrap-4.md, Long mode section 2015-10-18 17:18:57 -04:00
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
2015-10-17 17:39:26 +06:00
0xAX
7233742766 Merge pull request #258 from ruthgrace/bootstrap_4_calc_relocation
fixed grammar in linux-bootstrap-4.md, Calculate relocation address section
2015-10-17 00:35:37 +06:00
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
2015-10-17 00:25:17 +06:00
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
2015-10-17 00:24:47 +06:00
ruthgrace
2e9ad1eb5f fixed grammar in linux-bootstrap-4.md, Transition to long mode section 2015-10-14 02:58:48 -04:00
ruthgrace
ede440d138 fixed grammar mistakes in linux-bootstrap-4.md, Early page tables initialization section 2015-10-13 20:30:49 -04:00
ruthgrace
f32b0f792c fixed grammar mistakes in linux-bootstrap-4.md, section Preparation before entering long mode 2015-10-13 20:05:23 -04:00
ruthgrace
95a9ce40f1 fixed grammar mistakes in linux-bootstrap-4, Calculate relocation address section 2015-10-13 19:58:47 -04:00
ruthgrace
796c21c171 fixed grammar mistakes in linux-bootstrap-4.md, Stack setup and CPU verification section 2015-10-13 19:52:04 -04:00
ruthgrace
bf3b7014dd fixed grammar mistakes in linux-bootstrap-4.md, Reload the segments if needed section 2015-10-13 19:48:13 -04:00
ruthgrace
0da1ecb5b1 fixed grammar mistakes in linux-bootstrap-4.md, 32 bit entry point section 2015-10-13 16:39:22 -04:00
ruthgrace
e60f8a2fb1 fixed grammar mistake: Remind that -> Recall that 2015-10-09 01:34:26 -04:00