Subversion Repositories HelenOS

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4605 5603 d 13 h decky /branches/snapshot/ add task snapshoting branch  
/branches/snapshot
4490 5632 d 7 h decky /trunk/kernel/ remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)  
/trunk/kernel/arch/amd64/include/cpu.h
/trunk/kernel/arch/amd64/include/mm/page.h
/trunk/kernel/arch/amd64/include/proc/task.h
/trunk/kernel/arch/amd64/include/types.h
/trunk/kernel/arch/amd64/src/ddi/ddi.c
/trunk/kernel/arch/amd64/src/interrupt.c
/trunk/kernel/arch/arm32/include/mm/page.h
/trunk/kernel/arch/arm32/include/types.h
/trunk/kernel/arch/arm32/src/mm/tlb.c
/trunk/kernel/arch/ia32/include/cpu.h
/trunk/kernel/arch/ia32/include/mm/page.h
/trunk/kernel/arch/ia32/include/proc/task.h
/trunk/kernel/arch/ia32/include/smp/smp.h
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/ia32/src/ddi/ddi.c
/trunk/kernel/arch/ia32/src/interrupt.c
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/arch/ia32/src/mm/tlb.c
/trunk/kernel/arch/ia32/src/smp/mps.c
/trunk/kernel/arch/ia64/include/mm/page.h
/trunk/kernel/arch/ia64/include/mm/tlb.h
/trunk/kernel/arch/ia64/include/types.h
/trunk/kernel/arch/ia64/src/mm/page.c
/trunk/kernel/arch/ia64/src/mm/tlb.c
/trunk/kernel/arch/ia64/src/mm/vhpt.c
/trunk/kernel/arch/mips32/include/arch.h
/trunk/kernel/arch/mips32/include/debugger.h
/trunk/kernel/arch/mips32/include/mm/page.h
/trunk/kernel/arch/mips32/include/types.h
/trunk/kernel/arch/mips32/src/mips32.c
/trunk/kernel/arch/mips32/src/mm/frame.c
/trunk/kernel/arch/mips32/src/mm/tlb.c
/trunk/kernel/arch/ppc32/include/mm/page.h
/trunk/kernel/arch/ppc32/include/types.h
/trunk/kernel/arch/ppc32/src/mm/frame.c
/trunk/kernel/arch/ppc32/src/mm/tlb.c
/trunk/kernel/arch/sparc64/include/mm/tlb.h
/trunk/kernel/arch/sparc64/include/mm/tsb.h
/trunk/kernel/arch/sparc64/include/types.h
/trunk/kernel/arch/sparc64/src/drivers/fhc.c
/trunk/kernel/arch/sparc64/src/drivers/pci.c
/trunk/kernel/arch/sparc64/src/mm/as.c
/trunk/kernel/arch/sparc64/src/mm/tlb.c
/trunk/kernel/arch/sparc64/src/mm/tsb.c
/trunk/kernel/arch/sparc64/src/smp/smp.c
/trunk/kernel/genarch/src/acpi/madt.c
/trunk/kernel/genarch/src/mm/asid.c
/trunk/kernel/genarch/src/mm/page_ht.c
/trunk/kernel/genarch/src/ofw/ebus.c
/trunk/kernel/genarch/src/ofw/fhc.c
/trunk/kernel/genarch/src/ofw/ofw_tree.c
/trunk/kernel/genarch/src/ofw/pci.c
/trunk/kernel/genarch/src/ofw/sbus.c
/trunk/kernel/generic/include/adt/bitmap.h
/trunk/kernel/generic/include/adt/btree.h
/trunk/kernel/generic/include/adt/fifo.h
/trunk/kernel/generic/include/adt/hash_table.h
/trunk/kernel/generic/include/arch.h
/trunk/kernel/generic/include/config.h
/trunk/kernel/generic/include/console/chardev.h
/trunk/kernel/generic/include/console/console.h
/trunk/kernel/generic/include/console/kconsole.h
/trunk/kernel/generic/include/cpu.h
/trunk/kernel/generic/include/ddi/irq.h
/trunk/kernel/generic/include/ipc/event.h
/trunk/kernel/generic/include/mm/as.h
/trunk/kernel/generic/include/mm/frame.h
/trunk/kernel/generic/include/mm/slab.h
/trunk/kernel/generic/include/mm/tlb.h
/trunk/kernel/generic/include/proc/scheduler.h
/trunk/kernel/generic/include/sort.h
/trunk/kernel/generic/include/string.h
/trunk/kernel/generic/include/symtab.h
/trunk/kernel/generic/include/synch/futex.h
/trunk/kernel/generic/include/synch/rwlock.h
/trunk/kernel/generic/include/synch/spinlock.h
/trunk/kernel/generic/src/adt/bitmap.c
/trunk/kernel/generic/src/adt/btree.c
/trunk/kernel/generic/src/adt/hash_table.c
/trunk/kernel/generic/src/console/cmd.c
/trunk/kernel/generic/src/console/console.c
/trunk/kernel/generic/src/console/kconsole.c
/trunk/kernel/generic/src/ddi/ddi.c
/trunk/kernel/generic/src/ddi/irq.c
/trunk/kernel/generic/src/debug/symtab.c
/trunk/kernel/generic/src/ipc/event.c
/trunk/kernel/generic/src/lib/sort.c
/trunk/kernel/generic/src/lib/string.c
/trunk/kernel/generic/src/main/kinit.c
/trunk/kernel/generic/src/main/main.c
/trunk/kernel/generic/src/mm/as.c
/trunk/kernel/generic/src/mm/backend_anon.c
/trunk/kernel/generic/src/mm/backend_elf.c
/trunk/kernel/generic/src/mm/frame.c
/trunk/kernel/generic/src/mm/slab.c
/trunk/kernel/generic/src/mm/tlb.c
/trunk/kernel/generic/src/printf/printf_core.c
/trunk/kernel/generic/src/printf/vprintf.c
/trunk/kernel/generic/src/printf/vsnprintf.c
/trunk/kernel/generic/src/proc/scheduler.c
/trunk/kernel/generic/src/synch/futex.c
/trunk/kernel/generic/src/synch/spinlock.c
/trunk/kernel/generic/src/synch/waitq.c
/trunk/kernel/generic/src/time/clock.c
/trunk/kernel/test/avltree/avltree1.c
/trunk/kernel/test/mm/falloc2.c
/trunk/kernel/test/mm/purge1.c
/trunk/kernel/test/synch/rwlock4.c
4174 5704 d 0 h decky /trunk/kernel/generic/ add malloc slab caches for up to 4 MB blocks  
/trunk/kernel/generic/include/mm/slab.h
/trunk/kernel/generic/src/mm/slab.c
3973 5728 d 15 h decky /trunk/kernel/ kernel memory management revisited (phase 2): map physical memory according to zones
- ia32: register reserved and ACPI zones
- pareas are now used only for mapping of present physical memory (hw_area() is gone)
- firmware zones and physical addresses outside any zones are allowed to be mapped generally
- fix nasty antient bug in zones_insert_zone()
 
