mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
Kernel: Add safe atomic functions
This allows us to perform atomic operations on potentially unsafe user space pointers.
This commit is contained in:
parent
992f513ad2
commit
b17a889320
10 changed files with 573 additions and 166 deletions
|
@ -13,6 +13,14 @@ SECTIONS
|
|||
start_of_kernel_text = .;
|
||||
*(.text)
|
||||
*(.text.startup)
|
||||
|
||||
start_of_safemem_text = .;
|
||||
*(.text.safemem)
|
||||
end_of_safemem_text = .;
|
||||
start_of_safemem_atomic_text = .;
|
||||
*(.text.safemem.atomic)
|
||||
end_of_safemem_atomic_text = .;
|
||||
|
||||
end_of_kernel_text = .;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue