1913 Commits (master)
 

Author SHA1 Message Date
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 2dcb99f7f7 Update gate-descriptor initialization 2/2
Removed backslashes in links in front of underscores as they are
unnecessary.
Fixes problems of commit: 350c9715ee
4 years ago
0xAX d87766cd88
Merge pull request #706 from andi8086/andreas-fix1
Fix description of 'rep stosl' in bootstrap-4
4 years ago
0xAX dfae85322d
Merge pull request #710 from initBasti/fix-typo
Word order & word choice improvements
4 years ago
Sebastian Fricke 350c9715ee Update gate-descriptor initialization
The initialization of gate descriptors was changed from using
set_intr_gate_ist() to idt_setup_from_table, which initalizes the
struct idt_data def_idts[] array.
Commit: https://lkml.org/lkml/2017/8/25/732

Update the entry point definition to contain the new read_cr2 attribute
Commit: https://lkml.org/lkml/2019/7/4/656

Update ENTRY and END macro to the new SYM_CODE_START & SYM_CODE_END
Commit: https://lkml.org/lkml/2019/10/11/344

Update the description of the code passages accordingly.
4 years ago
Sebastian Fricke d9df431572 Update wrmsr description
Replace irq_stack_union with fixed_percpu_data
Add missing punctuation

Improve sentence structure:
s/the ability to switch to a new stack for events non-maskable interrupt
interrupt/the ability to switch to a new stack for events like a non-maskable interrupt/
4 years ago
Sebastian Fricke 4aef3bfbdb Update gs register initialization
Replace irq_stack_union with fixed_percpu_data
Update load_percpu_segment as documented in these commits:
https://lkml.org/lkml/2018/3/13/1126 & https://lkml.org/lkml/2016/4/29/276
4 years ago
Sebastian Fricke 8976544271 remove accidental corruptions 4 years ago
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/
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
Sebastian Fricke 74a281cccc SyncPrim/linux-sync-1 improve wording
Improve wording of multiple sentences in the introduction.
Correct grammar mistakes.
No semantic changes.
4 years ago
Sebastian Fricke a40a3d1be3 Fix typo at the description of IDT entries
s/special mechanism in the x86_64, will see it later;/
  special mechanism in the x86_64, which is described below;/
4 years ago
Sebastian Fricke 781a2d12f1 Missing commas
Commas after the words: Finally, Also at the beginning of sentences
and before a which within a sentence.
4 years ago
Sebastian Fricke f294553e43 Fix typo in Interrupts-1
s/..allows the interrupted program to be resume/
  ..allows the interrupted program to resume/
4 years ago
Arnaud BOIVIN aa2ccb403f Booting/linux-bootstrap-4.md: fix typo 4 years ago
0xAX 9e1318f3ec
Merge pull request #705 from manbing/master
Cgroups/linux-cgroups-1.md: Fix typo
4 years ago
0xAX 39b3353715
Merge pull request #707 from initBasti/linux-interrupts-1-fix
Linux interrupts 1 fix
4 years ago
Sebastian Fricke 4a7f812014 Update irq_stack initialization II
Replace the removed initialization within setup_percpu.c with the
initialization for X86_64 defined within irq_64.c
Change the description accordingly.
4 years ago
Sebastian Fricke c96791d527 Update irq_stack initialization
Replace irq_stack_union with fixed_percpu_data
Update to the current system map
Update description of initialization process
Replace DECLARE macros with the current implementation
4 years ago
Sebastian Fricke 64a9777ca7 Replace deprecated initial_gs initialization
Within /arch/x86/kernel/head_64.S the implementation of the
initialization was changed.
Update the passage accordingly.
b1bd27b9ad (diff-a136f03867893e5d01eeadaba59c2dff)

