summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSiddhant Rao <sid@pop-os.localdomain>2021-06-02 19:10:41 +0530
committerAndreas Kling <kling@serenityos.org>2021-06-02 18:02:59 +0200
commit566d3cb3935e2daa1629a43eb3aac1dba42fcc41 (patch)
tree712f3c384738d36f0316d8ae6d6deaafac2e0659 /Documentation
parentea7ba34a31b3ef9f3ef49bb77068ffdb0167497c (diff)
downloadserenity-566d3cb3935e2daa1629a43eb3aac1dba42fcc41.zip
Documentation: Correct some typos in kernel and browser docs
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/Browser/ProcessArchitecture.md4
-rw-r--r--Documentation/Kernel/AHCILocking.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/Browser/ProcessArchitecture.md b/Documentation/Browser/ProcessArchitecture.md
index a7dafa9b8e..40cd805d70 100644
--- a/Documentation/Browser/ProcessArchitecture.md
+++ b/Documentation/Browser/ProcessArchitecture.md
@@ -12,7 +12,7 @@ Every instance of the **Browser** application can have one or more tabs open. Ea
Two important aspects of web browsing are further separated from the **WebContent** process: *network requests* and *image decoding*, segregated to the **RequestServer** and **ImageDecoder** processes respectively.
-All processes and are aggressively sandboxed using the `pledge()` and `unveil()` mechanisms. Furthermore, all processes except **Browser** run as an unprivileged user, separate from the primary logged-in desktop user.
+All processes are aggressively sandboxed using the `pledge()` and `unveil()` mechanisms. Furthermore, all processes except **Browser** run as an unprivileged user, separate from the primary logged-in desktop user.
### Process: WebContent
@@ -26,7 +26,7 @@ For DNS lookups, **RequestServer** asks for help from the system's global **Look
### Process: ImageDecoder
-This process can decode images (PNG, JPEG, BMP, ICO, PBM, etc.) into bitmaps. Each image is decoded in a fresh **ImageDecoder** process. These are strongly sandboxed and can't do much except receive encoded bitmap data and return a bitmap to **WebContent** if decoding successful.
+This process can decode images (PNG, JPEG, BMP, ICO, PBM, etc.) into bitmaps. Each image is decoded in a fresh **ImageDecoder** process. These are strongly sandboxed and can't do much except receive encoded bitmap data and return a bitmap to **WebContent** if decoding is successful.
### How processes are spawned
diff --git a/Documentation/Kernel/AHCILocking.md b/Documentation/Kernel/AHCILocking.md
index d575198893..6986d9582c 100644
--- a/Documentation/Kernel/AHCILocking.md
+++ b/Documentation/Kernel/AHCILocking.md
@@ -16,7 +16,7 @@ Locker locker(m_lock);
return true;
```
-This lock doesn't disable interrupts at all, and if it already in use, the scheduler will simply yield away from that section until it tries to lock it again.
+This lock doesn't disable interrupts at all, and if it is already in use, the scheduler will simply yield away from that section until it tries to lock it again.
### Hard lock - `SpinLock<u8>`
@@ -31,7 +31,7 @@ ScopedSpinLock lock(m_lock);
return true;
```
-### Why we need soft and hard locking in the AHCI code?
+### Why do we need soft and hard locking in the AHCI code?
First of all, the proper way of taking a `SpinLock` and `Lock` is to:
```c++