Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
836 6839 d 18 h palkovsky /kernel/trunk/ Added support for 24-bit framebuffer.  
/kernel/trunk/generic/include/fb/fb.h
/kernel/trunk/generic/src/fb/fb.c
/kernel/trunk/Makefile
/kernel/trunk/arch/mips32/src/console.c
/kernel/trunk/arch/mips32/src/mm/frame.c
/kernel/trunk/arch/ppc32/src/mm/frame.c
/kernel/trunk/contrib/conf/gxemul.sh
/kernel/trunk/kernel.config
833 6840 d 16 h jermar /kernel/trunk/arch/ppc32/include/mm/ Fix ppc32 to at least compile again.  
/kernel/trunk/arch/ppc32/include/mm/page.h
823 6844 d 18 h jermar /kernel/trunk/ Reimplement ASID stealing logic.
This time, hopefully, with correct synchronization.
 
/kernel/trunk/arch/ia32/include/mm/asid.h
/kernel/trunk/arch/ia64/src/mm/frame.c
/kernel/trunk/arch/ppc32/include/mm/asid.h
/kernel/trunk/arch/sparc64/src/mm/frame.c
/kernel/trunk/genarch/src/mm/asid.c
/kernel/trunk/genarch/src/mm/page_ht.c
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/include/mm/asid.h
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/generic/src/proc/scheduler.c
815 6845 d 4 h jermar /kernel/trunk/ Fix sparc64 and ia64 to work with the changed frame allocator.

Fix ppc32 to at least compile.
 
/kernel/trunk/arch/ia64/include/types.h
/kernel/trunk/arch/ia64/src/mm/frame.c
/kernel/trunk/arch/mips32/src/mm/frame.c
/kernel/trunk/arch/ppc32/include/types.h
/kernel/trunk/arch/ppc32/src/mm/frame.c
/kernel/trunk/arch/sparc64/include/types.h
/kernel/trunk/arch/sparc64/src/mm/frame.c
/kernel/trunk/genarch/src/mm/page_ht.c
/kernel/trunk/generic/src/mm/buddy.c
793 6847 d 2 h jermar /kernel/trunk/ Use hash_table_get_instance instead of list_get_instance.
Rename page_operations to page_mapping_operations.
Rename page_pt_operations to pt_mapping_operations.
Rename page_ht_operations to ht_mapping_operations.
 
/kernel/trunk/arch/amd64/src/mm/page.c
/kernel/trunk/arch/ia32/src/mm/page.c
/kernel/trunk/arch/ia64/src/mm/page.c
/kernel/trunk/arch/mips32/src/mm/page.c
/kernel/trunk/arch/ppc32/src/mm/page.c
/kernel/trunk/arch/sparc64/src/mm/frame.c
/kernel/trunk/arch/sparc64/src/mm/page.c
/kernel/trunk/genarch/include/mm/page_ht.h
/kernel/trunk/genarch/include/mm/page_pt.h
/kernel/trunk/genarch/src/mm/page_ht.c
/kernel/trunk/genarch/src/mm/page_pt.c
/kernel/trunk/generic/include/adt/hash_table.h
/kernel/trunk/generic/include/mm/page.h
/kernel/trunk/generic/src/mm/page.c
765 6850 d 20 h jermar /kernel/trunk/ Add PAGE_WIDTH to aid divisions by PAGE_SIZE.  
/kernel/trunk/arch/amd64/include/mm/page.h
/kernel/trunk/arch/ia32/include/mm/page.h
/kernel/trunk/arch/mips32/include/mm/page.h
/kernel/trunk/arch/mips32/src/mm/tlb.c
/kernel/trunk/arch/ppc32/include/mm/page.h
/kernel/trunk/arch/sparc64/include/mm/page.h
/kernel/trunk/generic/src/mm/slab.c
763 6851 d 2 h jermar /kernel/trunk/ Modify frame.h to use shifting instead of multiplication and division.
Define FRAME_WIDTH for all architectures.
 
/kernel/trunk/arch/amd64/include/mm/frame.h
/kernel/trunk/arch/ia32/include/mm/frame.h
/kernel/trunk/arch/ia64/include/mm/frame.h
/kernel/trunk/arch/mips32/include/mm/frame.h
/kernel/trunk/arch/ppc32/include/mm/frame.h
/kernel/trunk/arch/sparc64/include/mm/frame.h
/kernel/trunk/generic/include/mm/frame.h
/kernel/trunk/generic/src/mm/slab.c
760 6851 d 4 h jermar /kernel/trunk/ mips32 is not supposed to allocate page table.
This is done by the generic code now.
Remove PTL0 pointer as it is not needed.