Also fix a typo from a previous commit.
4 years ago
Sebastian Fricke 7a3f099c76 Replace irq_stack_union with new implementation
The irq_stack is no longer within a irq_stack_union
but separated into the irq_stack struct and the fixed_percpu_data struct
This change was made with the following series of commits:
e6401c1309 (diff-7db868ab08485b2578c9f97e45fb7d00)
4 years ago
Sebastian Fricke e3711a1ac3 Add correct location & link to the definition
Add link to the github file location and the path
within the source directory to gate_struct definiton
4 years ago
Sebastian Fricke 1bf6ed1ec9 replace gate_struct64 with unified gate_struct
As described in this:
https://lore.kernel.org/lkml/20170828064957.861974317@linutronix.de/
mail from the lkml.
And changed within this commit:
64b163fab6 (diff-35bcd00365a749ba6cfa246a7dc86a68)

The gate_struct was unified for 32 and 64bit machines.
Replaced gate_struct64 definition with that of gate_struct.
4 years ago
Sebastian Fricke 73fd0ad5e1 add Sebastian Fricke to the contributer list 4 years ago
Sebastian Fricke db72e924c1 correct the source code file as reference
the function void set_system_intr_gate doesn't exists anymore
the function set_intr_gate is now located in arch/x86/kernel/idt.c
4 years ago
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>
4 years ago
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>
4 years ago
Manbing 659a9be536 Cgroups/linux-cgroups-1.md: Fix typo
Modify "cp_cgrp_subsys" to "cpu_cgrp_subsys".

Signed-off-by: Manbing <manbing3@gmail.com>
4 years ago
Radoslaw Smigielski 646a47cd43 Minor README rewording 4 years ago
Radoslaw Smigielski 67096998a7 Remove unnecessary '\' from one of example commands 4 years ago
Radoslaw Smigielski 7873a715d1 How to create and run gitbook server in local container 4 years ago
0xAX 9fa85802fe
Merge pull request #703 from sodrooome/master
Fix syntax highlighting in clocksource framework
4 years ago
Ryan Febriansyah 2e52bcc4e9
Update linux-timers-2.md 4 years ago
0xAX 053f4b50ac
Merge pull request #702 from bmeneguele/initcalls-fix
concepts/initcalls: typos and new content
4 years ago
Bruno Meneguele cdbc603fbd concepts/initcalls: add module_init macro information
While reading about initcalls around the web and kernel source code I found
that the information of what happens to __init functions not explicitly set to
any initcall list pretty useful. With this patch such information is added.

Signed-off-by: Bruno Meneguele <bmeneguele@gmail.com>
4 years ago
Bruno Meneguele cbc004adde concepts/initcalls: rewording and typo corrections
This patch handle different typos present in the initcall section of the book.
It also reword some paragraphs in order to get it clearer to the reader.
Some example codes were also added in order to help the reader to understand
smaller concepts, like the way initcalls callbacks are named in the object
file.

Signed-off-by: Bruno Meneguele <bmeneguele@gmail.com>
4 years ago
Sakshat e4f5dabd26
Update LICENSE.md 4 years ago
Sakshat 8066f0ba0f
Create LICENSE.md 4 years ago
0xAX 8c4053c6c6
Merge pull request #694 from proninyaroslav/patch-1
Fix image in the README file
5 years ago
proninyaroslav e68003af8e Add assets 5 years ago
Yaroslav Pronin 98a02f269b
Fix image path 5 years ago
0xAX 37a77fede0
Merge pull request #692 from darkstar/fixes
Some small spelling fixes
5 years ago
0xAX 7730b08da7
Merge pull request #693 from darkstar/fix_images
Fix (almost) all images by storing them locally
5 years ago
Michael D e67179a2f6 ...and the last images fixed
Patch 7: SysCall/, Theory/ and Timers/
5 years ago
Michael D fd8281da5c Image salvaging continuing
Patch 6: MM/
5 years ago
Michael D 639a7b59c3 More image fixes
Patch 5: Misc/

Note that one image, the "busybox menu", was not saved to
the wayback machine and has been lost.
5 years ago
Michael D a047b17551 More recovered images
Patch 4: Interrupts/
5 years ago
Michael D 99e156101a More image file salvaging
Patch 3: Initialization/
5 years ago
Michael D a82aca5a4a Some more images recovered from waybackmachine
Patch 2: Cgroups/
5 years ago