/trunk/kernel/arch/amd64/include/mm/frame.h
/trunk/kernel/arch/amd64/src/mm/page.c
/trunk/kernel/arch/arm32/include/mm/frame.h
/trunk/kernel/arch/arm32/src/mm/frame.c
/trunk/kernel/arch/arm32/src/mm/page.c
/trunk/kernel/arch/ia32/include/boot/memmap.h
/trunk/kernel/arch/ia32/include/mm/frame.h
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/arch/ia32/src/mm/page.c
/trunk/kernel/arch/ia64/include/mm/frame.h
/trunk/kernel/arch/ia64/src/mm/frame.c
/trunk/kernel/arch/ia64/src/mm/page.c
/trunk/kernel/arch/mips32/include/mm/frame.h
/trunk/kernel/arch/mips32/src/mm/frame.c
/trunk/kernel/arch/mips32/src/mm/page.c
/trunk/kernel/arch/ppc32/include/mm/frame.h
/trunk/kernel/arch/ppc32/src/mm/frame.c
/trunk/kernel/arch/ppc32/src/mm/page.c
/trunk/kernel/arch/sparc64/include/mm/frame.h
/trunk/kernel/arch/sparc64/src/mm/frame.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/generic/include/align.h
/trunk/kernel/generic/include/mm/frame.h
/trunk/kernel/generic/include/mm/page.h
/trunk/kernel/generic/src/ddi/ddi.c
/trunk/kernel/generic/src/mm/frame.c
3972 5729 d 3 h decky /trunk/kernel/ kernel memory management revisited (phase 1): proper support for zone flags
- the zone_t structures are now statically allocated to be easily available
- the locking scheme was simplified
- new flags for non-available zones were introduced
- FRAME_LOW_4_GiB flag is removed, the functionality will be eventually reimplemented using a generic mechanism
 
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/arch/ia32/src/smp/smp.c
/trunk/kernel/generic/include/mm/buddy.h
/trunk/kernel/generic/include/mm/frame.h
/trunk/kernel/generic/include/mm/slab.h
/trunk/kernel/generic/src/mm/buddy.c
/trunk/kernel/generic/src/mm/frame.c
/trunk/kernel/generic/src/mm/slab.c
3940 5735 d 10 h decky /trunk/kernel/ make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64
 
