Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
846 |
6761 d 18 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Relocate kernel to 4M. |
|
/kernel/trunk/arch/sparc64/include/boot /kernel/trunk/arch/sparc64/include/boot/boot.h
/kernel/trunk/arch/sparc64/_link.ld.in /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/arch/sparc64/src/start.S
|
845 |
6762 d 0 h |
decky |
/kernel/trunk/ |
fix stupid bug in ppc32 context_save_arch
save only non-volatile registers in context |
|
/kernel/trunk/arch/ppc32/include/asm/regname.h /kernel/trunk/arch/ppc32/include/context_offset.h /kernel/trunk/tools/ppc32 /kernel/trunk/tools/ppc32/gencontext.c
/kernel/trunk/arch/ppc32/include/asm/macro.h
/kernel/trunk/arch/ppc32/boot/boot.S /kernel/trunk/arch/ppc32/include/context.h /kernel/trunk/arch/ppc32/src/asm.S /kernel/trunk/arch/ppc32/src/context.S /kernel/trunk/arch/ppc32/src/start.S
|
844 |
6762 d 15 h |
palkovsky |
/kernel/trunk/arch/ppc32/ |
Added missing CONFIG_FB for ppc. |
|
/kernel/trunk/arch/ppc32/Makefile.inc
|
843 |
6762 d 15 h |
palkovsky |
/kernel/trunk/ |
Made powerpc to get on PearPC to the version print when compiled with -O1:
- create proper memory zones
- switch to real mode on boot
TODO
- kernel relocation during boot
- autodetection of framebuffer settings (PCI?) - now includes hardcoded
settings for PearPc. |
|
/kernel/trunk/arch/ppc32/include/asm/spr.h
/kernel/trunk/arch/ppc32/_link.ld.in /kernel/trunk/arch/ppc32/include/console.h /kernel/trunk/arch/ppc32/include/mm/memory_init.h /kernel/trunk/arch/ppc32/include/mm/page.h /kernel/trunk/arch/ppc32/src/console.c /kernel/trunk/arch/ppc32/src/mm/frame.c /kernel/trunk/arch/ppc32/src/mm/memory_init.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/arch/ppc32/src/start.S /kernel/trunk/kernel.config
|
842 |
6762 d 22 h |
palkovsky |
/kernel/trunk/ |
Avoid memory exhaustion in thread_create in slab2 test. |
|
/kernel/trunk/generic/src/proc/thread.c /kernel/trunk/test/mm/slab2/test.c
|
841 |
6762 d 23 h |
jermar |
/kernel/trunk/contrib/arch/ |
Add workaround utility for buggy ELF loader in HP Ski IA-64 simulator. |
|
/kernel/trunk/contrib/arch /kernel/trunk/contrib/arch/ia64 /kernel/trunk/contrib/arch/ia64/vmaxlma.c
|
840 |
6763 d 22 h |
jermar |
/kernel/trunk/ |
Fix filling of hardcoded_ktext_size and hardcoded_kdata_size to use 64 bit stores on ia64. |
|
/kernel/trunk/arch/ia64/src/start.S /kernel/trunk/generic/src/mm/as.c
|
839 |
6764 d 20 h |
palkovsky |
/kernel/trunk/genarch/src/fb/ |
Better structure for framebuffer. |
|
/kernel/trunk/genarch/src/fb/fb.c
|
838 |
6765 d 0 h |
palkovsky |
/kernel/trunk/ |
Added untested support for 2 & 4-byte (15-bit & 24-bit depth) framebuffer. |
|
/kernel/trunk/arch/mips32/src/console.c /kernel/trunk/genarch/include/fb/fb.h /kernel/trunk/genarch/src/fb/fb.c
|
837 |
6765 d 1 h |
palkovsky |
/kernel/trunk/ |
Moved framebuffer to genarch. |
|
/kernel/trunk/genarch/include/fb /kernel/trunk/genarch/src/fb
/kernel/trunk/generic/include/fb /kernel/trunk/generic/src/fb
/kernel/trunk/Makefile /kernel/trunk/arch/mips32/src/console.c /kernel/trunk/genarch/Makefile.inc /kernel/trunk/genarch/src/fb/fb.c /kernel/trunk/genarch/src/fb/font-8x16.c
|
836 |
6765 d 12 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 |
6766 d 10 h |
jermar |
/kernel/trunk/arch/ppc32/include/mm/ |
Fix ppc32 to at least compile again. |
|
/kernel/trunk/arch/ppc32/include/mm/page.h
|
832 |
6768 d 13 h |
jermar |
/kernel/trunk/ |
Change pt_mapping_remove() to deallocate frames for empty PTL1, PTL2 and PTL3. |
|
/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/doc/TODO /kernel/trunk/genarch/include/mm/page_pt.h /kernel/trunk/genarch/src/mm/page_pt.c
|
831 |
6768 d 19 h |
jermar |
/kernel/trunk/ |
Make use of one unused bit in PTE formats of amd64, ia32 and mips32 to store 1 in valid mappings.
This helps to distinguish valid entries from not present entries with 0 content (i.e. not present
entries with PFN 0 and other bits cleared). |
|
/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/include/mm/tlb.h /kernel/trunk/arch/mips32/include/types.h /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/genarch/src/mm/asid_fifo.c
|
830 |
6768 d 21 h |
jermar |
/kernel/trunk/ |
Make ASID FIFO for mips32 be allocated statically.
Make ASID FIFO for sparc64 and ia64 be allocated dynamically.
Fix ia64 to call asid_fifo_init().
All three architectures now call asid_fifo_init() from as_arch_init(). |
|
/kernel/trunk/arch/ia64/src/mm/as.c /kernel/trunk/arch/mips32/src/mm/as.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/sparc64/src/mm/as.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/genarch/src/mm/asid_fifo.c /kernel/trunk/generic/include/adt/fifo.h
|
827 |
6769 d 12 h |
palkovsky |
/kernel/trunk/ |
Unimportant changes regarding FPU context. |
|
/kernel/trunk/arch/amd64/src/fpu_context.c /kernel/trunk/arch/ia32/src/fpu_context.c /kernel/trunk/arch/mips32/src/fpu_context.c /kernel/trunk/generic/include/fpu_context.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/fpu/mips1/test.c /kernel/trunk/test/fpu/sse1/test.c
|
826 |
6769 d 13 h |
jermar |
/kernel/trunk/ |
Add page_mapping_remove(). |
|
/kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/mm/page.c
|
825 |
6769 d 18 h |
jermar |
/kernel/trunk/ |
Remove WAKEUP_IPI stuff.
Make it possible to use PAGE_GLOBAL on ia32, amd64 and mips32.
Make ia32 and amd64 map the kernel using PAGE_GLOBAL. |
|
/kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/mm/page.h /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/mips32/include/mm/page.h /kernel/trunk/contrib/conf/msim.conf
|
824 |
6770 d 2 h |
palkovsky |
/kernel/trunk/ |
Use less frames for zone configuration data after merge. |
|
/kernel/trunk/generic/src/mm/frame.c /kernel/trunk/test/mm/falloc1/test.c
|
823 |
6770 d 12 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
|
822 |
6770 d 12 h |
palkovsky |
/kernel/trunk/ |
Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones. |
|
/kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/doc/mm /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/src/adt/hash_table.c /kernel/trunk/generic/src/cpu/cpu.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/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/test/mm/falloc2/test.c
|
821 |
6770 d 13 h |
jermar |
/kernel/trunk/arch/sparc64/src/mm/ |
Do not add CONFIG_STACK_SIZE to kernel.size. |
|
/kernel/trunk/arch/sparc64/src/mm/frame.c
|
820 |
6770 d 13 h |
jermar |
/kernel/trunk/ |
Convert size_t, count_t and index_t to 64-bits on 64-bit architectures.
Change some pfn_t usages to count_t, size_t and index_t. |
|
/kernel/trunk/arch/amd64/_link.ld.in /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/boot/boot.S /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/sparc64/_link.ld.in /kernel/trunk/arch/sparc64/src/mm/frame.c /kernel/trunk/generic/include/config.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/mm/frame.c
|
819 |
6770 d 14 h |
vana |
/kernel/trunk/arch/ia64/ |
TR tlb filling functions |
|
/kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/ia64/src/mm/tlb.c
|
818 |
6770 d 18 h |
vana |
/kernel/trunk/arch/ia64/ |
IA-64 TLB filling functions for dynamic tlb filling (TC tlb). |
|
/kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/ia64/src/mm/tlb.c
|
817 |
6770 d 21 h |
palkovsky |
/kernel/trunk/ |
Small cleanup. |
|
/kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/src/main/kinit.c
|
816 |
6770 d 21 h |
jermar |
/kernel/trunk/ |
Fix mapping1 test.
Cleanup. |
|
/kernel/trunk/arch/ia64/src/mm/frame.c /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/test/mm/mapping1/test.c
|
815 |
6770 d 22 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
|
814 |
6770 d 23 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
/kernel/trunk/generic/include/mm/heap.h /kernel/trunk/generic/src/mm/heap.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/include/types.h /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/include/types.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/mips32/src/mm/frame.c /kernel/trunk/contrib/conf/msim.conf /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/genarch/src/mm/as_pt.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/adt/hash_table.c /kernel/trunk/generic/src/cpu/cpu.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/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/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c
|
813 |
6771 d 11 h |
jermar |
/kernel/trunk/ |
Change ia64 kernel image to link and load at 0x100000 where
it (or its heap or stack) won't mess up with the ROM region.
Blacklist ia64 frame 0 from frame allocator so that 0 won't be
returned to malloc and friends. This can be reenabled again
once the kernel is not identity mapped. |
|
/kernel/trunk/arch/ia64/_link.ld.in /kernel/trunk/arch/ia64/src/mm/frame.c /kernel/trunk/arch/sparc64/src/mm/frame.c /kernel/trunk/generic/src/mm/buddy.c
|
812 |
6771 d 13 h |
jermar |
/kernel/trunk/ |
Documentation and dot.bochsrc upgrade. |
|
/kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/contrib/conf/dot.bochsrc /kernel/trunk/doc/arch/amd64 /kernel/trunk/doc/arch/ia32
|
811 |
6771 d 15 h |
jermar |
/kernel/trunk/ |
Fix number of steps in softint division.
Make ia64 port compile with softint. |
|
/kernel/trunk/genarch/include/softint/division.h /kernel/trunk/genarch/src/softint/division.c
/kernel/trunk/genarch/include/softint/softint.h /kernel/trunk/genarch/src/softint/softint.c
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/genarch/Makefile.inc
|
810 |
6771 d 20 h |
cejka |
/kernel/trunk/genarch/ |
Added softint for emulation 32 and 64 bit division.
Not tested yet. |
|
/kernel/trunk/genarch/include/softint /kernel/trunk/genarch/include/softint/softint.h /kernel/trunk/genarch/src/softint /kernel/trunk/genarch/src/softint/softint.c
|
809 |
6771 d 20 h |
palkovsky |
/kernel/trunk/arch/amd64/src/smp/ |
Simics GS patch even in SMP. |
|
/kernel/trunk/arch/amd64/src/smp/ap.S
|
808 |
6772 d 2 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Doc updates. |
|
/kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/amd64/src/asm_utils.S
|
807 |
6772 d 2 h |
palkovsky |
/kernel/trunk/arch/amd64/src/boot/ |
I'm unsure if simics is broken or the only one according to spec,
but SYSCALL now works even with simics. |
|
/kernel/trunk/arch/amd64/src/boot/boot.S
|
806 |
6772 d 9 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Added (finally!) userspace to AMD64.
It does not work on Simics *$U&%&$&*#. Broken simics!!!
There should be probably LEA instead of MOV/ADD, but LEA does not
work in neither qemu nor bochs. Any other simulator to test? :-/ |
|
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/amd64/src/syscall.c
|
803 |
6772 d 11 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Basic amd syscall support. |
|
/kernel/trunk/arch/amd64/include/syscall.h /kernel/trunk/arch/amd64/src/syscall.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/include/pm.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/pm.c
|
802 |
6772 d 13 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Userspace now starts executing correctly. |
|
/kernel/trunk/arch/amd64/include/mm/as.h /kernel/trunk/arch/amd64/src/userspace.c
|
800 |
6772 d 14 h |
palkovsky |
/kernel/trunk/arch/amd64/include/ |
Split AMD interrupt.h from ia32 version. |
|
/kernel/trunk/arch/amd64/include/interrupt.h
|