Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1780 |
6704 d 14 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/include/atomic.h /kernel/trunk/arch/amd64/include/byteorder.h /kernel/trunk/arch/amd64/include/context.h /kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/include/cpuid.h /kernel/trunk/arch/amd64/include/faddr.h /kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/include/memstr.h /kernel/trunk/arch/amd64/include/mm/frame.h /kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/amd64/include/pm.h /kernel/trunk/arch/amd64/include/proc/thread.h /kernel/trunk/arch/amd64/include/types.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/cpu/cpu.c /kernel/trunk/arch/amd64/src/ddi/ddi.c /kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/memory_init.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/amd64/src/syscall.c /kernel/trunk/arch/ia32/include/asm.h /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia32/include/bios/bios.h /kernel/trunk/arch/ia32/include/boot/memmap.h /kernel/trunk/arch/ia32/include/byteorder.h /kernel/trunk/arch/ia32/include/context.h /kernel/trunk/arch/ia32/include/cpuid.h /kernel/trunk/arch/ia32/include/drivers/i8042.h /kernel/trunk/arch/ia32/include/drivers/i8259.h /kernel/trunk/arch/ia32/include/faddr.h /kernel/trunk/arch/ia32/include/fpu_context.h /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/memstr.h /kernel/trunk/arch/ia32/include/mm/frame.h /kernel/trunk/arch/ia32/include/mm/page.h /kernel/trunk/arch/ia32/include/pm.h /kernel/trunk/arch/ia32/include/proc/thread.h /kernel/trunk/arch/ia32/include/smp/apic.h /kernel/trunk/arch/ia32/include/smp/mps.h /kernel/trunk/arch/ia32/include/smp/smp.h /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/bios/bios.c /kernel/trunk/arch/ia32/src/cpu/cpu.c /kernel/trunk/arch/ia32/src/ddi/ddi.c /kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/drivers/i8254.c /kernel/trunk/arch/ia32/src/drivers/i8259.c /kernel/trunk/arch/ia32/src/drivers/vesa.c /kernel/trunk/arch/ia32/src/fpu_context.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/mm/memory_init.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/mm/tlb.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/proc/scheduler.c /kernel/trunk/arch/ia32/src/smp/ap.S /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia32/src/smp/ipi.c /kernel/trunk/arch/ia32/src/smp/mps.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/ia64/include/asm.h /kernel/trunk/arch/ia64/include/byteorder.h /kernel/trunk/arch/ia64/include/context.h /kernel/trunk/arch/ia64/include/cpu.h /kernel/trunk/arch/ia64/include/faddr.h /kernel/trunk/arch/ia64/include/interrupt.h /kernel/trunk/arch/ia64/include/memstr.h /kernel/trunk/arch/ia64/include/mm/asid.h /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/ia64/include/mm/vhpt.h /kernel/trunk/arch/ia64/include/register.h /kernel/trunk/arch/ia64/include/types.h /kernel/trunk/arch/ia64/src/cpu/cpu.c /kernel/trunk/arch/ia64/src/ddi/ddi.c /kernel/trunk/arch/ia64/src/drivers/it.c /kernel/trunk/arch/ia64/src/fpu_context.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/mm/page.c /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/ia64/src/mm/vhpt.c /kernel/trunk/arch/ia64/src/proc/scheduler.c /kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/arch/mips32/include/arg.h /kernel/trunk/arch/mips32/include/asm.h /kernel/trunk/arch/mips32/include/boot.h /kernel/trunk/arch/mips32/include/byteorder.h /kernel/trunk/arch/mips32/include/context.h /kernel/trunk/arch/mips32/include/cp0.h /kernel/trunk/arch/mips32/include/cpu.h /kernel/trunk/arch/mips32/include/debugger.h /kernel/trunk/arch/mips32/include/drivers/arc.h /kernel/trunk/arch/mips32/include/exception.h /kernel/trunk/arch/mips32/include/faddr.h /kernel/trunk/arch/mips32/include/fpu_context.h /kernel/trunk/arch/mips32/include/memstr.h /kernel/trunk/arch/mips32/include/mm/asid.h /kernel/trunk/arch/mips32/include/mm/page.h /kernel/trunk/arch/mips32/include/mm/tlb.h /kernel/trunk/arch/mips32/include/types.h /kernel/trunk/arch/mips32/src/ddi/ddi.c /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/interrupt.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/mips32/src/mm/page.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/include/asm.h /kernel/trunk/arch/ppc32/include/boot/boot.h /kernel/trunk/arch/ppc32/include/byteorder.h /kernel/trunk/arch/ppc32/include/context.h /kernel/trunk/arch/ppc32/include/cpuid.h /kernel/trunk/arch/ppc32/include/drivers/cuda.h /kernel/trunk/arch/ppc32/include/drivers/pic.h /kernel/trunk/arch/ppc32/include/exception.h /kernel/trunk/arch/ppc32/include/faddr.h /kernel/trunk/arch/ppc32/include/fpu_context.h /kernel/trunk/arch/ppc32/include/memstr.h /kernel/trunk/arch/ppc32/include/mm/asid.h /kernel/trunk/arch/ppc32/include/mm/frame.h /kernel/trunk/arch/ppc32/include/mm/page.h /kernel/trunk/arch/ppc32/include/types.h /kernel/trunk/arch/ppc32/src/ddi/ddi.c /kernel/trunk/arch/ppc32/src/drivers/cuda.c /kernel/trunk/arch/ppc32/src/drivers/pic.c /kernel/trunk/arch/ppc32/src/interrupt.c /kernel/trunk/arch/ppc32/src/mm/as.c /kernel/trunk/arch/ppc32/src/mm/frame.c /kernel/trunk/arch/ppc32/src/mm/page.c /kernel/trunk/arch/ppc32/src/mm/tlb.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/arch/ppc64/include/asm.h /kernel/trunk/arch/ppc64/include/boot/boot.h /kernel/trunk/arch/ppc64/include/byteorder.h /kernel/trunk/arch/ppc64/include/context.h /kernel/trunk/arch/ppc64/include/cpuid.h /kernel/trunk/arch/ppc64/include/exception.h /kernel/trunk/arch/ppc64/include/faddr.h /kernel/trunk/arch/ppc64/include/fpu_context.h /kernel/trunk/arch/ppc64/include/memstr.h /kernel/trunk/arch/ppc64/include/mm/frame.h /kernel/trunk/arch/ppc64/include/mm/page.h /kernel/trunk/arch/ppc64/include/types.h /kernel/trunk/arch/ppc64/src/ddi/ddi.c /kernel/trunk/arch/ppc64/src/interrupt.c /kernel/trunk/arch/ppc64/src/mm/frame.c /kernel/trunk/arch/ppc64/src/mm/page.c /kernel/trunk/arch/ppc64/src/mm/tlb.c /kernel/trunk/arch/ppc64/src/ppc64.c /kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/arch/sparc64/include/byteorder.h /kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/drivers/i8042.h /kernel/trunk/arch/sparc64/include/faddr.h /kernel/trunk/arch/sparc64/include/interrupt.h /kernel/trunk/arch/sparc64/include/memstr.h /kernel/trunk/arch/sparc64/include/mm/asid.h /kernel/trunk/arch/sparc64/include/mm/frame.h /kernel/trunk/arch/sparc64/include/mm/mmu.h /kernel/trunk/arch/sparc64/include/mm/page.h /kernel/trunk/arch/sparc64/include/mm/tlb.h /kernel/trunk/arch/sparc64/include/mm/tte.h /kernel/trunk/arch/sparc64/include/register.h /kernel/trunk/arch/sparc64/include/trap/trap.h /kernel/trunk/arch/sparc64/include/trap/trap_table.h /kernel/trunk/arch/sparc64/include/types.h /kernel/trunk/arch/sparc64/src/ddi/ddi.c /kernel/trunk/arch/sparc64/src/drivers/i8042.c /kernel/trunk/arch/sparc64/src/mm/page.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/arch/sparc64/src/proc/scheduler.c /kernel/trunk/arch/sparc64/src/trap/interrupt.c /kernel/trunk/genarch/include/acpi/acpi.h /kernel/trunk/genarch/include/acpi/madt.h /kernel/trunk/genarch/include/fb/fb.h /kernel/trunk/genarch/include/mm/page_ht.h /kernel/trunk/genarch/include/mm/page_pt.h /kernel/trunk/genarch/include/ofw/ofw.h /kernel/trunk/genarch/src/acpi/acpi.c /kernel/trunk/genarch/src/acpi/madt.c /kernel/trunk/genarch/src/fb/fb.c /kernel/trunk/genarch/src/i8042/i8042.c /kernel/trunk/genarch/src/mm/as_pt.c /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/genarch/src/ofw/memory_init.c /kernel/trunk/genarch/src/ofw/ofw.c /kernel/trunk/generic/include/adt/bitmap.h /kernel/trunk/generic/include/adt/btree.h /kernel/trunk/generic/include/adt/hash_table.h /kernel/trunk/generic/include/adt/list.h /kernel/trunk/generic/include/bitops.h /kernel/trunk/generic/include/byteorder.h /kernel/trunk/generic/include/config.h /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/include/console/console.h /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/include/context.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/ddi/ddi.h /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/include/elf.h /kernel/trunk/generic/include/func.h /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/ipc/ipcrsc.h /kernel/trunk/generic/include/ipc/irq.h /kernel/trunk/generic/include/ipc/sysipc.h /kernel/trunk/generic/include/macros.h /kernel/trunk/generic/include/memstr.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/mm/tlb.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/security/cap.h /kernel/trunk/generic/include/sort.h /kernel/trunk/generic/include/stackarg.h /kernel/trunk/generic/include/symtab.h /kernel/trunk/generic/include/synch/condvar.h /kernel/trunk/generic/include/synch/futex.h /kernel/trunk/generic/include/synch/mutex.h /kernel/trunk/generic/include/synch/rwlock.h /kernel/trunk/generic/include/synch/semaphore.h /kernel/trunk/generic/include/synch/waitq.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/include/sysinfo/sysinfo.h /kernel/trunk/generic/include/time/delay.h /kernel/trunk/generic/include/time/timeout.h /kernel/trunk/generic/src/adt/bitmap.c /kernel/trunk/generic/src/adt/hash_table.c /kernel/trunk/generic/src/console/chardev.c /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/console/klog.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/ddi/ddi.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/ipc/ipcrsc.c /kernel/trunk/generic/src/ipc/irq.c /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/lib/memstr.c /kernel/trunk/generic/src/lib/sort.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/backend_anon.c /kernel/trunk/generic/src/mm/backend_elf.c /kernel/trunk/generic/src/mm/backend_phys.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/mm/tlb.c /kernel/trunk/generic/src/printf/printf_core.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/security/cap.c /kernel/trunk/generic/src/synch/condvar.c /kernel/trunk/generic/src/synch/futex.c /kernel/trunk/generic/src/synch/mutex.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/semaphore.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/generic/src/synch/waitq.c /kernel/trunk/generic/src/syscall/copy.c /kernel/trunk/generic/src/syscall/syscall.c /kernel/trunk/generic/src/sysinfo/sysinfo.c /kernel/trunk/generic/src/time/clock.c /kernel/trunk/generic/src/time/delay.c /kernel/trunk/generic/src/time/timeout.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/fpu/mips1/test.c /kernel/trunk/test/fpu/sse1/test.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/mapping1/test.c /kernel/trunk/test/mm/purge1/test.c /kernel/trunk/test/mm/slab1/test.c /kernel/trunk/test/mm/slab2/test.c /kernel/trunk/test/print/print1/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/sysinfo/test.c /kernel/trunk/tools/amd64/gencontext.c /kernel/trunk/tools/mips32/gencontext.c /kernel/trunk/tools/ppc32/gencontext.c /kernel/trunk/tools/ppc64/gencontext.c /kernel/trunk/tools/sparc64/gencontext.c
|
1658 |
6730 d 22 h |
vana |
/kernel/trunk/test/ |
Detaching threads in tests |
|
/kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/fpu/mips1/test.c /kernel/trunk/test/fpu/sse1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/slab1/test.c /kernel/trunk/test/mm/slab2/test.c /kernel/trunk/test/synch/rwlock2/test.c /kernel/trunk/test/synch/rwlock3/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/rwlock5/test.c /kernel/trunk/test/synch/semaphore1/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/thread/thread1/test.c
|
1221 |
6777 d 8 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
/kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/smp/mps.c /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/ppc32/src/mm/memory_init.c /kernel/trunk/arch/ppc64/src/mm/memory_init.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/mapping1/test.c /kernel/trunk/test/synch/rwlock4/test.c
|
1196 |
6783 d 18 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
/kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/memory_init.c /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/mm/memory_init.c /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/arch/ppc32/src/mm/memory_init.c /kernel/trunk/arch/ppc64/src/mm/memory_init.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/genarch/include/softint/division.h /kernel/trunk/genarch/src/acpi/acpi.c /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/genarch/src/i8042/i8042.c /kernel/trunk/genarch/src/softint/division.c /kernel/trunk/generic/include/print.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/main/uinit.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/time/clock.c /kernel/trunk/generic/src/time/timeout.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/mapping1/test.c /kernel/trunk/test/print/print1/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/rwlock5/test.c
|
1104 |
6808 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. |
|
/kernel/trunk/generic/include/atomic.h
/kernel/trunk/arch/amd64/include/atomic.h /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/ppc32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/generic/include/func.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/mm/tlb.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/generic/src/time/clock.c /kernel/trunk/test/atomic/atomic1/test.c /kernel/trunk/test/debug/mips1/test.c /kernel/trunk/test/fault/fault1/test.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/fpu/mips1/test.c /kernel/trunk/test/fpu/sse1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/synch/rwlock1/test.c /kernel/trunk/test/synch/rwlock2/test.c /kernel/trunk/test/synch/rwlock3/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/rwlock5/test.c /kernel/trunk/test/synch/semaphore1/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/thread/thread1/test.c
|
1062 |
6814 d 8 h |
jermar |
/kernel/trunk/ |
It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands. |
|
/kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/fpu/mips1/test.c /kernel/trunk/test/fpu/sse1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/slab1/test.c /kernel/trunk/test/mm/slab2/test.c /kernel/trunk/test/synch/rwlock2/test.c /kernel/trunk/test/synch/rwlock3/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/rwlock5/test.c /kernel/trunk/test/synch/semaphore1/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/thread/thread1/test.c
|
625 |
6905 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. |
|
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/src/cpu/cpu.c /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia32/src/fmath.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/ppc32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/vm.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/test/synch/rwlock4/test.c
|
623 |
6905 d 20 h |
jermar |
/kernel/trunk/ |
Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed. |
|
/kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/mm/asid.c /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/vm.h /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/synch/rwlock.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/include/synch/waitq.h /kernel/trunk/generic/include/time/timeout.h /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/heap.c /kernel/trunk/generic/src/mm/tlb.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/thread/thread1/test.c
|
534 |
6916 d 11 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
532 |
6916 d 11 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
501 |
6928 d 16 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
475 |
6940 d 17 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
/SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia64/include/atomic.h /SPARTAN/trunk/arch/mips32/include/atomic.h /SPARTAN/trunk/arch/ppc32/include/atomic.h /SPARTAN/trunk/arch/sparc64/include/atomic.h /SPARTAN/trunk/generic/include/proc/scheduler.h /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/generic/src/proc/thread.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|
413 |
6964 d 7 h |
jermar |
/SPARTAN/trunk/ |
Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority. |
|
/SPARTAN/trunk/arch/amd64/include/asm.h /SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/include/types.h /SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/arch/amd64/src/userspace.c /SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/include/types.h /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/include/types.h /SPARTAN/trunk/arch/ia64/src/context.S /SPARTAN/trunk/arch/ia64/src/dummy.s /SPARTAN/trunk/arch/mips32/include/context.h /SPARTAN/trunk/arch/mips32/include/types.h /SPARTAN/trunk/arch/mips32/src/drivers/arc.c /SPARTAN/trunk/arch/mips32/src/exception.c /SPARTAN/trunk/arch/mips32/src/interrupt.c /SPARTAN/trunk/arch/mips32/src/mips32.c /SPARTAN/trunk/arch/mips32/src/mm/asid.c /SPARTAN/trunk/arch/mips32/src/mm/tlb.c /SPARTAN/trunk/arch/mips32/src/mm/vm.c /SPARTAN/trunk/arch/ppc32/include/asm.h /SPARTAN/trunk/arch/ppc32/include/context.h /SPARTAN/trunk/arch/ppc32/include/types.h /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/src/debug/print.c /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/heap.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/task.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/rwlock.c /SPARTAN/trunk/src/synch/semaphore.c /SPARTAN/trunk/src/synch/waitq.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/src/time/delay.c /SPARTAN/trunk/src/time/timeout.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/tools/amd64/gencontext.c /SPARTAN/trunk/tools/mips32/gencontext.c
|
225 |
7010 d 19 h |
jermar |
/SPARTAN/trunk/test/synch/rwlock4/ |
Revert the change in rwlock #4 test that added cpu_priority_high() and cpu_priority_restore() to random().
It is no longer necessary because spinlock disables preemption at least. |
|
/SPARTAN/trunk/test/synch/rwlock4/test.c
|
205 |
7011 d 21 h |
jermar |
/SPARTAN/trunk/ |
Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy(). |
|
/SPARTAN/trunk/arch/amd64/src/dummy.s /SPARTAN/trunk/arch/amd64/src/supplib.c /SPARTAN/trunk/arch/ia32/src/asm.S /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/arch/ia64/src/asm.S /SPARTAN/trunk/arch/mips/src/asm.s /SPARTAN/trunk/arch/ppc/src/dummy.s /SPARTAN/trunk/include/memstr.h /SPARTAN/trunk/src/lib/memstr.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/test/synch/rwlock4/test.c
|
171 |
7018 d 19 h |
jermar |
/SPARTAN/trunk/ |
Make rwlock test #3 compile again.
Make rwlock test #4 preemption-safe.
Prepare for preemption controlling functions. |
|
/SPARTAN/trunk/include/preemption.h /SPARTAN/trunk/src/preempt /SPARTAN/trunk/src/preempt/preemption.c
/SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c
|
111 |
7097 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. |
|
/SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia32/src/atomic.S /SPARTAN/trunk/arch/mips/include/atomic.h
/SPARTAN/trunk/arch/ia32/include/smp/atomic.h /SPARTAN/trunk/arch/ia32/src/smp/atomic.S /SPARTAN/trunk/arch/mips/include/smp/atomic.h
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/mips/_link.ld /SPARTAN/trunk/include/proc/scheduler.h /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/mm/tlb.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/spinlock.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/test/fpu/fpu1/test.c /SPARTAN/trunk/test/synch/rwlock1/test.c /SPARTAN/trunk/test/synch/rwlock2/test.c /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|
81 |
7117 d 10 h |
jermar |
/SPARTAN/trunk/ |
Add SP_DELTA macro for each architecture.
On IA-32, this macro represents two doublewords that must be on the stack when switching to a new stack.
On MIPS, there is no need to fix sp when switching to a new stack.
On IA-64, this macro is used to allocate the 16-byte scratch area.
IA-64 work.
Changes in start.S. More changes to come.
Define memcopy().
Janitorial fixes.
Add missing #include <panic.h> to rwlock4/test.c.
Remove wrong use of inline keyword from both declaration and definition of l_apic_id(). |
|
/SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/include/smp/apic.h /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/src/asm.S /SPARTAN/trunk/arch/ia64/src/start.S /SPARTAN/trunk/arch/mips/include/context.h /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/test/synch/rwlock4/test.c
|
19 |
7154 d 11 h |
jermar |
/SPARTAN/trunk/ |
Re-enable tests and fix include paths' in them. |
|
/SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/test/synch/rwlock1/test.c /SPARTAN/trunk/test/synch/rwlock2/test.c /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|
15 |
7155 d 13 h |
jermar |
/SPARTAN/trunk/ |
Introduce macros CPU, THREAD, TASK and use them to replace the->cpu, the->thread, the->task.
Later on, this will make it possible to reference *current* cpu, thread and/or task without the aid from virtual memory. |
|
/SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/drivers/i8042.c /SPARTAN/trunk/arch/ia32/src/drivers/i8254.c /SPARTAN/trunk/arch/ia32/src/drivers/i8259.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/mips/src/cpu/cpu.c /SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/arch/mips/src/mm/tlb.c /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/task.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/rwlock.c /SPARTAN/trunk/src/synch/spinlock.c /SPARTAN/trunk/src/synch/waitq.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/src/time/delay.c /SPARTAN/trunk/src/time/timeout.c /SPARTAN/trunk/test/synch/rwlock2/test.c /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|