Remove GET_PTL0_ADDRESS from kernel.

Update sparc64 comments in barrier.h.
 
/kernel/trunk/arch/amd64/include/mm/page.h
/kernel/trunk/arch/ia32/include/mm/page.h
/kernel/trunk/arch/mips32/include/mm/page.h
/kernel/trunk/arch/mips32/src/mm/page.c
/kernel/trunk/arch/ppc32/include/mm/page.h
/kernel/trunk/arch/sparc64/include/barrier.h
/kernel/trunk/genarch/include/mm/page_pt.h
756 6852 d 17 h jermar /kernel/trunk/ Memory management work.
Remove the last (i.e. 'root') argument from page_mapping_insert() and page_mapping_find().
Page table address is now extracted from the first (i.e. 'as') argument.
Add a lot of infrastructure to make the above possible.
sparc64 is now broken, most likely because of insufficient identity mapping of physical memory.
 
/kernel/trunk/arch/amd64/src/mm/as.c
/kernel/trunk/arch/ia32/src/mm/as.c
/kernel/trunk/arch/ia64/src/mm/as.c
/kernel/trunk/arch/ppc32/src/mm/as.c
/kernel/trunk/arch/sparc64/src/mm/as.c
/kernel/trunk/genarch/include/mm/as_ht.h
/kernel/trunk/genarch/include/mm/as_pt.h
/kernel/trunk/genarch/src/mm/as_ht.c
/kernel/trunk/genarch/src/mm/as_pt.c
/kernel/trunk/arch/amd64/Makefile.inc
/kernel/trunk/arch/amd64/include/mm/as.h
/kernel/trunk/arch/amd64/src/mm/page.c
/kernel/trunk/arch/ia32/Makefile.inc
/kernel/trunk/arch/ia32/include/mm/as.h
/kernel/trunk/arch/ia32/src/drivers/ega.c
/kernel/trunk/arch/ia32/src/mm/page.c
/kernel/trunk/arch/ia32/src/smp/smp.c
/kernel/trunk/arch/ia64/Makefile.inc
/kernel/trunk/arch/ia64/include/mm/as.h
/kernel/trunk/arch/ia64/include/mm/page.h
/kernel/trunk/arch/ia64/src/mm/tlb.c
/kernel/trunk/arch/mips32/include/mm/as.h
/kernel/trunk/arch/mips32/src/mm/as.c
/kernel/trunk/arch/mips32/src/mm/tlb.c
/kernel/trunk/arch/ppc32/Makefile.inc
/kernel/trunk/arch/ppc32/include/mm/as.h
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/mm/as.h
/kernel/trunk/arch/sparc64/include/mm/frame.h
/kernel/trunk/arch/sparc64/include/mm/page.h
/kernel/trunk/genarch/Makefile.inc
/kernel/trunk/genarch/include/mm/page_ht.h
/kernel/trunk/genarch/include/mm/page_pt.h
/kernel/trunk/genarch/src/acpi/acpi.c
/kernel/trunk/genarch/src/mm/page_ht.c
/kernel/trunk/genarch/src/mm/page_pt.c
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/include/mm/buddy.h
/kernel/trunk/generic/include/mm/page.h
/kernel/trunk/generic/src/main/kinit.c
/kernel/trunk/generic/src/main/main.c
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/generic/src/mm/page.c
/kernel/trunk/test/mm/mapping1/test.c
727 6864 d 19 h jermar /kernel/trunk/ New ASID management subsystem (initial work, more is required).
Some TLB invalidation changes.
 
/kernel/trunk/genarch/src/mm/asid.c
/kernel/trunk/arch/ia32/include/mm/asid.h
/kernel/trunk/arch/ia32/src/mm/tlb.c
/kernel/trunk/arch/ia64/Makefile.inc
/kernel/trunk/arch/ia64/include/mm/asid.h
/kernel/trunk/arch/mips32/Makefile.inc
/kernel/trunk/arch/mips32/include/mm/asid.h
/kernel/trunk/arch/mips32/src/mm/as.c
/kernel/trunk/arch/mips32/src/mm/asid.c
/kernel/trunk/arch/mips32/src/mm/tlb.c
/kernel/trunk/arch/ppc32/include/mm/asid.h
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/mm/asid.h
/kernel/trunk/arch/sparc64/src/mm/tlb.c
/kernel/trunk/genarch/Makefile.inc
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/include/mm/asid.h
/kernel/trunk/generic/include/mm/tlb.h
/kernel/trunk/generic/src/main/kinit.c
/kernel/trunk/generic/src/main/main.c
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/generic/src/mm/tlb.c
703 6871 d 4 h jermar /kernel/trunk/ Memory management work.
- vm.* -> as.* (as like address space is, imho, more fitting)
- Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
- Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
- Add high-level page fault handler as_page_fault().
- Add as_area_load_mapping().
 
