Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1040 |
6729 d 17 h |
palkovsky |
/kernel/trunk/generic/ |
Changed ipc to use spinlocks instead of mutexes again.
Fixed loading inits to set nameservice as the first loaded process.
Lot of TODO in ipc done. |
|
/kernel/trunk/generic/include/errno.h /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/ipc/sysipc.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
1037 |
6729 d 18 h |
decky |
/kernel/trunk/ |
support for more init tasks
(might break some archs yet) |
|
/kernel/trunk/arch/amd64/src/boot/boot.S /kernel/trunk/arch/ia32/src/boot/boot.S /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/include/config.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
|
1027 |
6730 d 5 h |
palkovsky |
/kernel/trunk/ |
Implemented callback IPC call (connect_to_me). |
|
/kernel/trunk/generic/include/ipc/sysipc.h /kernel/trunk/generic/src/ipc/sysipc.c
/kernel/trunk/generic/include/ipc/ns.h /kernel/trunk/generic/src/ipc/ns.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/errno.h /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/syscall/syscall.c
|
973 |
6731 d 18 h |
palkovsky |
/kernel/trunk/generic/ |
Added simpler userspace starting. |
|
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/proc/task.c
|
965 |
6731 d 20 h |
palkovsky |
/kernel/trunk/ |
Added skeleton name service.
Cleanup for IPC to use mutexes instead of spinlocks. |
|
/kernel/trunk/generic/include/ipc/ns.h /kernel/trunk/generic/src/ipc/ns.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
955 |
6732 d 10 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
/kernel/trunk/generic/include/errno.h /kernel/trunk/generic/include/ipc /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/src/ipc /kernel/trunk/generic/src/ipc/ipc.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/include/types.h /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/syscall.c /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia64/include/types.h /kernel/trunk/arch/mips32/include/types.h /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/sparc64/include/types.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
938 |
6733 d 11 h |
jermar |
/kernel/trunk/ |
Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention. |
|
/kernel/trunk/generic/src/lib/elf.c
/kernel/trunk/generic/include/elf32.h /kernel/trunk/generic/include/elf64.h /kernel/trunk/generic/src/lib/elf32.c /kernel/trunk/generic/src/lib/elf64.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/_link.ld.in /kernel/trunk/arch/amd64/include/elf.h /kernel/trunk/arch/amd64/include/types.h /kernel/trunk/arch/amd64/src/userspace.c /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/include/elf.h /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/elf.h /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/include/elf.h /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/arch/ppc32/include/elf.h /kernel/trunk/arch/ppc32/include/types.h /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/elf.h /kernel/trunk/contrib/conf/msim.conf /kernel/trunk/contrib/conf/ski.conf /kernel/trunk/contrib/conf/spmips.conf /kernel/trunk/generic/include/elf.h /kernel/trunk/generic/include/userspace.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/uinit.c
|
820 |
6765 d 7 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
|
817 |
6765 d 16 h |
palkovsky |
/kernel/trunk/ |
Small cleanup. |
|
/kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/src/main/kinit.c
|
794 |
6767 d 14 h |
palkovsky |
/kernel/trunk/ |
Added MIPS userspace. Currently can't make it work in gxemul. |
|
/kernel/trunk/arch/mips32/include/asm/regname.h /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/contrib/conf/msim.conf /kernel/trunk/contrib/conf/spmips.conf /kernel/trunk/generic/src/main/kinit.c
|
756 |
6773 d 6 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
|
754 |
6774 d 6 h |
jermar |
/kernel/trunk/generic/ |
Remove address space area mapping array.
The information is to be stored directly in page tables.
This is to better support 64-bit systems which can have
fairly large address space areas. |
|
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/mm/as.c
|
727 |
6785 d 8 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
|
718 |
6789 d 9 h |
decky |
/kernel/trunk/ |
interface change: as_area_load_mapping -> as_area_set_mapping (set single page mapping)
map init directly from the physical frames it is loaded in |
|
/kernel/trunk/contrib/conf/dot.bochsrc /kernel/trunk/contrib/conf/simics.conf /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/mm/as.c
|
717 |
6789 d 11 h |
decky |
/kernel/trunk/ |
remove obsolete in-kernel userspace code
remove CONFIG_USERSPACE switch, uspace support is configured at run-time |
|
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/ia32/src/asm.S /kernel/trunk/arch/mips32/src/asm.S /kernel/trunk/generic/include/main/uinit.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/kernel.config
|
703 |
6791 d 17 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
|
673 |
6801 d 8 h |
jermar |
/kernel/trunk/ |
Add 'version' and 'cpus' kconsole commands.
Remove leading p from names of p* commands. |
|
/kernel/trunk/generic/include/main/version.h /kernel/trunk/generic/src/main/version.c
/kernel/trunk/Makefile /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
654 |
6815 d 12 h |
jermar |
/kernel/trunk/generic/src/ |
Fix page_insert_mapping().
Some architectures (e.g. ia32) need to have the lower-numbered PTL's flagged as PAGE_WRITE in order to prevent overriding protection bits of leaf TTE's. |
|
/kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/mm/page.c
|
629 |
6820 d 10 h |
decky |
/kernel/trunk/ |
init task loading (yet buggy) |
|
/kernel/trunk/arch/ia32/boot/grub.img.gz /kernel/trunk/arch/ia32/src/boot/boot.S /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/mm/frame.c
|
625 |
6820 d 14 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
|