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

49 Commits

Author SHA1 Message Date
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
Dave Flogeras
511688b110 Fix typo 2015-08-27 21:49:42 -03:00
umatomba
518d6b7572 Update linux-bootstrap-4.md 2015-04-23 17:20:40 +02:00
Ciro Santilli
b6740f7eab Make x86 paging reference title clearer 2015-03-01 08:40:56 +01:00
0xAX
c6e99a8997 indentation fixed 2015-02-08 00:21:34 +06:00
0xAX
c3fe74f46d Booting 4 part 2015-02-08 00:17:05 +06:00