/trunk/kernel/arch/amd64/include/mm/tlb.h
/trunk/kernel/arch/amd64/src/mm/page.c
/trunk/kernel/arch/arm32/include/mm/tlb.h
/trunk/kernel/arch/arm32/src/mm/page.c
/trunk/kernel/arch/arm32/src/mm/tlb.c
/trunk/kernel/arch/ia32/include/mm/tlb.h
/trunk/kernel/arch/ia32/src/mm/page.c
/trunk/kernel/arch/ia32/src/mm/tlb.c
/trunk/kernel/arch/ia64/include/mm/tlb.h
/trunk/kernel/arch/ia64/src/mm/page.c
/trunk/kernel/arch/ia64/src/mm/tlb.c
/trunk/kernel/arch/mips32/src/mm/page.c
/trunk/kernel/arch/ppc32/src/mm/page.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/genarch/include/drivers/ega/ega.h
/trunk/kernel/genarch/include/drivers/legacy/ia32/io.h
/trunk/kernel/genarch/src/drivers/ega/ega.c
/trunk/kernel/generic/include/mm/page.h
/trunk/kernel/generic/src/ddi/ddi.c
3908 5739 d 8 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
/trunk/kernel/arch/amd64/include/mm/frame.h
/trunk/kernel/arch/amd64/src/mm/page.c
/trunk/kernel/arch/arm32/include/mm/frame.h
/trunk/kernel/arch/arm32/src/mm/frame.c
/trunk/kernel/arch/arm32/src/mm/page.c
/trunk/kernel/arch/ia32/include/mm/frame.h
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/arch/ia32/src/mm/page.c
/trunk/kernel/arch/ia64/include/mm/frame.h
/trunk/kernel/arch/ia64/src/mm/frame.c
/trunk/kernel/arch/ia64/src/mm/page.c
/trunk/kernel/arch/mips32/include/mm/frame.h
/trunk/kernel/arch/mips32/src/drivers/msim.c
/trunk/kernel/arch/mips32/src/mm/frame.c
/trunk/kernel/arch/mips32/src/mm/page.c
/trunk/kernel/arch/ppc32/include/mm/frame.h
/trunk/kernel/arch/ppc32/src/mm/frame.c
/trunk/kernel/arch/ppc32/src/mm/page.c
/trunk/kernel/arch/sparc64/include/mm/frame.h
/trunk/kernel/arch/sparc64/src/drivers/sgcn.c
/trunk/kernel/arch/sparc64/src/mm/frame.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/genarch/src/drivers/ega/ega.c
/trunk/kernel/genarch/src/fb/fb.c
/trunk/kernel/generic/include/ddi/ddi.h
/trunk/kernel/generic/include/mm/page.h
/trunk/kernel/generic/src/adt/avl.c
/trunk/kernel/generic/src/console/cmd.c
/trunk/kernel/generic/src/console/console.c
/trunk/kernel/generic/src/ddi/ddi.c
/trunk/kernel/generic/src/lib/rd.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/time/clock.c
/trunk/uspace/srv/fb/ega.c
/trunk/uspace/srv/fb/fb.c
/trunk/uspace/srv/fb/msim.c
/trunk/uspace/srv/fb/sgcn.c
/trunk/uspace/srv/kbd/arch/sparc64/src/sgcn.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/rd/rd.c
3240 5939 d 16 h decky / move unfinished ObjC support to a separate branch  
/branches/cs
/trunk/kernel/generic/include/lib/objc.h
/trunk/kernel/generic/include/lib/objc_ext.h
/trunk/kernel/generic/src/lib/objc.c
/trunk/kernel/generic/src/lib/objc_ext.c
/trunk/kernel/Makefile
/trunk/kernel/arch/ia32/src/mm/as.c
/trunk/kernel/genarch/include/mm/page_pt.h
/trunk/kernel/genarch/src/mm/as_pt.c
/trunk/kernel/generic/include/mm/as.h
/trunk/kernel/generic/src/mm/as.c
/trunk/kernel/kernel.config
3233 5943 d 12 h decky /trunk/ remove dummy page coloring facility, which is currenty not used  
/trunk/kernel/arch/amd64/include/mm/page.h
/trunk/kernel/arch/arm32/include/mm/page.h
/trunk/kernel/arch/ia32/include/mm/page.h
/trunk/kernel/arch/ia32xen/include/mm/page.h
/trunk/kernel/arch/ia64/include/mm/page.h
/trunk/kernel/arch/mips32/include/mm/page.h
/trunk/kernel/arch/ppc32/include/mm/page.h
/trunk/kernel/arch/ppc64/include/mm/page.h
/trunk/kernel/arch/sparc64/include/mm/page.h
/trunk/kernel/generic/include/mm/page.h
/trunk/uspace/lib/libc/arch/amd64/include/config.h
/trunk/uspace/lib/libc/arch/arm32/include/config.h
/trunk/uspace/lib/libc/arch/ia32/include/config.h
/trunk/uspace/lib/libc/arch/ia64/include/config.h
/trunk/uspace/lib/libc/arch/mips32/include/config.h
/trunk/uspace/lib/libc/arch/ppc32/include/config.h
/trunk/uspace/lib/libc/arch/ppc64/include/config.h
/trunk/uspace/lib/libc/arch/sparc64/include/config.h
3222 5962 d 11 h svoboda /trunk/ Merge program-loader related stuff from dynload branch to trunk. (huge)  
/trunk/kernel/generic/include/proc/program.h
/trunk/kernel/generic/include/synch/smc.h
/trunk/kernel/generic/src/proc/program.c
/trunk/kernel/generic/src/synch/smc.c
/trunk/uspace/app/cli
/trunk/uspace/app/cli/Makefile
/trunk/uspace/app/cli/cli.c
/trunk/uspace/lib/libc/generic/pcb.c
/trunk/uspace/lib/libc/generic/smc.c
/trunk/uspace/lib/libc/include/ipc/loader.h
/trunk/uspace/lib/libc/include/loader
/trunk/uspace/lib/libc/include/loader/pcb.h
/trunk/uspace/lib/libc/include/smc.h
/trunk/uspace/srv/loader
/trunk/uspace/srv/loader/Makefile
/trunk/uspace/srv/loader/arch
/trunk/uspace/srv/loader/arch/amd64
/trunk/uspace/srv/loader/arch/amd64/Makefile.inc
/trunk/uspace/srv/loader/arch/amd64/_link.ld.in
/trunk/uspace/srv/loader/arch/amd64/amd64.s
/trunk/uspace/srv/loader/arch/arm32
/trunk/uspace/srv/loader/arch/arm32/Makefile.inc
/trunk/uspace/srv/loader/arch/arm32/_link.ld.in
/trunk/uspace/srv/loader/arch/arm32/arm32.s
/trunk/uspace/srv/loader/arch/ia32
/trunk/uspace/srv/loader/arch/ia32/Makefile.inc
/trunk/uspace/srv/loader/arch/ia32/_link.ld.in
/trunk/uspace/srv/loader/arch/ia32/ia32.s
/trunk/uspace/srv/loader/arch/ia64
/trunk/uspace/srv/loader/arch/ia64/Makefile.inc
/trunk/uspace/srv/loader/arch/ia64/_link.ld.in
/trunk/uspace/srv/loader/arch/ia64/ia64.s
/trunk/uspace/srv/loader/arch/mips32
/trunk/uspace/srv/loader/arch/mips32/Makefile.inc
/trunk/uspace/srv/loader/arch/mips32/_link.ld.in
/trunk/uspace/srv/loader/arch/mips32/mips32.s
/trunk/uspace/srv/loader/arch/ppc32
/trunk/uspace/srv/loader/arch/ppc32/Makefile.inc
/trunk/uspace/srv/loader/arch/ppc32/_link.ld.in
/trunk/uspace/srv/loader/arch/ppc32/ppc32.s
/trunk/uspace/srv/loader/arch/sparc64
/trunk/uspace/srv/loader/arch/sparc64/Makefile.inc
/trunk/uspace/srv/loader/arch/sparc64/_link.ld.in
/trunk/uspace/srv/loader/arch/sparc64/sparc64.s
/trunk/uspace/srv/loader/elf_load.c
/trunk/uspace/srv/loader/include
/trunk/uspace/srv/loader/include/arch.h
/trunk/uspace/srv/loader/include/elf.h
/trunk/uspace/srv/loader/include/elf_load.h
/trunk/uspace/srv/loader/interp.s
/trunk/uspace/srv/loader/main.c
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/amd64/grub/menu.lst
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia32/grub/menu.lst
/trunk/boot/arch/ia64/loader/Makefile
/trunk/boot/arch/mips32/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/kernel/Makefile
/trunk/kernel/arch/amd64/src/userspace.c
/trunk/kernel/arch/arm32/src/userspace.c
/trunk/kernel/arch/ia32/src/userspace.c
/trunk/kernel/arch/ia32xen/src/userspace.c
/trunk/kernel/arch/ia64/src/asm.S
/trunk/kernel/arch/mips32/src/start.S
/trunk/kernel/arch/ppc32/src/asm.S
/trunk/kernel/arch/ppc64/src/asm.S
/trunk/kernel/arch/sparc64/src/asm.S
/trunk/kernel/generic/include/lib/elf.h
/trunk/kernel/generic/include/mm/as.h
/trunk/kernel/generic/include/proc/task.h
/trunk/kernel/generic/include/proc/thread.h
/trunk/kernel/generic/include/syscall/syscall.h
/trunk/kernel/generic/src/lib/elf.c
/trunk/kernel/generic/src/main/kinit.c
/trunk/kernel/generic/src/mm/as.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/proc/thread.c
/trunk/kernel/generic/src/syscall/syscall.c
/trunk/uspace/Makefile
/trunk/uspace/app/init/init.c
/trunk/uspace/app/tester/tester.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/arch/amd64/src/entry.s
/trunk/uspace/lib/libc/arch/arm32/src/entry.s
/trunk/uspace/lib/libc/arch/ia32/src/entry.s
/trunk/uspace/lib/libc/arch/ia64/src/entry.s
/trunk/uspace/lib/libc/arch/mips32/src/entry.s
/trunk/uspace/lib/libc/arch/ppc32/src/entry.s
/trunk/uspace/lib/libc/arch/ppc64/src/entry.s
/trunk/uspace/lib/libc/arch/sparc64/src/entry.s
/trunk/uspace/lib/libc/generic/as.c
/trunk/uspace/lib/libc/generic/io/stream.c
/trunk/uspace/lib/libc/generic/libc.c
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/include/as.h
/trunk/uspace/lib/libc/include/io/stream.h
/trunk/uspace/lib/libc/include/libc.h
/trunk/uspace/lib/libc/include/task.h
3208 5964 d 7 h jermar /trunk/kernel/generic/ The real intention of the previous commit was to put the boundary
on 4 GiB, not 16 GiB.
 
