22 Commits (c4b17d17a085608e8de6e310797d8e81927aed8d)

Author SHA1 Message Date
Renaud Germain 17a0d7bfbc copyedit: interrupts chapter 2 years ago
Z 44dc8cb8db
Update linux-interrupts-2.md 4 years ago
Z 4d1e9aebaf
Update linux-interrupts-2.md 4 years ago
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>
4 years ago
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>
4 years ago
0xAX 58928da0bb
Merge branch 'master' into linux-interrupts-2-update 4 years ago
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>
4 years ago
Sebastian Fricke 4058f2418a linux-interrupts-2: Improve text block
Remove redundant 'the'
s/Now as we jumped on the startup_32 from the/Now as we jumped into `startup_32` from/

Remove redundant 'the', ensure a varied choice of words
s/we will not find anything related to the interrupt handling here/
  we will not encounter anything related to interrupt handling here/

Improve sentence structure
s/The startup_32 contains code that makes preparations before the transition into long mode and directly jumps in to it/
The code inside of `startup_32` makes necessary preparations, before transitioning into the long mode with a direct jump/

Improve sentence structure and ensure a varied choice of words.
s/it makes preparations before the kernel decompression that occurs in the decompress_kernel from the/
it makes arrangements for the kernel decompression that occurs in the `decompress_kernel` function inside of ../

Remove redundant 'the', vary the choice of words
s/we jump on the startup_64 from the/we jump into `startup_64` defined at/

Reduce repetition, improve sentence structure
s/we start to build identity-mapped pages. After we have built identity-mapped pages, checked the NX bit, setup the Extended Feature Enable Register (see in links), and updated the early Global Descriptor Table with the lgdt instruction, we need to setup gs register/

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke 55ebd12262 linux-interrupts-2: Reduce word repetion
Reduce the repetion of words and set missing punctuation.

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke f9c54129a3 linux-interrupts-2: Deprecated Makefile assignment
Replace a deprecated Makefile assignment with the current version.
Change was introduced with the following commit:
https://lkml.org/lkml/2019/10/24/377

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke a327d7237b linux-interrupts-2: rework pm jump part
Shorten the sentence to reduce repetition, as the correlation with the boot chapter
is already explained in the previous sentence.
Add 'function' to `protected_mode_jump`

s/We already know from the earliest parts that entry to protected mode is located
  in the `boot_params.hdr.code32_start` and you can see that we pass the entry of
  the protected mode and `boot_params` to the `protected_mode_jump`
 /The entry to protected mode is located in the `boot_params.hdr.code32_start`
  and passed together with the `boot_params` to the `protected_mode_jump` function/

Correct grammatical errors:
s/in the end of the/at the end of/

Improve word choices:
s/gets these two parameters in the/receives these two parameters within the/

Add missing punctuation and add filling words for a more fluent reading.

This commit introduced a new way of annotating functions: (https://lkml.org/lkml/2019/1/30/374)
s/GLOBAL(protected_mode_jump)/SYM_FUNC_START_NOALIGN(protected_mode_jump)/
s/ENDPROC(protected_mode_jump)/SYM_FUNC_END(protected_mode_jump)/
s/GLOBAL(in_pm32)/SYM_FUNC_START_LOCAL_NOALIGN(.Lin_pm32)/
s/ENDPROC(in_pm32)/SYM_FUNC_END(.Lin_pm32)/

This commit made in_pm32 local: (https://lkml.org/lkml/2019/10/11/192)
s/2:     .long   in_pm32/2:     .long   .Lin_pm32/

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke d383e52ef7 linux-interrupts-2:missing punctuation,improve wording
s/So, as you can understand there is no sense to have two similar structures which differ only by name./
It would make no sense to create two structures that only differ in their names./

Set missing punctuation.

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke 83ab97a7b1 linux-interrupts-2: Remove wrong 's' @ end of a word
s/the `NULL` interrupts descriptor table/the `NULL` interrupt descriptor table/

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke a03aff1a0f linux-interrupts-2: Improve sentence structure
s/in the `go_to_protected_mode` function by the call of the `setup_idt`/
  in the `go_to_protected_mode` function by calling `setup_idt`/

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke 256b27ef79 Improve wording and remove repetitions
Remove repetitive statements and improve wording choices.

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke 8976544271 remove accidental corruptions 4 years ago
Sebastian Fricke caa200e708 Interrupts/linux-interrupts-2.md: Improve wording
s/more about its implementation you can read/you can read more about its implementation/
s/For now we come to/For now, we have reached/
s/Of course you already can know that we will/You probably already know, that we will/
4 years ago
kylekizirian 53230a12c8 fixed typo in interrupts/linux-interrupts-2 for early_idt_handler_array 5 years ago
Alexander Kuleshov e896e56c86
s/http/https for linux-insides 6 years ago
Dongliang Mu 49c8951eb8 modify broken links related with Thoery, Data structure, Misc and so on 6 years ago
Dongliang Mu 72c71c2560 fix interrupts 6 years ago
Dongliang Mu f159c63e0c Change mm to MM, interrupts to Interrupts 6 years ago