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

1694 Commits

Author SHA1 Message Date
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
2020-04-23 17:26:36 +02:00
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.
2020-04-21 19:47:26 +02:00
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/
2020-04-21 19:38:25 +02:00
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
2020-04-21 18:47:12 +02:00
0xAX
9e1318f3ec
Merge pull request #705 from manbing/master
Cgroups/linux-cgroups-1.md: Fix typo
2020-04-05 23:27:17 +06:00
0xAX
39b3353715
Merge pull request #707 from initBasti/linux-interrupts-1-fix
Linux interrupts 1 fix
2020-04-05 23:27:00 +06:00
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.
2020-04-05 09:54:15 +02:00
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
2020-04-05 07:10:37 +02:00
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.
2020-04-04 09:09:02 +02:00
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)
2020-04-04 09:03:02 +02:00
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
2020-04-01 07:34:48 +02:00
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.
2020-04-01 07:21:50 +02:00
Sebastian Fricke
73fd0ad5e1 add Sebastian Fricke to the contributer list 2020-03-27 07:01:38 +01:00
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
2020-03-27 06:55:13 +01:00
Manbing
659a9be536 Cgroups/linux-cgroups-1.md: Fix typo
Modify "cp_cgrp_subsys" to "cpu_cgrp_subsys".

Signed-off-by: Manbing <manbing3@gmail.com>
2020-03-12 09:04:39 +08:00
0xAX
9fa85802fe
Merge pull request #703 from sodrooome/master
Fix syntax highlighting in clocksource framework
2020-03-01 13:57:25 +06:00
Ryan Febriansyah
2e52bcc4e9
Update linux-timers-2.md 2020-03-01 10:11:26 +07:00
0xAX
053f4b50ac
Merge pull request #702 from bmeneguele/initcalls-fix
concepts/initcalls: typos and new content
2020-02-22 14:25:46 +06:00
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>
2020-02-21 17:03:12 -03:00
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>
2020-02-21 16:12:43 -03:00
0xAX
8c4053c6c6
Merge pull request #694 from proninyaroslav/patch-1
Fix image in the README file
2019-11-24 19:09:06 +06:00
proninyaroslav
e68003af8e Add assets 2019-11-10 19:23:13 +03:00
Yaroslav Pronin
98a02f269b
Fix image path 2019-11-10 16:20:02 +00:00
0xAX
37a77fede0
Merge pull request #692 from darkstar/fixes
Some small spelling fixes
2019-11-01 23:36:52 +06:00
0xAX
7730b08da7
Merge pull request #693 from darkstar/fix_images
Fix (almost) all images by storing them locally
2019-11-01 23:36:25 +06:00
Michael D
e67179a2f6 ...and the last images fixed
Patch 7: SysCall/, Theory/ and Timers/
2019-10-10 20:11:49 +02:00
Michael D
fd8281da5c Image salvaging continuing
Patch 6: MM/
2019-10-10 20:08:12 +02:00
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.
2019-10-10 20:03:54 +02:00
Michael D
a047b17551 More recovered images
Patch 4: Interrupts/
2019-10-10 19:57:27 +02:00
Michael D
99e156101a More image file salvaging
Patch 3: Initialization/
2019-10-10 19:54:55 +02:00
Michael D
a82aca5a4a Some more images recovered from waybackmachine
Patch 2: Cgroups/
2019-10-10 19:50:47 +02: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
cadd5c3576
Merge pull request #690 from sjp38/sync2_fix_1
Sync2 fix 1
2019-10-07 23:58:06 +06:00
0xAX
5303f8b91a
Merge branch 'master' into sync2_fix_1 2019-10-07 23:57:59 +06:00
0xAX
aa355fadeb
Merge pull request #691 from srvk-99/master
Update linux-misc-2.md
2019-10-07 23:57:06 +06:00
0xAX
67c7258b28
Merge pull request #688 from md1512/corrected-escaping-2
Corrected escaping on two URLs revision 2
2019-10-07 23:56:51 +06: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
Sourav Karjee
bd2d5e7ef1
Update linux-misc-2.md 2019-10-02 00:19:01 +05:30
SeongJae Park
75a611e28d SyncPrim/linux-sync-2.md: Fix a dot into semicolon
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-10-01 19:38:35 +02:00
SeongJae Park
7fe8bc397a SyncPrim/linux-sync-2.md: Fix missed description about spinlock api
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-10-01 19:38:35 +02:00
Stefan20162016
501ffa504d added link to minimal bootloader with comments 2019-10-01 19:38:35 +02:00
Marco Torsello
82aaf56611 Corrected escaping on two URLs
Corrected escaping on two Wikipedia URLs
2019-09-26 00:44:00 +02:00
0xAX
5afe86aeeb
Merge pull request #685 from Stefan20162016/add-link-to-linux-bootstrap-1
added link to minimal bootloader with comments
2019-08-26 14:15:22 +06:00
0xAX
057f65636d
Merge pull request #684 from josh-byster/patch-2
Minor clarity edit in sentence
2019-08-26 14:14:48 +06:00
Stefan20162016
60c19f7c02 added link to minimal bootloader with comments 2019-08-21 23:17:32 +02:00
Josh Byster
afe67bc8bf
Minor clarity edit in sentence
I may be misunderstanding the original meaning of the line, however "after the factorial function" seems to mean it would be "offset after the factorial function" (i.e. `0x400537 + 0x18`) but in reality you mean offset after the call function to get to the factorial function (`0x40051a + 0x5 + 0x18`). Very minor edit but may help for clarity. Thanks for creating such an awesome project.
2019-08-04 21:33:53 -05:00
Bill Wendling
a3dabbe734 Cleanup some of the grammar to flow better 2019-08-01 15:20:24 -07:00
0xAX
1a599f17d0
Merge pull request #680 from proninyaroslav/patch-1
Fix typos
2019-07-20 14:09:31 +06:00
Yaroslav Pronin
b0e971f17d
Fix typos 2019-07-14 17:49:36 +00:00