/trunk/kernel/generic/include/mm/frame.h
/trunk/kernel/generic/src/mm/frame.c
3207 5964 d 7 h jermar /trunk/kernel/generic/ Introduce FRAME_LOW_16_GiB slab/frame allocator flag. When specified, the
allocators will not allocate memory above 16 GiB. Each architecture needs to
make sure not to merge zones from below and above 16 GiB. Allocations that
require memory below 16 GiB need to be altered to use this flag.
 
/trunk/kernel/generic/include/mm/frame.h
/trunk/kernel/generic/src/mm/frame.c
3206 5964 d 9 h jermar /trunk/kernel/generic/ Avoid deadlock during the 'zone n' kconsole command. Buddy allocator detail is
no longer printed because the effort to avoid the deadlock was simply not worth
it.
 
/trunk/kernel/generic/include/mm/buddy.h
/trunk/kernel/generic/src/mm/buddy.c
/trunk/kernel/generic/src/mm/frame.c
3182 5978 d 12 h jermar /trunk/kernel/generic/include/mm/ cstyle for slab.h  
/trunk/kernel/generic/include/mm/slab.h
2745 6094 d 15 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
/trunk/kernel/Makefile
/trunk/kernel/arch/amd64/src/mm/page.c
/trunk/kernel/arch/arm32/src/arm32.c
/trunk/kernel/arch/arm32/src/cpu/cpu.c
/trunk/kernel/arch/arm32/src/debug/print.c
/trunk/kernel/arch/ia32xen/src/mm/tlb.c
/trunk/kernel/arch/ia32xen/src/smp/mps.c
/trunk/kernel/arch/ia32xen/src/smp/smp.c
/trunk/kernel/arch/ia64/src/ia64.c
/trunk/kernel/arch/ia64/src/mm/tlb.c
/trunk/kernel/arch/mips32/src/cpu/cpu.c
/trunk/kernel/arch/mips32/src/debugger.c
/trunk/kernel/arch/mips32/src/drivers/arc.c
/trunk/kernel/arch/mips32/src/mm/tlb.c
/trunk/kernel/arch/sparc64/src/mm/frame.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/arch/sparc64/src/mm/tlb.c
/trunk/kernel/arch/sparc64/src/smp/ipi.c
/trunk/kernel/genarch/src/ofw/ebus.c
/trunk/kernel/genarch/src/ofw/fhc.c
/trunk/kernel/genarch/src/ofw/ofw_tree.c
/trunk/kernel/genarch/src/ofw/pci.c
/trunk/kernel/genarch/src/ofw/sbus.c
/trunk/kernel/generic/include/lib/elf.h
/trunk/kernel/generic/include/mm/as.h
/trunk/kernel/generic/include/mm/slab.h
/trunk/kernel/generic/src/debug/symtab.c
/trunk/kernel/generic/src/interrupt/interrupt.c
/trunk/kernel/generic/src/ipc/irq.c
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/kernel/generic/src/lib/elf.c
/trunk/kernel/generic/src/lib/func.c
/trunk/kernel/generic/src/lib/memstr.c
/trunk/kernel/generic/src/lib/sort.c
/trunk/kernel/generic/src/main/main.c
/trunk/kernel/generic/src/mm/as.c
/trunk/kernel/generic/src/mm/backend_anon.c
/trunk/kernel/generic/src/mm/backend_elf.c
/trunk/kernel/generic/src/mm/frame.c
/trunk/kernel/generic/src/mm/slab.c
/trunk/kernel/generic/src/mm/tlb.c
/trunk/kernel/generic/src/printf/printf_core.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/synch/futex.c
/trunk/kernel/generic/src/time/clock.c
/trunk/kernel/test/avltree/avltree1.c
/trunk/kernel/test/fpu/fpu1.c
/trunk/kernel/test/fpu/mips2.c
/trunk/kernel/test/fpu/sse1.c
/trunk/kernel/test/mm/falloc2.c
/trunk/kernel/test/synch/rwlock5.c
/trunk/kernel/test/test.c
/trunk/kernel/test/thread/thread1.c
/trunk/uspace/lib/libc/arch/ppc64/src/syscall.c
2725 6115 d 12 h decky /trunk/kernel/ remove config.memory_size, get_memory_size() and memory_init.{c|d}
the amount of available memory can be calculated from the sizes of the zones
add FRAMES2SIZE, SIZE2KB and SIZE2MB functions/macros (code readability)
 
