Commit Graph

1354 Commits

Author SHA1 Message Date
Yaroslav Pronin
46360405c7
Merge pull request #16 from Le0nX/linux-bootstrap-1-style-fix
fix: style
2018-03-17 18:52:48 +04:00
le0nx
dc17cd218a fix: style 2018-03-16 14:37:44 +03:00
Yaroslav Pronin
1178da188c
Merge pull request #15 from averrin/patch-2
Fix typo
2018-01-09 19:59:25 +04:00
Averrin
d686766363
Fix typo 2018-01-09 18:47:17 +03:00
Yaroslav Pronin
37ed5dcc64
Merge pull request #14 from averrin/patch-1
Fix typo
2018-01-09 18:31:15 +04:00
Averrin
0542afcd61
Fix typo 2018-01-09 16:27:32 +03:00
proninyaroslav
9129abef39 Начало перевода linux-initialization-2.md 2018-01-09 14:47:10 +03:00
proninyaroslav
cb449997dc Исправление ошибок в части дескрипторов сегментов 2018-01-03 21:51:02 +03:00
proninyaroslav
cd93ea62ea alignment fixed
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-01-03 21:19:27 +03:00
proninyaroslav
4d6e7f98c3 fill up linker scriptfill up linker script
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-01-03 21:17:34 +03:00
Edward Hu
f0c9e5578d word change 2017-12-23 21:29:48 +03:00
Edward Hu
ff1e76b822 grammer adjustment and concept clarifying 2017-12-23 21:28:51 +03:00
proninyaroslav
511b4e22d5 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-12-23 21:26:04 +03:00
proninyaroslav
c9ed5aa5fe bootstrap1: .org directive is useless in a case of binary output
so we may remove one.

Thank you @slo

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2017-12-23 21:23:35 +03:00
Fupan Li
94e883c9a5 spinlock: fix the wrong function name of arch_spin_lock
It should be arch_spin_unlock instead of arch_spin_lock.

Signed-off-by: Fupan Li <fupan.li@windriver.com>
2017-12-23 21:21:52 +03:00
Alexander Kuleshov
a80ec8d5b4 fix #546 2017-11-26 11:53:58 +03:00
0xF0D0
2e6ce3cd12 typo fixed (0bB800 -> 0xb800)
Signed-off-by: 0xF0D0 <goodbumsu@gmail.com>
2017-11-26 11:53:27 +03:00
0xF0D0
3ed8adc0d3 add name to contributor list
Signed-off-by: 0xF0D0 <goodbumsu@gmail.com>
2017-11-26 11:52:00 +03:00
proninyaroslav
ea402603eb Обновление ссылки с корректным номером строки 2017-11-26 11:50:17 +03:00
proninyaroslav
fd1b5f25c3 Обновление ссылки с корректным номером строки 2017-11-26 11:49:27 +03:00
Dou Liyang
1526623107 Fix the mm range of guard hole
s/0xffff80ffffffffff/0xffff87ffffffffff/
2017-11-26 11:46:55 +03:00
NeoCui
5280f79021 update the entry_64.S link in the linux-initialization-5.md file 2017-11-26 11:46:38 +03:00
NeoCui
6118ad54c7 update the "kernel stack" link in the linux-initialization-5.md 2017-11-26 11:46:22 +03:00
Dan Ungureanu
a9afc75152 Fix broken link. 2017-11-26 11:45:48 +03:00
Jeremy Wong
fc63bdf0af fix typo of "subsys" 2017-11-26 11:43:04 +03:00
proninyaroslav
1f2c47982d Добавлено местоположение исходного кода Coreboot 2017-11-26 11:42:32 +03:00
Alexander Kuleshov
3e1456fc91 update SUMMARY.md 2017-11-26 11:37:49 +03:00
Alexander Kuleshov
b1b6c72a22 return notification_chains.md back 2017-11-26 11:35:56 +03:00
jyhuang91
8484a5b70b topo fix 2017-11-26 11:30:54 +03:00
dimtass
e8959129f9 Simple typo fix 2017-11-26 11:28:28 +03:00
proninyaroslav
af83d52f1e Обновление частей 'Процесса загрузки ядра' до последнего ядра из upstream 2017-11-25 22:11:47 +03:00
Georgii Staroselskii
71cdacb771 syscall-3.md: fix typos
- delete a comma
- s/receiving/received
- s/Both function/Both functions
- s/vsyscal/vsyscall
2017-11-25 20:49:58 +03:00
proninyaroslav
e18496d7e1 Перевод linux-initialization-1.md 2017-10-04 19:29:26 +03:00
Neil Shen
8e6a12d81f Fix merge conflicts for timer-7.md 2017-09-21 21:53:12 +03:00
diekmann
391030ed94 Improved picture of stack layout
* Added dots around envp and argv since those are arrays of pointers.
  While argc and NULL are just 8B, argv and envp are of variable size,
  usually more than 8B. The dots visualize this.

