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

301 Commits

Author SHA1 Message Date
Ayyuce Demirbas
f998c45910
The link is broken
Added new link to kaslr_64.c source code file
2020-07-22 01:36:41 +03:00
Ayyuce Demirbas
4630e9c4d0
Some minor changes to improve formatting
Added a space
2020-07-20 01:24:45 +03: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
Alexander Kuleshov
09642cab4e fix calculation of 8086 available memory range
Thanks to @rodggerbr
2020-05-31 13:15:40 +06: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
0xAX
37a77fede0
Merge pull request #692 from darkstar/fixes
Some small spelling fixes
2019-11-01 23:36:52 +06:00
Michael D
84a7575f2f Salvage images from archive.org and add them to git
Patch 1: Booting/
2019-10-10 19:47:21 +02:00
Michael D
747f10af14 Some small spelling fixes 2019-10-10 19:30:08 +02:00
0xAX
720e7534ad
Merge pull request #683 from gwelymernans/cleanups
Cleanup some of the grammar to flow better
2019-10-07 23:56:20 +06:00
Stefan20162016
60c19f7c02 added link to minimal bootloader with comments 2019-08-21 23:17:32 +02:00
Bill Wendling
a3dabbe734 Cleanup some of the grammar to flow better 2019-08-01 15:20:24 -07:00
0xAX
b97cc6aaf5
Merge pull request #667 from WarpspeedSCP/grammar-fix
Fix grammar and  improve formatting for linux-bootstrap section
2019-04-24 17:23:16 +06:00
WarpspeedSCP
64712ac607
fix typo 2019-04-16 22:21:45 +05:30
Raghav Shankar
2ef0a4023b Fix grammar and improve formatting 2019-04-15 23:56:02 +05:30
Jekton Luo
f1237841c1 Fix desc about movzbl in linux-bootstrap-2.md 2019-03-28 11:57:59 +08:00
Alexander Kuleshov
e205c3966b
fix segmenta address in boot 1
Thank you to @changuoqiang and @PinoTsao

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2019-03-09 00:00:31 +06:00
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
Reid Mayfield
7225b45c3b
Minor capitalization nitpick
Reset vector -> reset vector
2018-12-14 20:33:55 +11:00
Dongliang Mu
0956160db0
Merge pull request #641 from yuanli-cn/patch-1
Fix the typo
2018-12-01 14:02:07 +08:00
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