/trunk/kernel/arch/amd64/src/boot/memmap.c
/trunk/kernel/arch/ia32/src/boot/memmap.c
/trunk/kernel/arch/amd64/include/mm/memory_init.h
/trunk/kernel/arch/amd64/src/mm/memory_init.c
/trunk/kernel/arch/arm32/include/mm/memory_init.h
/trunk/kernel/arch/arm32/src/mm/memory_init.c
/trunk/kernel/arch/ia32/include/mm/memory_init.h
/trunk/kernel/arch/ia32/src/mm/memory_init.c
/trunk/kernel/arch/ia32xen/include/mm/memory_init.h
/trunk/kernel/arch/ia32xen/src/mm/memory_init.c
/trunk/kernel/arch/ia64/include/mm/memory_init.h
/trunk/kernel/arch/mips32/include/mm/memory_init.h
/trunk/kernel/arch/ppc32/include/mm/memory_init.h
/trunk/kernel/arch/ppc32/src/mm/memory_init.c
/trunk/kernel/arch/ppc64/include/mm/memory_init.h
/trunk/kernel/arch/ppc64/src/mm/memory_init.c
/trunk/kernel/arch/sparc64/include/mm/memory_init.h
/trunk/kernel/arch/sparc64/src/mm/memory_init.c
/trunk/kernel/arch/amd64/Makefile.inc
/trunk/kernel/arch/amd64/src/amd64.c
/trunk/kernel/arch/amd64/src/boot/boot.S
/trunk/kernel/arch/arm32/Makefile.inc
/trunk/kernel/arch/arm32/src/mm/frame.c
/trunk/kernel/arch/ia32/Makefile.inc
/trunk/kernel/arch/ia32/include/boot/memmap.h
/trunk/kernel/arch/ia32/src/boot/boot.S
/trunk/kernel/arch/ia32/src/ia32.c
/trunk/kernel/arch/ia32xen/Makefile.inc
/trunk/kernel/arch/ia32xen/src/ia32xen.c
/trunk/kernel/arch/ia64/src/mm/frame.c
/trunk/kernel/arch/mips32/src/drivers/arc.c
/trunk/kernel/arch/mips32/src/mm/frame.c
/trunk/kernel/arch/ppc32/Makefile.inc
/trunk/kernel/arch/ppc32/src/mm/frame.c
/trunk/kernel/arch/ppc32/src/ppc32.c
/trunk/kernel/arch/ppc64/Makefile.inc
/trunk/kernel/arch/ppc64/src/mm/frame.c
/trunk/kernel/arch/ppc64/src/ppc64.c
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/generic/include/config.h
/trunk/kernel/generic/include/macros.h
/trunk/kernel/generic/include/mm/frame.h
/trunk/kernel/generic/src/main/main.c
/trunk/kernel/generic/src/mm/frame.c
2556 6245 d 16 h jermar /trunk/kernel/generic/ Rename as_get_size() to as_area_get_size() and add a doxygen comment.  
/trunk/kernel/generic/include/mm/as.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/kernel/generic/src/mm/as.c
2465 6358 d 12 h jermar /trunk/ Merge arm32 into trunk.  
/trunk/boot/arch/arm32/loader
/trunk/boot/doc
/trunk/boot/genarch/division.c
/trunk/boot/genarch/include
/trunk/boot/generic/genarch
/trunk/kernel/arch/arm32/include/asm
/trunk/kernel/arch/arm32/include/boot.h
/trunk/kernel/arch/arm32/include/console.h
/trunk/kernel/arch/arm32/include/debug
/trunk/kernel/arch/arm32/include/drivers
/trunk/kernel/arch/arm32/include/machine.h
/trunk/kernel/arch/arm32/include/mainpage.h
/trunk/kernel/arch/arm32/include/mm/page_fault.h
/trunk/kernel/arch/arm32/include/regutils.h
/trunk/kernel/arch/arm32/include/stack.h
/trunk/kernel/arch/arm32/src/asm.S
/trunk/kernel/arch/arm32/src/console.c
/trunk/kernel/arch/arm32/src/debug
/trunk/kernel/arch/arm32/src/drivers
/trunk/kernel/arch/arm32/src/exception.c
/trunk/kernel/arch/arm32/src/interrupt.c
/trunk/kernel/arch/arm32/src/mm/memory_init.c
/trunk/kernel/arch/arm32/src/mm/page_fault.c
/trunk/kernel/arch/arm32/src/mm/tlb.c
/trunk/kernel/arch/arm32/src/panic.S
/trunk/kernel/arch/arm32/src/userspace.c
/trunk/kernel/doc/arch/arm32
/trunk/tools/cygwin_symlink_patch.sh
/trunk/uspace/kbd/arch/arm32/src/kbd_gxemul.c
/trunk/uspace/libc/arch/arm32/src/eabi.S
/trunk/uspace/libc/arch/arm32/src/dummy.S
/trunk/HelenOS.config
/trunk/boot/arch/arm32/Makefile.inc
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/boot.config
/trunk/boot/generic/align.h
/trunk/boot/generic/gentypes.h
/trunk/boot/generic/printf.c
/trunk/boot/generic/printf.h
/trunk/boot/generic/stdarg.h
/trunk/kernel/arch/amd64/include/mm/page.h
/trunk/kernel/arch/arm32/Makefile.inc
/trunk/kernel/arch/arm32/_link.ld.in
/trunk/kernel/arch/arm32/include/arch.h
/trunk/kernel/arch/arm32/include/arg.h
/trunk/kernel/arch/arm32/include/asm.h
/trunk/kernel/arch/arm32/include/atomic.h
/trunk/kernel/arch/arm32/include/barrier.h
/trunk/kernel/arch/arm32/include/byteorder.h
/trunk/kernel/arch/arm32/include/context.h
/trunk/kernel/arch/arm32/include/cpu.h
/trunk/kernel/arch/arm32/include/cycle.h
/trunk/kernel/arch/arm32/include/elf.h
/trunk/kernel/arch/arm32/include/exception.h
/trunk/kernel/arch/arm32/include/faddr.h
/trunk/kernel/arch/arm32/include/fpu_context.h
/trunk/kernel/arch/arm32/include/interrupt.h
/trunk/kernel/arch/arm32/include/memstr.h
/trunk/kernel/arch/arm32/include/mm/as.h
/trunk/kernel/arch/arm32/include/mm/asid.h
/trunk/kernel/arch/arm32/include/mm/frame.h
/trunk/kernel/arch/arm32/include/mm/memory_init.h
/trunk/kernel/arch/arm32/include/mm/page.h
/trunk/kernel/arch/arm32/include/mm/tlb.h
/trunk/kernel/arch/arm32/include/proc/task.h
/trunk/kernel/arch/arm32/include/proc/thread.h
/trunk/kernel/arch/arm32/include/types.h
/trunk/kernel/arch/arm32/src/arm32.c
/trunk/kernel/arch/arm32/src/context.S
/trunk/kernel/arch/arm32/src/cpu/cpu.c
/trunk/kernel/arch/arm32/src/ddi/ddi.c
/trunk/kernel/arch/arm32/src/dummy.S
/trunk/kernel/arch/arm32/src/mm/as.c
/trunk/kernel/arch/arm32/src/mm/frame.c
/trunk/kernel/arch/arm32/src/mm/page.c
/trunk/kernel/arch/arm32/src/start.S
/trunk/kernel/arch/ia32/include/mm/page.h
/trunk/kernel/arch/ia32xen/include/mm/page.h
/trunk/kernel/arch/mips32/include/mm/page.h
/trunk/kernel/arch/ppc32/include/mm/page.h
/trunk/kernel/arch/ppc64/include/mm/page.h
/trunk/kernel/doc/AUTHORS
/trunk/kernel/doc/doxygroups.h
/trunk/kernel/genarch/include/mm/page_pt.h
/trunk/kernel/genarch/src/mm/as_pt.c
/trunk/kernel/genarch/src/mm/page_pt.c
/trunk/kernel/generic/include/mm/frame.h
/trunk/kernel/generic/src/printf/printf.c
/trunk/kernel/kernel.config
/trunk/uspace/kbd/Makefile
/trunk/uspace/kbd/arch/arm32/include/kbd.h
/trunk/uspace/kbd/arch/arm32/src/kbd.c
/trunk/uspace/libc/arch/arm32/Makefile.inc
/trunk/uspace/libc/arch/arm32/_link.ld.in
/trunk/uspace/libc/arch/arm32/include/atomic.h
/trunk/uspace/libc/arch/arm32/include/config.h
/trunk/uspace/libc/arch/arm32/include/endian.h
/trunk/uspace/libc/arch/arm32/include/faddr.h
/trunk/uspace/libc/arch/arm32/include/limits.h
/trunk/uspace/libc/arch/arm32/include/psthread.h
/trunk/uspace/libc/arch/arm32/include/stackarg.h
/trunk/uspace/libc/arch/arm32/include/syscall.h
/trunk/uspace/libc/arch/arm32/include/thread.h
/trunk/uspace/libc/arch/arm32/include/types.h
/trunk/uspace/libc/arch/arm32/src/entry.s
/trunk/uspace/libc/arch/arm32/src/psthread.S
/trunk/uspace/libc/arch/arm32/src/syscall.c
/trunk/uspace/libc/arch/arm32/src/thread.c
/trunk/uspace/libc/arch/arm32/src/thread_entry.s
/trunk/uspace/softfloat/arch/arm32/include/functions.h
2444 6366 d 3 h jermar /trunk/kernel/ First fixes for suncc support.
It is going to be a long way...
 
