Rev |
Age |
Author |
Path |
Log message |
Diff |
3397 |
5948 d 18 h |
rimsky |
/branches/sparc/ |
Merged recent changes from trunk into the Sparc branch. |
|
3343 |
5972 d 14 h |
decky |
/branches/sparc/ |
add sparc branch |
|
3164 |
6036 d 10 h |
jermar |
/trunk/ |
First argument of atomic functions is read-write (ia32). |
|
2089 |
6541 d 18 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2082 |
6547 d 18 h |
decky |
/trunk/ |
__asm__ __volatile__ -> asm volatile |
|
2071 |
6552 d 11 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1888 |
6677 d 14 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6742 d 13 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6749 d 14 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6770 d 17 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1697 |
6771 d 11 h |
palkovsky |
/kernel/trunk/arch/ |
Fixed incorrect atomic_postinc/postdec...again... |
|
1691 |
6772 d 15 h |
palkovsky |
/kernel/trunk/arch/ia32/include/ |
Fix either bad compiler or bad code. The net result is better
optimization in GCC |
|
1104 |
6853 d 14 h |
jermar |
/kernel/trunk/ |
Define atomic_t only once in atomic.h
Change the encapsulated counter type to long so that it supports negative values as well. |
|
1100 |
6855 d 11 h |
palkovsky |
/kernel/trunk/ |
Cleanup of spinlocks, now compiles both ia32 and amd64 with
and without DEBUG_SPINLOCKS. Made spinlocks inline.
Moved syscall_handler to generic (it was identical for ia32,amd64 & mips32).
Made slightly faster syscall for ia32.
Made better interrupt routines for ia32.
Allow not saving non-scratch registers during interrupt on ia32,amd64,mips32.
Aligned interrupt handlers on ia32,amd64, this should prevent problems
with different instruction lengths. |
|
1024 |
6860 d 12 h |
jermar |
/kernel/trunk/ |
Redefine semantics of unary atomic operations.
Add test to verify that an architecture understands the semantics correctly. |
|
633 |
6950 d 9 h |
palkovsky |
/kernel/trunk/arch/ |
Fixes of compilation of atomic. |
|
631 |
6950 d 10 h |
palkovsky |
/kernel/trunk/ |
Fixed cpu halting in debug panic mode. |
|
627 |
6950 d 14 h |
jermar |
/kernel/trunk/ |
Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.
sparc64 work.
TBA must be set before a function call when MMU is switched off. |
|
625 |
6950 d 15 h |
palkovsky |
/kernel/trunk/ |
We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning. |
|
557 |
6958 d 18 h |
jermar |
/kernel/trunk/ |
Add comments describing locking rules for some locks.
Cleanup. |
|
534 |
6961 d 12 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6961 d 12 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6973 d 16 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
481 |
6983 d 9 h |
vana |
/SPARTAN/trunk/arch/ia32/include/ |
Revert of =m in ia32 atomic operations. In according to gcc docs +m should be right but as Jakub said it is not working
with amd64 but =m is... and I'm not able to build tools for that platform to test it now :-( . (Maybe bug in gcc ???) |
|
477 |
6984 d 17 h |
vana |
/SPARTAN/trunk/ |
Atomic inc & dec functions synchronized on all ia32,ia64 and mips platforms. Now there are 3 versions which returns no value, new value and old value och changed variable. |
|
475 |
6985 d 17 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
458 |
6987 d 19 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
259 |
7053 d 20 h |
palkovsky |
/SPARTAN/trunk/ |
Fixed asm problems in asm in atomic instructions. |
|
248 |
7054 d 13 h |
jermar |
/SPARTAN/trunk/ |
Make atomic_dec() and atomic_inc() take (volatile int *) argument, not (volatile count_t *). |
|
241 |
7055 d 12 h |
palkovsky |
/SPARTAN/trunk/ |
Cleanups so that it compiles on ia-32 & amd-64 cleanly |
|
116 |
7138 d 15 h |
jermar |
/SPARTAN/trunk/ |
Add map_structure() to automate mapping of memory structures that can span multiple pages and/or cross page boundaries.
Change ACPI map_sdt() to use map_structure().
Small changes in MPS code.
The extra frame allocation for accessing frame 0 is unnecessary as it is possible to access frame 0 from kernel address space.
Zero TSS descriptor in the newly prepared GDT. |
|
115 |
7139 d 8 h |
jermar |
/SPARTAN/trunk/ |
Implement several assembler functions in gcc's __asm__ notation instead of in .s or .S file.
Gain both better speed and size. |
|
111 |
7142 d 11 h |
palkovsky |
/SPARTAN/trunk/ |
Code cleanup in scheduler.c thread.c - removed unnecessary spinlock.
atomic_inc, atomic_dec moved to arch/atomic.h instead of arch/smp/atomic.h,
advisable to use even in non-smp mode.
Fixed atomic_inc, atomic_dec in mips architecture. |
|
11 |
7243 d 8 h |
jermar |
/SPARTAN/trunk/ |
Clean up (ia32 vs. i386).
Header files reorganization. |
|
1 |
7250 d 14 h |
jermar |
/SPARTAN/ |
Initial import |
|