|
|
@f35749e
|
4 months |
jiri |
System restart via shutdown -r
|
|
|
@d231a54
|
4 months |
zarevucky.jiri |
Use clang compiler when configured as such
|
|
|
@be62ebc
|
4 months |
noreply |
fix tester/mapping1 test (#243)
|
|
|
@56210a7a
|
5 months |
zarevucky.jiri |
Update GCC and binutils to latest versions
|
|
|
@3fcea34
|
9 months |
zarevucky.jiri |
Simplify the SYS_THREAD_CREATE syscall interface
Removed the beefy …
|
|
|
@096c0786
|
9 months |
zarevucky.jiri |
Ensure ALIGN_UP/DOWN() work with any size arguments
|
|
|
@bec6379
|
9 months |
zarevucky.jiri |
Make it possible to set a breakpoint on ubsan_panic()
|
|
|
@dd50aa19
|
10 months |
zarevucky.jiri |
Allocation function tweaks
- Add reallocarray() from POSIX 2024 for …
|
|
|
@af3235d
|
12 months |
5887334+jxsvoboda |
Make HelenOS compilable when detailed kernel message is enabled
|
|
|
@6a044dd
|
12 months |
5887334+jxsvoboda |
Remove the necessity of initrd to be in the last of grub's modules list
|
|
|
@3526f4f3
|
13 months |
jiri |
On 486 we cannot call read_msr()/write_msr()
|
|
|
@74cb6610
|
17 months |
zarevucky.jiri |
Fix the reference leak for initial tasks too
|
|
|
@f8b69a1e
|
17 months |
zarevucky.jiri |
Fix a reference leak introduced by previous commit
Oddly, prior to …
|
|
|
@07d4271
|
17 months |
zarevucky.jiri |
Fix some unsound task reference manipulation and locking
In some …
|
|
|
@1a1e124
|
17 months |
zarevucky.jiri |
Add static refcount initializer
|
|
|
@d23712e
|
17 months |
zarevucky.jiri |
Use thread state variable instead of a cpu local variable to pass state
|
|
|
@dfa4be62
|
17 months |
zarevucky.jiri |
Thread lock is no longer necessary
|
|
|
@a3d87b9
|
17 months |
zarevucky.jiri |
We don't need to check thread state to wait for thread exit
|
|
|
@9fbdeca
|
17 months |
zarevucky.jiri |
The initialization value for priority is actually irrelevant
|
|
|
@3fa4e22a
|
17 months |
zarevucky.jiri |
Only do fpu_cleanup() once we are sure we are switching
|
|
|
@515f1b1
|
17 months |
zarevucky.jiri |
Organize thread_t fields by access constraints
|
|
|
@11909ce3
|
17 months |
zarevucky.jiri |
Make thread cycle statistics atomic
|
|
|
@33e15a0
|
17 months |
zarevucky.jiri |
Make thread→btrace weakly atomic, to avoid need for thread lock
|
|
|
@7364e2d1
|
17 months |
zarevucky.jiri |
Don't try to determine internal thread state when requesting stack …
|
|
|
@41bfc64
|
17 months |
zarevucky.jiri |
Make thread→state weakly atomic so we don't need to hold thread lock
|
|
|
@3d84734
|
17 months |
zarevucky.jiri |
Make thread→priority weakly atomic to avoid need for locking
|
|
|
@efed95a3
|
17 months |
zarevucky.jiri |
Make thread→cpu weakly atomic, to avoid need for thread lock
|
|
|
@286da52
|
17 months |
zarevucky.jiri |
Streamline requeuing threads
Split thread_ready() into different …
|
|
|
@6a0e568
|
17 months |
zarevucky.jiri |
Allow fast-switch to another runnable thread
When a thread is …
|
|
|
@c1eaec4
|
17 months |
zarevucky.jiri |
Shuffle some locks around
|
|
|
@25939997
|
17 months |
zarevucky.jiri |
Make separate-stack-scheduler a loop with persistent context
We can …
|
|
|
@1c1767f
|
17 months |
zarevucky.jiri |
Remove empty C file
|
|
|
@29029ac0
|
17 months |
zarevucky.jiri |
Call after_thread_ran_arch() before context switch
This is only used …
|
|
|
@ed7e057
|
18 months |
zarevucky.jiri |
Add functions context_create(), context_replace() and context_swap()
…
|
|
|
@4ed7870
|
18 months |
zarevucky.jiri |
Revert part of commit 5861b602
|
|
|
@e82879c
|
18 months |
zarevucky.jiri |
Remove unnecessary function
|
|
|
@0f4f1b2
|
18 months |
zarevucky.jiri |
Add (and use) functions thread_start() and thread_detach()
Mostly …
|
|
|
@a064d4f
|
18 months |
zarevucky.jiri |
Make thread_join() imply thread_put()
This makes the function more …
|
|
|
@5861b60
|
18 months |
zarevucky.jiri |
Lift actions that do not need separate context out of …
|
|
|
@151c050
|
18 months |
zarevucky.jiri |
Rethink scheduler entry points
Changes the way scheduler is entered, …
|
|
|
@8996582
|
18 months |
zarevucky.jiri |
Move context switch preparation to a new separate function
This puts …
|
|
|
@6e49dab
|
18 months |
zarevucky.jiri |
Extract post-thread cleanup into a separate function
|
|
|
@23f36a3
|
18 months |
zarevucky.jiri |
Wrap fpu handling code in named functions
|
|
|
@5663872
|
18 months |
zarevucky.jiri |
Move stuff around for thread sleep
Only mark the thread as ready for …
|
|
|
@4760793
|
18 months |
zarevucky.jiri |
Add CPU_LOCAL alongside CPU and segregate fields that are only used …
|
|
|
@3b68542
|
18 months |
zarevucky.jiri |
Eliminate an undefined behavior in scheduler debug printout
The …
|
|
|
@6677acb
|
18 months |
zarevucky.jiri |
Emit .text/.data/.eh_frame sections in kernel ELF files
Gives tools …
|
|
|
@de96d3b
|
18 months |
zarevucky.jiri |
On x86 CPUs supporting it, use write-combining memory mode for …
topic/simplify-dev-export
|
|
|
@7130754
|
18 months |
zarevucky.jiri |
Add printbench command for benchmarking print output
topic/simplify-dev-export
|
|
|
@e0d874b7
|
20 months |
jakub |
Disable array-bounds warnings for fault1
This is currently needed to …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40eab9f
|
20 months |
zarevucky.jiri |
Print symbol names and line numbers in stacktraces for init tasks
…
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1170cfc7
|
20 months |
zarevucky.jiri |
Remove include sorcery from DWARF constant definitions
Also add a …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63ed840
|
20 months |
zarevucky.jiri |
Remove unused functions gets() and getc() from kernel
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@694ca3d6
|
20 months |
zarevucky.jiri |
Deduplicate printf_core()
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad9178bf
|
20 months |
zarevucky.jiri |
Deduplicate ADT
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55c5cb05
|
20 months |
zarevucky.jiri |
Deduplicate gsort()
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdfb24e
|
20 months |
zarevucky.jiri |
Deduplicate string related functions
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44e8541
|
20 months |
zarevucky.jiri |
Move stdlib.h and some of its function into /common
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b169619
|
20 months |
zarevucky.jiri |
Deduplicate mem functions
There are a number of functions which are …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c89ae25
|
20 months |
zarevucky.jiri |
Fix and enable —gc-sections in /kernel and /boot
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0373af9
|
20 months |
zarevucky.jiri |
Forgotten debugging tweak
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@001957b6
|
20 months |
zarevucky.jiri |
ccheck
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fbb42f
|
20 months |
zarevucky.jiri |
Add printing of file names and line numbers in stacktraces
Uses DWARF …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da13982
|
20 months |
zarevucky.jiri |
Read symbol table from ELF sections
Instead of the currently broken …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d28bdbe
|
20 months |
zarevucky.jiri |
Verify arguments of empty log calls
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@133461c
|
20 months |
zarevucky.jiri |
Align arm32 atomic op prototypes with compiler's expectations
Based …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfb16c4
|
20 months |
zarevucky.jiri |
Panic on unexpected use of exception handling
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62721d5
|
20 months |
zarevucky.jiri |
Workaround linker warnings about RWX segment
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abb70fc3
|
20 months |
zarevucky.jiri |
Silence compiler when accessing low memory addresses
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec8ef12
|
2 years |
zarevucky.jiri |
Split find_best_thread() into two functions
try_find_thread() …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@117ad5a2
|
2 years |
zarevucky.jiri |
Get thread priority from find_best_thread(), instead of locking thread …
ticket/834-toolchain-update
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
|
|
|
@fbaf6ac
|
2 years |
zarevucky.jiri |
Streamline thread load-balancing
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
|
|
|
@c680333
|
2 years |
zarevucky.jiri |
Move task switch handling into a separate function
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3118355
|
2 years |
zarevucky.jiri |
Optimize relink_rq()
Iterate backwards and only lock each runqueue …
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
|
|
|
@bea6233
|
2 years |
zarevucky.jiri |
Replace cpu_sleep() with cpu_interruptible_sleep()
The new function …
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
|
|
|
@6188fee
|
2 years |
zarevucky.jiri |
Exclude boot allocations in frame allocator
I think some platforms …
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
|
|
|
@c7326f21
|
2 years |
zarevucky.jiri |
Move some oddly placed accounting code
Thread ucycles and kcycles …
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
|
|
|
@e994898
|
2 years |
zarevucky.jiri |
Fix an oops
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
|
|
|
@c0b54c9
|
2 years |
zarevucky.jiri |
Thread is guaranteed to exist in waitq_sleep_timed_out
…
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
|
|
|