/trunk/kernel/Makefile
/trunk/kernel/arch/ia32/include/asm.h
/trunk/kernel/generic/include/mm/slab.h
2183 6422 d 11 h jermar /trunk/kernel/generic/ Continue to de-oversynchronize the kernel.
- replace as->refcount with an atomic counter; accesses to this
reference counter are not to be done when the as->lock mutex is held;
this gets us rid of mutex_lock_active();

Remove the possibility of a deadlock between TLB shootdown and asidlock.
- get rid of mutex_lock_active() on as->lock
- when locking the asidlock spinlock, always do it conditionally and with
preemption disabled; in the unsuccessful case, enable interrupts and try again
- there should be no deadlock between TLB shootdown and the as->lock mutexes
- PLEASE REVIEW !!!

Add DEADLOCK_PROBE's to places where we have spinlock_trylock() loops.
 
/trunk/kernel/generic/include/mm/as.h
/trunk/kernel/generic/include/synch/mutex.h
/trunk/kernel/generic/include/synch/spinlock.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/irq.c
/trunk/kernel/generic/src/mm/as.c
/trunk/kernel/generic/src/proc/scheduler.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/proc/thread.c
/trunk/kernel/generic/src/synch/spinlock.c
/trunk/kernel/generic/src/synch/waitq.c
/trunk/kernel/generic/src/time/timeout.c

Show All