1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-11-14 03:39:19 +00:00
Commit Graph

145 Commits

Author SHA1 Message Date
Jan Sonntag
fa1cf540e8 Fix broken links and emails 2020-10-14 19:40:15 +02:00
0xAX
af1a757457
Merge pull request #722 from initBasti/fix_broken_links
Fix broken git hub links
2020-10-11 13:29:17 +06:00
Sebastian Fricke
46877264f0 Fix multiple display names for fixed links
Change the display names to match the correct file location, which the
link points to.

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
2020-08-29 16:49:04 +02:00
Zhouyi Zhou
9f9cbd54da Adding a reference to GNU LD manual to Kernel Initialization. Part 1. 2020-08-16 16:36:20 +08:00
Sebastian Fricke
f1b388dbdb Fix broken git hub links
Replace the following dead github links, with equivalent working ones.

s/ 16f73eb02d | https://github.com/torvalds/linux
s/ 16f73eb02d/ | https://github.com/torvalds/linux
s/ 16f73eb02d/Documentation/security/credentials.txt | https://github.com/torvalds/linux/blob/master/Documentation/security/credentials.rst
s/ 16f73eb02d/Documentation/workqueue.txt | 6f0d349d92/Documentation/core-api/workqueue.rst
s/ 16f73eb02d/arch/x86/entry_entry_64.S | https://github.com/torvalds/linux/blob/master/arch/x86/entry/entry_64.S
s/ 16f73eb02d/arch/x86/include/asm/calling.h | https://github.com/torvalds/linux/blob/master/arch/x86/entry/calling.h
s/ 16f73eb02d/arch/x86/include/asm/pgalloc. | https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/pgalloc.h
s/ 16f73eb02d/arch/x86/include/bitops.h | https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/bitops.h
s/ 16f73eb02d/arch/x86/include/irqflags.h | https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/irqflags.h
s/ 16f73eb02d/arch/x86/include/uapi/asm/msr-index.h | https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/msr-index.h
s/ 16f73eb02d/arch/x86/kernel.setup.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/setup.c
s/ 16f73eb02d/arch/x86/kernel/entry_64.S | https://github.com/torvalds/linux/blob/master/arch/x86/entry/entry_64.S
s/ 16f73eb02d/arch/x86/kernel/vsyscall_64.c | https://github.com/torvalds/linux/blob/master/arch/x86/entry/vsyscall/vsyscall_64.c
s/ 16f73eb02d/arch/x86/kernel/vsyscall_emu_64.S | https://github.com/torvalds/linux/blob/master/arch/x86/entry/vsyscall/vsyscall_emu_64.S
s/ 16f73eb02d/blob/arch/x86/kernel/cpu/common.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/cpu/common.c
s/ 16f73eb02d/drivers/clocksource_acpi_pm.c | https://github.com/torvalds/linux/blob/master/drivers/clocksource/acpi_pm.c
s/ 16f73eb02d/drivers/i2c/i2c-core.c | https://github.com/torvalds/linux/blob/master/drivers/i2c/i2c-core-base.c
s/ 16f73eb02d/include/asm-generic-sections.h | https://github.com/torvalds/linux/blob/master/include/asm-generic/sections.h
s/ 16f73eb02d/include/context_tracking.h | https://github.com/torvalds/linux/blob/master/include/linux/context_tracking.h
s/ 16f73eb02d/include/mm_types.h | https://github.com/torvalds/linux/blob/master/include/linux/mm_types.h
s/ 16f73eb02d/kernel/apic/io_apic.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/apic/io_apic.c
s/ 16f73eb02d/kernel/apic/vector.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/apic/vector.c
s/ 16f73eb02d/kernel/cgroup.c | https://github.com/torvalds/linux/blob/master/kernel/cgroup/cgroup.c
s/ 16f73eb02d/kernel/cpuset.c | https://github.com/torvalds/linux/blob/master/kernel/cgroup/cpuset.c
s/ 16f73eb02d/kernel/irqinit.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/irqinit.c
s/ 16f73eb02d/kernel/locking/lockdep_insides.h | https://github.com/torvalds/linux/blob/master/kernel/locking/lockdep_internals.h
s/ 16f73eb02d/kernel/tick-common.c | https://github.com/torvalds/linux/blob/master/kernel/time/tick-common.c
s/ 16f73eb02d/kernel/time/tich-sched.c | https://github.com/torvalds/linux/blob/master/kernel/time/tick-sched.c
s/ 16f73eb02d/linux/binfmts.h | https://github.com/torvalds/linux/blob/master/include/linux/binfmts.h
s/ 16f73eb02d/locking/rwsem-xadd.c | https://github.com/torvalds/linux/blob/master/kernel/locking/rwsem.c
s/ 16f73eb02d/mm/block.c | https://github.com/torvalds/linux/blob/master/mm/memblock.c
s/ 16f73eb02d/sched/idle.c | https://github.com/torvalds/linux/blob/master/kernel/sched/idle.c
s/ 16f73eb02d/sound/isa/sscape | https://github.com/torvalds/linux/blob/master/sound/isa/sscape.c

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
2020-06-18 17:22:10 +02: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
Sebastian Fricke
991f171c6d Initialization/linux-initialization-8.md: Fix grammatical errors & improve wording
s/as if a single task/as if they were a single task/
s/The least unit which scheduler operates is an individual task or thread. But a process is not only one type of entities of which the scheduller may operate./
The smallest unit that the scheduler works with is an individual task or thread. However, a process is not the only type of entity that the scheduler can operate with./
s/these options provides support/these options provide support/
s/The first one option provides support for group scheduling with `completely fair scheduler` policies and the second with `real-time` policies respectively./
The first option provides support for group scheduling with the `completely fair scheduler` policies and the second with the `real-time` policies respectively./
s/It means that it supports/That means it supports/
2020-04-18 07:11:09 +02:00
Michael D
99e156101a More image file salvaging
Patch 3: Initialization/
2019-10-10 19:54:55 +02:00
Yaroslav Pronin
b0e971f17d
Fix typos 2019-07-14 17:49:36 +00:00
johnny
fc971e9a82
Update linux-initialization-6.md
SMBIOS EPS table residents in physical memory addresses between 0xF0000 and 0xFFFFF
2019-03-08 22:26:21 +08:00
johnny
021ae97f58
Update linux-initialization-5.md
typo
2019-03-07 21:53:17 +08:00
johnny
f8b7194f0c
Update linux-initialization-5.md
typo
2019-03-06 10:06:00 +08:00
johnny
990f5a098b
Update linux-initialization-4.md
typo
2019-03-04 21:37:36 +08:00
johnny
3af39d78e3
Update linux-initialization-3.md
typo
2019-03-02 14:43:14 +08:00
johnny
db53aa2fcc
Update linux-initialization-2.md
the stack top before early_idt_handler_common execute is vector number
2019-02-28 21:41:55 +08:00
dragonly
6c4eb99a31 encode parenthesis to make gitbook markdown parser happy 2018-11-17 17:04:55 +08:00
Yaroslav Pronin
d487b50709
[linux-initialization-1] Fix typos 2018-11-05 11:28:43 +00:00
Takuya Yamamoto
1bbdcee0ce Update linux-initialization-2 2018-10-08 21:22:12 +09:00
Takuya Yamamoto
a64aea42b6 Update linux-initialization-1 2018-09-27 23:12:43 +09:00
0xAX
66ce8c05d5
Merge pull request #622 from tkyymmt/patch3
Rename early_level4_pgt to early_top_pgt
2018-09-12 20:37:27 +06:00
0xAX
9b4c9dcd91
Merge pull request #621 from tkyymmt/patch2
Update Page fault handling paragraph
2018-09-12 20:37:07 +06:00
Takuya Yamamoto
0f4992c87e Rename early_level4_pgt to early_top_pgt 2018-09-08 20:26:48 +09:00
Takuya Yamamoto
de1a538815 Update Page fault handling paragraph 2018-09-08 19:23:36 +09:00
Takuya Yamamoto
7b0c7481fa Add Other exception handling paragraph 2018-09-03 23:50:16 +09:00
0xAX
4893578e04
Merge pull request #614 from tkyymmt/patch2
Update the definition of idt_descr
2018-09-02 13:09:21 +06:00
0xAX
fd29ecca0d
Merge pull request #617 from tkyymmt/patch4
Update Early interrupts handlers section
2018-09-02 13:04:18 +06:00
0xAX
201e64871b
Merge pull request #613 from tkyymmt/patch
Update linux-initialization-2.md
2018-09-02 13:03:55 +06:00
0xAX
477bddc220
Merge pull request #615 from tkyymmt/patch3
Add UNWIND_HINT_IRET_REGS feature description
2018-09-02 12:48:56 +06:00
Takuya Yamamoto
8d8dc63250 Update Early interrupts handlers section 2018-08-29 21:28:16 +09:00
Takuya Yamamoto
e5252b800a Add UNWIND_HINT_IRET_REGS feature description 2018-08-27 20:38:31 +09:00
Takuya Yamamoto
76337791b4 Update the definition of idt_descr 2018-08-25 22:55:13 +09:00
Takuya Yamamoto
424408f34f Update linux-initialization-2.md 2018-08-25 20:28:54 +09:00
Takuya Yamamoto
5f0d9efc9b Update descriptions related to initial_stack 2018-08-18 23:17:38 +09:00
Yaroslav Pronin
2429f0622c
Fix path to setup.h 2018-08-12 17:54:32 +00:00
Alexander Kuleshov
9d2aa869a1
initialization: update links to kernel-parameters docs
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-06-16 00:50:38 +06:00
Alexander Kuleshov
4382670c38
fix previous part before init chapter 2018-04-03 00:34:56 +06:00
Alexander Kuleshov
e896e56c86
s/http/https for linux-insides 2018-03-24 01:06:57 +06:00
Alexander Kuleshov
9679dbdd91 init-5: fix DMI
Found by @kele1997
2018-03-24 00:40:25 +06:00
Dongliang Mu
49c8951eb8 modify broken links related with Thoery, Data structure, Misc and so on 2018-03-22 19:50:44 -04:00
Dongliang Mu
4a57db7015 fix broken links 2018-03-22 01:28:16 -04:00
Dongliang Mu
72c71c2560 fix interrupts 2018-03-19 22:09:46 -04:00
Dongliang Mu
f159c63e0c Change mm to MM, interrupts to Interrupts 2018-03-16 16:03:40 -04:00
Firo Yang
723b07605c In the following expression, we add the value of phys_base to the
rax register, not the address of phys_base.
addq    phys_base(%rip), %rax

BTW, the value of phys_base =
the actual loaded physical address of kernel after relocation - the
likned physical address of kernel.

Signed-off-by: Firo Yang <firogh@gmail.com>
2017-11-29 16:21:45 +08:00
NeoCui
657c37e03f update the entry_64.S link in the linux-initialization-5.md file 2017-10-29 11:33:26 +08:00
NeoCui
f8cf93cd4c update the "kernel stack" link in the linux-initialization-5.md 2017-10-29 11:20:49 +08:00
0xAX
974c45019d Merge branch 'master' into master 2017-09-02 23:58:13 +06:00
0xAX
9c65648dd0 Merge pull request #504 from jbcayrou/patch-2
Fix typo linux-initialization-3
2017-08-04 23:52:45 +06:00
JB Cayrou
b96b249fdf Fix arch_local_irq_disable C code extract
In linux-initialization-4.md part, 'arch_local_irq_disable' is explained but the
code displayed is the 'arch_local_irq_enable' function.
2017-08-04 15:44:22 +02:00
Jean-Baptiste Cayrou
c546f39a95 Fix typo linux-initialization-3 2017-08-04 12:22:11 +02:00
Chandan Rai
976c775471 corrected typos 2017-08-02 00:44:53 +05:30