|
|
@39e1b9a
|
3 months |
zarevucky.jiri |
Convert console output devices to batch printing
|
|
|
@690ad20
|
3 months |
zarevucky.jiri |
Convert kio buffer to bytes (part 1)
|
|
|
@d5b37b6
|
3 months |
zarevucky.jiri |
Use a new syscall, SYS_KIO_READ, for reading from KIO buffer
…
|
|
|
@571cc2d
|
3 months |
zarevucky.jiri |
Use irq_spinlock_t instead of plain spinlock_t in console code
|
|
|
@163e34c
|
4 months |
zarevucky.jiri |
Actually convert the printf outputs everywhere
|
|
|
@696b405
|
4 months |
zarevucky.jiri |
Implement standard character conversion functions from <uchar.h> and …
|
|
|
@7d1497c
|
4 months |
zarevucky.jiri |
Make kernel assert() a valid expression when debug is disabled
|
|
|
@90dd8aee
|
4 months |
zarevucky.jiri |
Introduce a console lock to prevent line splitting in kernel output
…
|
|
|
@9f2f5ee
|
4 months |
zarevucky.jiri |
Rewrite kernel mutex implementation a little
Removes MUTEX_ACTIVE, …
|
|
|
@0b47781
|
4 months |
zarevucky.jiri |
Extend kernel condvar_t to work with spinlocks
MUTEX_ACTIVE is a poor …
|
|
|
@597fa24
|
4 months |
zarevucky.jiri |
Enable static initialization of kernel synchronization primitives
|
|
|
@3e7948c
|
4 months |
zarevucky.jiri |
Deduplicate forgotten adt header
|
|
|
@f35749e
|
5 months |
jiri |
System restart via shutdown -r
|
|
|
@3fcea34
|
10 months |
zarevucky.jiri |
Simplify the SYS_THREAD_CREATE syscall interface
Removed the beefy …
|
|
|
@096c0786
|
11 months |
zarevucky.jiri |
Ensure ALIGN_UP/DOWN() work with any size arguments
|
|
|
@af3235d
|
13 months |
5887334+jxsvoboda |
Make HelenOS compilable when detailed kernel message is enabled
|
|
|
@07d4271
|
18 months |
zarevucky.jiri |
Fix some unsound task reference manipulation and locking
In some …
|
|
|
@1a1e124
|
18 months |
zarevucky.jiri |
Add static refcount initializer
|
|
|
@d23712e
|
19 months |
zarevucky.jiri |
Use thread state variable instead of a cpu local variable to pass state
|
|
|
@dfa4be62
|
19 months |
zarevucky.jiri |
Thread lock is no longer necessary
|
|
|
@515f1b1
|
19 months |
zarevucky.jiri |
Organize thread_t fields by access constraints
|
|
|
@11909ce3
|
19 months |
zarevucky.jiri |
Make thread cycle statistics atomic
|
|
|
@33e15a0
|
19 months |
zarevucky.jiri |
Make thread→btrace weakly atomic, to avoid need for thread lock
|
|
|
@41bfc64
|
19 months |
zarevucky.jiri |
Make thread→state weakly atomic so we don't need to hold thread lock
|
|
|
@3d84734
|
19 months |
zarevucky.jiri |
Make thread→priority weakly atomic to avoid need for locking
|
|
|
@efed95a3
|
19 months |
zarevucky.jiri |
Make thread→cpu weakly atomic, to avoid need for thread lock
|
|
|
@286da52
|
19 months |
zarevucky.jiri |
Streamline requeuing threads
Split thread_ready() into different …
|
|
|
@6a0e568
|
19 months |
zarevucky.jiri |
Allow fast-switch to another runnable thread
When a thread is …
|
|
|
@c1eaec4
|
19 months |
zarevucky.jiri |
Shuffle some locks around
|
|
|
@25939997
|
19 months |
zarevucky.jiri |
Make separate-stack-scheduler a loop with persistent context
We can …
|
|
|
@ed7e057
|
19 months |
zarevucky.jiri |
Add functions context_create(), context_replace() and context_swap()
…
|
|
|
@0f4f1b2
|
19 months |
zarevucky.jiri |
Add (and use) functions thread_start() and thread_detach()
Mostly …
|
|
|
@151c050
|
19 months |
zarevucky.jiri |
Rethink scheduler entry points
Changes the way scheduler is entered, …
|
|
|
@5663872
|
19 months |
zarevucky.jiri |
Move stuff around for thread sleep
Only mark the thread as ready for …
|
|
|
@4760793
|
19 months |
zarevucky.jiri |
Add CPU_LOCAL alongside CPU and segregate fields that are only used …
|
|
|
@de96d3b
|
19 months |
zarevucky.jiri |
On x86 CPUs supporting it, use write-combining memory mode for …
topic/simplify-dev-export
|
|
|
@40eab9f
|
21 months |
zarevucky.jiri |
Print symbol names and line numbers in stacktraces for init tasks
…
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1170cfc7
|
21 months |
zarevucky.jiri |
Remove include sorcery from DWARF constant definitions
Also add a …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63ed840
|
21 months |
zarevucky.jiri |
Remove unused functions gets() and getc() from kernel
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad9178bf
|
21 months |
zarevucky.jiri |
Deduplicate ADT
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55c5cb05
|
21 months |
zarevucky.jiri |
Deduplicate gsort()
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdfb24e
|
21 months |
zarevucky.jiri |
Deduplicate string related functions
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44e8541
|
21 months |
zarevucky.jiri |
Move stdlib.h and some of its function into /common
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b169619
|
21 months |
zarevucky.jiri |
Deduplicate mem functions
There are a number of functions which are …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@001957b6
|
21 months |
zarevucky.jiri |
ccheck
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fbb42f
|
21 months |
zarevucky.jiri |
Add printing of file names and line numbers in stacktraces
Uses DWARF …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da13982
|
21 months |
zarevucky.jiri |
Read symbol table from ELF sections
Instead of the currently broken …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d28bdbe
|
21 months |
zarevucky.jiri |
Verify arguments of empty log calls
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3dbe27
|
2 years |
zarevucky.jiri |
Reduce locking further with lazy FPU
It turns out we only need a lock …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@06f81c4
|
2 years |
zarevucky.jiri |
Check cpu_t::fpu_owner directly instead of …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@169815e
|
2 years |
zarevucky.jiri |
Split cpu_t::lock into fpu_lock and tlb_lock
For all other purposes, …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b2ec5cf
|
2 years |
zarevucky.jiri |
Implement atomic_time_stat_t for lockless timekeeping
We keep …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd218ea
|
2 years |
zarevucky.jiri |
Remove unnecessary thread_t::wired
There's already …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@72ac106
|
2 years |
zarevucky.jiri |
Add list_swap() for swapping lists
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deed510
|
2 years |
zarevucky.jiri |
Remove an unused variable and make a few others 'static'
They aren't …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65f3117
|
2 years |
zarevucky.jiri |
Make bootstrap stack statically, rather than dynamically allocated
…
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f84ee42
|
2 years |
zarevucky.jiri |
Fix a bug accidentally introduced in 4777e022
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4777e02
|
2 years |
zarevucky.jiri |
Make spinlock functions inlineable in non-SMP case
By popular demand.
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@111b9b9
|
2 years |
zarevucky.jiri |
Reimplement waitq using thread_wait/wakeup
This adds a few functions …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76e17d7c
|
2 years |
zarevucky.jiri |
Reorganize mutex implementation
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11d2c983
|
2 years |
zarevucky.jiri |
Reorganize locking in thread_destroy()
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1871118
|
2 years |
zarevucky.jiri |
Make thread_t reference counted
This simplifies interaction between …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@daadfa6
|
2 years |
zarevucky.jiri |
Remove unnecessary context field from cpu_t structure
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c78104
|
2 years |
zarevucky.jiri |
Get rid of waitq_count_get/set
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83789ea2
|
2 years |
zarevucky.jiri |
Simplify timeout handling
Since timeout_unregister() now waits for …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba25c4b
|
2 years |
zarevucky.jiri |
Synchronize timeout_unregister() with handler execution
This ensures …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78acbc72
|
2 years |
zarevucky.jiri |
Remove unused thread_interrupted(), make thread_interrupt() useful
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0366d09d
|
2 years |
zarevucky.jiri |
Avoid separate allocation for FPU context
With _Alignas, we can …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c5320c
|
2 years |
zarevucky.jiri |
Use the semaphore interface instead of waitq in some places
Since we …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5110d0a
|
2 years |
zarevucky.jiri |
Turn a bunch of macros into regular functions
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61eb2ce2
|
2 years |
zarevucky.jiri |
Make hash table operations immutable, because global mutable state is evil
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c030818
|
2 years |
zarevucky.jiri |
Move saved interrupt level from context_t to thread_t
Unlike the rest …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@011c79a
|
2 years |
zarevucky.jiri |
Replace CPU→needs_relink with CPU→relink_deadline
This removes a …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aae2869
|
2 years |
zarevucky.jiri |
Replace THREAD→ticks with CPU→preempt_deadline
This removes a bit …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b076dfb
|
2 years |
zarevucky.jiri |
Implement more elaborate debug checking for spinlocks
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f43d8ce
|
2 years |
zarevucky.jiri |
Make spinlock_lock/unlock into proper functions in all configurations
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61ae4b0
|
3 years |
zarevucky.jiri |
A bit of cleanup
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46b305a
|
3 years |
zarevucky.jiri |
Remove redundant timeout→lock
See the previous commit for …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad58fd2
|
3 years |
zarevucky.jiri |
Make timeout→cpu immutable
We ensure timeout→cpu is only changed in …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@742f95ec
|
3 years |
zarevucky.jiri |
Replace timeout→ticks with timeout→deadline
Instead of counting …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9dda26
|
3 years |
zarevucky.jiri |
Update uptime using absolute count of clock ticks
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31e15be
|
4 years |
5887334+jxsvoboda |
kernel: deprecate atomic_t
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69511176
|
4 years |
martin |
Avoid undefined behavior even more
While the previous implementation …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36795edf
|
4 years |
martin |
Improve lists and other data structures
Provide more …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e037cf37
|
5 years |
jiri |
Show kernel console again when its physical area is unmapped
It's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1582b50
|
5 years |
jiri |
Fix spacing in single-line comments using latest ccheck
This found …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@28a5ebd
|
5 years |
martin |
Use char32_t instead of wchat_t to represent UTF-32 strings
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@128359eb
|
5 years |
martin |
Replace get_stack_base() with builtin_frame_address(0)
The usage of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad211c8
|
6 years |
martin |
remove unnecessary SYSCALL_END
The size of the syscall table is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc0de8c
|
6 years |
jakub |
Move kobject's ops out of kobject
Kobject ops is a property of the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a5269d
|
6 years |
noreply |
Change type of uspace pointers in kernel from pointer type to numeric …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bdca26a
|
6 years |
jakub |
Removing printf when failing from lib/rtld
If rtld failed a message …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84176f3
|
6 years |
jakub |
arm64: Add support for the architecture
This changeset adds basic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46e886f
|
6 years |
jakub |
Add port/MM IO agnostic functions to map/unmap PIO
In kernel we have …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e801dc
|
6 years |
noreply |
Indicate and enforce constness of hash table key in certain functions …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4805495
|
6 years |
zarevucky.jiri |
Make sure libc and abi header guards are reserved identifiers
It's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8df5f20
|
6 years |
zarevucky.jiri |
Rename NO_TRACE to _NO_TRACE
<trace.h> may end up transitively …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d066259
|
6 years |
zarevucky.jiri |
Synchronize str.c/str.h across boot/kernel/uspace
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@247fdea
|
7 years |
5887334+jxsvoboda |
Remove B+tree
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fc3b2d
|
7 years |
5887334+jxsvoboda |
Replace B+tree with ordered dict. for used space
Replace the use of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|