|
|
@8b3bff5
|
15 years |
jakub |
btree_search() can find an already removed key if the tree is empty.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b4a67a
|
15 years |
jakub |
Use a more portable definition of NULL.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1bfd3d3
|
15 years |
jiri |
Replace @returns with @return.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1479562
|
15 years |
jakub |
Let copy_from/to_uspace() detect attempts to access the address space …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4fe18151
|
15 years |
jakub |
Fix bitmap operations wrt. bits == 0.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10285ad
|
15 years |
jakub |
Backout the previous change as it breaks ega.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c441bd
|
15 years |
jakub |
Remove redundant code.
As a side effect, this fixes the code for bits …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da88a079
|
15 years |
jakub |
Fix cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c088975
|
15 years |
jakub |
Instead of locking TASK→lock, lock udebug.lock before calling …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f5b4e0d
|
15 years |
jakub |
Disable sys_interrupts_enable() because it is not portable.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04cb68f2
|
15 years |
jakub |
Merge from lp:~helenos-dd/helenos/dd.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fa10f6
|
15 years |
jakub |
Remove syscall for controlling preemption.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af96dd57
|
15 years |
martin |
fix two possible NULL dereferences
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2650d3
|
15 years |
martin |
rename PA_overlaps to PA_OVERLAPS
be more tolerant about some cases of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@257ceb1
|
15 years |
jakub |
Introduce the stack trace context which is passed to the individual …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a7199c2
|
15 years |
jakub |
Reduce kconsole stack space consumption by about 2.5KiB by using …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b62d5614
|
15 years |
jakub |
Fix typo.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d5a1c73
|
15 years |
jakub |
If supplied, print also the context-specific message on bad traps and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9a6b29
|
15 years |
jakub |
Add missing new line in the generic panic message.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09b859c
|
15 years |
jakub |
Merge from mainline.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97bdb4a
|
15 years |
martin |
avoid tracing of several memory-related functions which are called …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04e3d9f
|
15 years |
martin |
remove an overly bold assumption about the validity of CPU
(some …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bbfdf62
|
15 years |
martin |
size_t as a return type of zone_conf_size() is more natural than uintptr_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a0359b
|
15 years |
martin |
improve kernel function tracing
- add support for more generic kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2ea4ab1
|
15 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3ee9b9
|
15 years |
martin |
remove forward static function declarations and reorder functions
(if …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da52547
|
15 years |
martin |
add early_putchar() which can be used to do early kernel console …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75c9852
|
15 years |
martin |
remove forgotten debugging output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d1be48
|
15 years |
jakub |
Use more specific panic type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49ace23
|
15 years |
martin |
use PRIp as a portable way of printing pointer-like numbers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90ed058
|
15 years |
jakub |
Merge ia32 interrupt handler and trap frame improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4babe62
|
15 years |
martin |
port uspace sorting improvements back to kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@263bda2
|
15 years |
martin |
remove LOG_EXEC() macro, use compile-time instrumentation for detailed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a683150
|
15 years |
jakub |
Print only the necessary width of the offset.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa3b8e4
|
15 years |
martin |
LOG() adds newline already
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c19aa612
|
15 years |
martin |
Return "unknown" instead of "Not found". The capitalization and space …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe32163
|
15 years |
martin |
improve support for inactive CPUs
major revision of MADT and MPS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49eb681
|
15 years |
martin |
code cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3038b4
|
15 years |
jakub |
Merge unified panic architecture (Phase 1).
Note that this is still …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@22a28a69
|
15 years |
jakub |
Rename decode_istate() to istate_decode() and declare it only once in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05e3cb8
|
15 years |
martin |
cstyle changes (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c31d20
|
15 years |
jakub |
Check CPU before doing CPU→id.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74c5a1ca
|
15 years |
martin |
compact printouts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@decfbe56
|
15 years |
martin |
be paranoid and update exception statistics in a critical section
(for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@06737a0
|
15 years |
jakub |
Foundations for the unified panic architecture.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c8de00
|
15 years |
jakub |
Add missing include.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ccb426c
|
15 years |
martin |
improve other kernel printouts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@851f33a
|
15 years |
martin |
merge "tests" and "test" kconsole commands
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@402eda5
|
15 years |
jakub |
Fix a newly introduced deadlock in the TLB shootdown algorithm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a49a1a1
|
15 years |
jakub |
Do not disable interrupts in sys_futex_wakeup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee42e43
|
15 years |
jakub |
Retire kernel rwlocks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdaad75d
|
15 years |
jakub |
Do not disable interrupts unnecessarily.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d0c82c5
|
15 years |
martin |
perfect CPU cycles accounting, cherry-picked and adopted from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2319df3
|
15 years |
jiri |
Fix uninitialized field in error path. (Found by CSA).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd3a631f
|
15 years |
martin |
Fix weird load average values.
The fix has been addopted from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b584cd4
|
15 years |
martin |
Update thread's last_cycle seems to be actually needed to properly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@214ec25c
|
15 years |
martin |
use unsigned integers for exception and interrupt numbers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3b7e14a
|
15 years |
martin |
distinguish between "hot" and "cold" exceptions
display only "hot" …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be06914
|
15 years |
martin |
nicer top printouts
fix typos (recieved → received)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48dcc69
|
15 years |
martin |
better printouts for threads
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0f13d2
|
15 years |
martin |
introduce more compact and more readable command output to kconsole …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8eec3c8
|
15 years |
martin |
merge basic exception accounting (this is the last piece missing from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f80c77
|
15 years |
jakub |
Lock/interrupt assertions in the code are self-documenting. No need to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2d3ddad
|
15 years |
jakub |
Add more *_locked() assertions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c992538a
|
15 years |
jakub |
Disable interrupts during callN kconsole commands.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ac99db
|
15 years |
jiri |
Make uspace threads stoppable before they exit. This fixes ticket #244.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4acaa7c0
|
15 years |
jiri |
Fix incorrect irq spinlock bracketing in kbox_proc_phone_hungup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d432f9
|
15 years |
jakub |
Reflect assumptions about lock and interrupt state in functions themselves.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ada559c
|
15 years |
jakub |
Add page_table_locked() interface.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@313b617
|
15 years |
jakub |
Remove spinlock_unlocked() and irq_spinlock_unlocked() interfaces …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffe4a87
|
15 years |
jakub |
Add interfaces for testing the status of plain spinlocks and the IRQ …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7da4284
|
15 years |
jakub |
Add interface for testing the state of a mutex.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5df7928
|
15 years |
jakub |
Add interface for determining the semaphore count.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7398c0
|
15 years |
jakub |
Add interfaces for getting and setting the waitq missed_wakeups.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a9f1372
|
15 years |
jakub |
Move the irq_spinlock code to spinlock.c for better debuggability.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da1bafb
|
15 years |
martin |
major code revision
- replace spinlocks taken with interrupts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c47e1a8
|
15 years |
trochtova.lenka |
merge mainline changes (rev. 451)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b4a9f26
|
15 years |
martin |
Add interrupts-disabled spinlocks whose purpose is the semantic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f173404
|
15 years |
jiri |
Fix locking in ipc_kbox_cleanup(). This was a leftover from the time …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c964521
|
15 years |
jakub |
Lock the page tables before initiating the TLB shootdown, avoiding …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e4e706
|
15 years |
martin |
cstyle changes (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@52c60b6
|
15 years |
jakub |
Fix non-SMP builds.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6f0e3a2
|
15 years |
jiri |
Fix lock ordering in kbox_proc_hone_hungup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2fcdb1
|
15 years |
jakub |
Merge fix for ticket #232.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd98e594
|
15 years |
jakub |
Lock THREAD before calling thread_update_accounting() from exc_dispatch().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e984f2
|
15 years |
jakub |
Disable interrupts and lock THREAD before calling …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4039c77
|
15 years |
jakub |
Add assertion to detect attempts to block when hodling a spinlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2afb650
|
15 years |
martin |
unify printf implementations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1624aae
|
15 years |
jakub |
Assert that as_destroy() is not being called on AS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@481d4751
|
15 years |
jakub |
Fix a race condition between the scheduler and as_destroy().
It was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@663bb537
|
15 years |
jakub |
Fix comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d3808d3
|
15 years |
jakub |
Do not clear TASK in task_destroy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6193351
|
15 years |
jakub |
Deploy as_hold() and as_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0321109
|
15 years |
jakub |
Add as_hold() and as_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ed8530
|
15 years |
jakub |
Deploy task_hold() and task_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@278b4a30
|
15 years |
jakub |
Add task_hold() and task_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ce914d4
|
15 years |
martin |
get rid of atoi, use str_uint64
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13108f24
|
15 years |
jakub |
Split spinlock_unlock() into a debug and non-debug version.
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@953bc1ef
|
15 years |
trochtova.lenka |
introduced an 'interrupt_enable' syscall as a temporary solution for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55821eea
|
15 years |
jakub |
Do not use blocking malloc() in make_magcache().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|