* In the first image, moved rsp to point to argc. This is the initial
  stack and register layout at the beginning of _start. Only after libc
  popped the top of the stack into rsi, rsp will point to beginning of
  argv. (*)

(*)
I verified this by writing my own _start implementation:
  039ac7c03c/start.asm (L61)
2017-09-21 21:52:41 +03:00
Cornelius Diekmann
1972d27d76 Language: Added articles. Content: exec* family
Language improvement: Added articles like `the`, `a`, ...

Content: The `exec*` family is a `C` wrapper, the syscall is usually only `execve`.
2017-09-21 21:52:09 +03:00
Cornelius Diekmann
67820470cc Clarify: vDSO is linked automatically with glibc
Change is partly a verbatim copy of https://www.kernel.org/doc/Documentation/ABI/stable/vdso

Quote: "Programs that dynamically link to glibc will use the vDSO automatically. Otherwise, you can use the reference parser in tools/testing/selftests/vDSO/parse_vdso.c."

The old version of the book was slightly imprecise. It was unclear to me whether this is an optional or a default behavior.
2017-09-21 21:49:39 +03:00
Cornelius Diekmann
668882bb7d Minor language improvement
There are multiple different system calls. Starting the introduction in plural gives a better bridge to the examples "like to read or to write to a file, to open a socket" ...
2017-09-21 21:49:17 +03:00
JB Cayrou
9c153b969c 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-09-21 21:48:59 +03:00
Jean-Baptiste Cayrou
36daf4811f Fix typo linux-initialization-3 2017-09-21 21:47:14 +03:00
Chandan Rai
8af6becd53 corrected typos 2017-09-21 21:45:55 +03:00
Chandan Rai
0851b0fa4a corrected typos 2017-09-21 21:45:09 +03:00
proninyaroslav
bfc8b1de8e Сделать все ссылки Github ссылками на конкретный коммит 2017-09-21 21:38:18 +03:00
int3rrupt
b6d992c9f8 Update sentence grammar
Remove "never" from end of sentence and change "can't exceed to "can never exceed"
2017-09-21 20:46:15 +03:00
Jakub Wilk
0ec149c5f7 SysCall/syscall-6: Fix typos 2017-09-21 20:45:55 +03:00
0xAX
4fc049b36d Update SUMMARY.md 2017-09-21 20:45:15 +03:00
0xAX
f6eb1ffa84 Update README.md 2017-09-21 20:44:38 +03:00
0xAX
f94aee36fa Create syscall-6.md 2017-09-21 20:43:45 +03:00
Radek Dostál
338bd3696a Initialization: make grep command more precise
Idea is clearly to grep for "kthreadd", even though grepping for "kthread"
will also work.

Signed-off-by: Radek Dostál <rd@radekdostal.com>
2017-09-21 20:42:30 +03:00
Radek Dostál
cc95c0aaeb Initialization: fix spelling
"hierarcy" => "hierarchy"
"hierarcies" => "hierarcies"

Signed-off-by: Radek Dostál <rd@radekdostal.com>
2017-09-21 20:42:13 +03:00