/kernel/trunk/arch/amd64/include/mm/as.h
/kernel/trunk/arch/ia32/include/mm/as.h
/kernel/trunk/arch/ia64/include/mm/as.h
/kernel/trunk/arch/mips32/include/mm/as.h
/kernel/trunk/arch/mips32/src/mm/as.c
/kernel/trunk/arch/ppc32/include/mm/as.h
/kernel/trunk/arch/sparc64/include/mm/as.h
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/arch/amd64/include/mm/vm.h
/kernel/trunk/arch/ia32/include/mm/vm.h
/kernel/trunk/arch/ia64/include/mm/vm.h
/kernel/trunk/arch/mips32/include/mm/vm.h
/kernel/trunk/arch/mips32/src/mm/vm.c
/kernel/trunk/arch/ppc32/include/mm/vm.h
/kernel/trunk/arch/sparc64/include/mm/vm.h
/kernel/trunk/generic/include/mm/vm.h
/kernel/trunk/generic/src/mm/vm.c
/kernel/trunk/Makefile
/kernel/trunk/arch/amd64/src/interrupt.c
/kernel/trunk/arch/amd64/src/userspace.c
/kernel/trunk/arch/ia32/src/interrupt.c
/kernel/trunk/arch/ia32/src/mm/frame.c
/kernel/trunk/arch/ia32/src/userspace.c
/kernel/trunk/arch/mips32/Makefile.inc
/kernel/trunk/arch/mips32/src/mips32.c
/kernel/trunk/arch/mips32/src/mm/tlb.c
/kernel/trunk/doc/mm
/kernel/trunk/generic/include/arch.h
/kernel/trunk/generic/include/proc/task.h
/kernel/trunk/generic/include/typedefs.h
/kernel/trunk/generic/src/main/kinit.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/generic/src/proc/task.c
/kernel/trunk/generic/src/proc/the.c
684 6876 d 2 h jermar /kernel/trunk/ Memory management work.
Move generic 4-level page table interface to genarch
and enable architectures to use different virtual memory
mechanisms (e.g. page hash tables).
Start page hash table support.
Switch ia64 and sparc64 to page hash tables.
Other architectures keep on using 4-level page table interface.
 
/kernel/trunk/arch/ia64/src/mm/page.c
/kernel/trunk/genarch/include/mm
/kernel/trunk/genarch/include/mm/page_ht.h
/kernel/trunk/genarch/include/mm/page_pt.h
/kernel/trunk/genarch/src/mm
/kernel/trunk/genarch/src/mm/page_ht.c
/kernel/trunk/genarch/src/mm/page_pt.c
/kernel/trunk/arch/amd64/Makefile.inc
/kernel/trunk/arch/amd64/src/mm/page.c
/kernel/trunk/arch/ia32/Makefile.inc
/kernel/trunk/arch/ia32/src/mm/page.c
/kernel/trunk/arch/ia64/Makefile.inc
/kernel/trunk/arch/ia64/include/mm/page.h
/kernel/trunk/arch/mips32/Makefile.inc
/kernel/trunk/arch/mips32/src/mm/page.c
/kernel/trunk/arch/ppc32/Makefile.inc
/kernel/trunk/arch/ppc32/src/mm/page.c
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/src/mm/page.c
/kernel/trunk/genarch/Makefile.inc
/kernel/trunk/generic/include/mm/page.h
/kernel/trunk/generic/src/main/main.c
/kernel/trunk/generic/src/mm/page.c
/kernel/trunk/generic/src/mm/vm.c
674 6880 d 5 h cejka /kernel/trunk/ Support for printing float numbers in kernel removed.  
/kernel/trunk/arch/amd64/include/fmath.h
/kernel/trunk/arch/amd64/src/fmath.c
/kernel/trunk/arch/ia32/include/fmath.h
/kernel/trunk/arch/ia32/src/fmath.c
/kernel/trunk/arch/ia64/include/fmath.h
/kernel/trunk/arch/ia64/src/fmath.c
/kernel/trunk/arch/mips32/include/fmath.h
/kernel/trunk/arch/mips32/src/fmath.c
/kernel/trunk/arch/ppc32/include/fmath.h
/kernel/trunk/arch/ppc32/src/fmath.c
/kernel/trunk/arch/amd64/Makefile.inc
/kernel/trunk/arch/ia32/Makefile.inc
/kernel/trunk/arch/ia64/Makefile.inc
/kernel/trunk/arch/mips32/Makefile.inc
/kernel/trunk/arch/ppc32/Makefile.inc
/kernel/trunk/generic/src/debug/print.c
/kernel/trunk/test/print/print1/test.c
659 6893 d 6 h jermar /kernel/trunk/ Make the kernel compile with -Wall.  
/kernel/trunk/Makefile
/kernel/trunk/arch/ia64/src/fmath.c
/kernel/trunk/arch/ppc32/src/fmath.c
/kernel/trunk/arch/ppc32/src/mm/memory_init.c
/kernel/trunk/genarch/src/acpi/acpi.c
/kernel/trunk/generic/src/lib/func.c
/kernel/trunk/generic/src/time/timeout.c
655 6894 d 23 h jermar /kernel/trunk/arch/ Compilation fixes.  
/kernel/trunk/arch/ia64/include/memstr.h
/kernel/trunk/arch/mips32/include/memstr.h
/kernel/trunk/arch/ppc32/include/memstr.h
651 6895 d 17 h decky /kernel/trunk/ remove arch/$ARCH/boot where not needed, change global Makefile accordingly
remove early_mapping() (breaks ppc32 for now)
change early heap initialization (required for init to work)
 
/kernel/trunk/arch/ia32/boot
/kernel/trunk/arch/sparc64/boot
/kernel/trunk/Makefile
/kernel/trunk/arch/ppc32/include/arch.h
/kernel/trunk/generic/include/arch.h
/kernel/trunk/generic/include/config.h
/kernel/trunk/generic/src/main/main.c
625 6900 d 1 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
586 6905 d 1 h jermar /kernel/trunk/ Fix ppc32 and sparc64 to compile again.
Fix sparc64 to function again.
 
/kernel/trunk/arch/ppc32/include/console.h
/kernel/trunk/arch/sparc64/include/console.h
/kernel/trunk/arch/ia64/src/ski/ski.c
/kernel/trunk/arch/ppc32/src/console.c
/kernel/trunk/arch/ppc32/src/ppc32.c
/kernel/trunk/arch/sparc64/src/console.c
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/generic/include/console/chardev.h
/kernel/trunk/generic/include/interrupt.h
/kernel/trunk/generic/src/interrupt/interrupt.c
581 6905 d 5 h palkovsky /kernel/trunk/ Small debug changes.  
/kernel/trunk/arch/amd64/include/debug.h
/kernel/trunk/arch/ia32/include/debug.h
/kernel/trunk/arch/ia64/include/debug.h
/kernel/trunk/arch/ppc32/include/debug.h
/kernel/trunk/arch/sparc64/include/debug.h
/kernel/trunk/arch/amd64/include/asm.h
/kernel/trunk/arch/ia32/include/asm.h
/kernel/trunk/arch/mips32/include/debug.h
/kernel/trunk/generic/include/debug.h
/kernel/trunk/generic/src/interrupt/interrupt.c
/kernel/trunk/generic/src/synch/spinlock.c
577 6905 d 16 h palkovsky /kernel/trunk/ Some small fixes, basic changes to ia64 & ppc32 without testing.  
/kernel/trunk/arch/ia64/include/drivers/keyboard.h
/kernel/trunk/arch/ia64/src/drivers/keyboard.c
/kernel/trunk/Makefile
/kernel/trunk/arch/ia64/include/ski/ski.h
/kernel/trunk/arch/ia64/src/drivers/it.c
/kernel/trunk/arch/ia64/src/ia64.c
/kernel/trunk/arch/ia64/src/ski/ski.c
/kernel/trunk/arch/mips32/src/drivers/arc.c
/kernel/trunk/arch/mips32/src/drivers/serial.c
/kernel/trunk/arch/ppc32/src/console.c

Show All