Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2020 |
6464 d 15 h |
decky |
/trunk/kernel/ |
integrate more tests |
|
/trunk/kernel/test/btree/btree1.c /trunk/kernel/test/debug/mips1.c /trunk/kernel/test/fault/fault1.c /trunk/kernel/test/fpu/fpu1.c
/trunk/kernel/test/btree/btree1 /trunk/kernel/test/debug/mips1 /trunk/kernel/test/fault/fault1 /trunk/kernel/test/fpu/fpu1
/trunk/kernel/Makefile /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/kernel.config /trunk/kernel/test/atomic/atomic1.c /trunk/kernel/test/test.c /trunk/kernel/test/test.h
|
2019 |
6464 d 16 h |
decky |
/trunk/kernel/ |
prepare for new test infrastructure |
|
/trunk/kernel/test/atomic/atomic1.c /trunk/kernel/test/test.c /trunk/kernel/test/test.h
/trunk/kernel/generic/include/test.h /trunk/kernel/test/atomic/atomic1
/trunk/kernel/Makefile /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/kernel.config /trunk/kernel/test/mm/slab2/test.c
|
2015 |
6466 d 14 h |
jermar |
/trunk/ |
Rework support for virtually indexed cache.
Instead of repeatedly flushing the data cache, which was a huge overkill, refuse to create an illegal address alias
in the kernel (again) and allocate appropriate page color in userspace instead. Extend the detection also to
SYS_PHYSMEM_MAP syscall.
Add support for tracking physical memory areas mappable by SYS_PHYSMEM_MAP.
Lots of coding style changes. |
|
/trunk/uspace/libc/include/bitops.h
/trunk/kernel/arch/ia32/src/drivers/ega.c /trunk/kernel/arch/sparc64/include/interrupt.h /trunk/kernel/arch/sparc64/include/mm/cache.h /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/mm/cache.c /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/arch/sparc64/src/smp/ipi.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/generic/include/ddi/ddi.h /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/include/mm/page.h /trunk/kernel/generic/src/console/klog.c /trunk/kernel/generic/src/ddi/ddi.c /trunk/kernel/generic/src/lib/rd.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/sysinfo/sysinfo.c /trunk/kernel/generic/src/time/clock.c /trunk/uspace/fb/ega.c /trunk/uspace/fb/fb.c /trunk/uspace/fb/main.c /trunk/uspace/klog/klog.c /trunk/uspace/libc/arch/amd64/include/config.h /trunk/uspace/libc/arch/ia32/include/config.h /trunk/uspace/libc/arch/ia64/include/config.h /trunk/uspace/libc/arch/mips32/include/config.h /trunk/uspace/libc/arch/ppc32/include/config.h /trunk/uspace/libc/arch/ppc64/include/config.h /trunk/uspace/libc/arch/sparc64/include/config.h /trunk/uspace/libc/generic/as.c /trunk/uspace/libc/generic/mman.c /trunk/uspace/libc/generic/time.c /trunk/uspace/libc/include/as.h /trunk/uspace/ns/ns.c /trunk/uspace/rd/rd.c
|
2012 |
6469 d 12 h |
jermar |
/trunk/ |
Eliminate confusion between SYS_MAP_PHYSMEM and sys_physmem_map.
The syscall is to be called SYS_PHYSMEM_MAP from now on and the functions that participate in its implementation are
called *physmem_map(). |
|
/trunk/kernel/generic/include/ddi/ddi_arg.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/ddi/ddi.c /trunk/uspace/fb/ega.c /trunk/uspace/fb/fb.c /trunk/uspace/libc/generic/ddi.c /trunk/uspace/libc/include/ddi.h /trunk/uspace/ns/ns.c /trunk/uspace/rd/rd.c
|
2009 |
6471 d 13 h |
jermar |
/trunk/kernel/ |
Initial support for handling illegal virtual aliases on sparc64. |
|
/trunk/kernel/arch/sparc64/src/mm/cache.c /trunk/kernel/arch/sparc64/src/mm/cache_asm.S
/trunk/kernel/arch/sparc64/src/mm/cache.S
/trunk/kernel/Makefile /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/cpu.h /trunk/kernel/arch/sparc64/include/interrupt.h /trunk/kernel/arch/sparc64/include/mm/as.h /trunk/kernel/arch/sparc64/include/mm/cache.h /trunk/kernel/arch/sparc64/src/cpu/cpu.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/ipi.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/src/mm/as.c /trunk/kernel/kernel.config
|
2007 |
6474 d 12 h |
jermar |
/trunk/kernel/ |
Introduce page colors. So far, only sparc64 uses correct page color bits. Other architectures have a dummy define
specifying zero bits for a page color.
There is a new check of page color in as_area_share(). Because of lack of support for this in the userspace, the
check has been #ifef'ed out. |
|
/trunk/kernel/arch/amd64/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/genarch/src/mm/asid_fifo.c /trunk/kernel/generic/include/mm/page.h /trunk/kernel/generic/src/mm/as.c
|
2005 |
6475 d 18 h |
decky |
/trunk/ |
update rd |
|
/trunk/kernel/generic/include/lib/rd.h /trunk/kernel/generic/src/lib/rd.c /trunk/kernel/generic/src/main/kinit.c /trunk/uspace/libc/generic/sysinfo.c /trunk/uspace/rd/rd.c
|
2002 |
6475 d 20 h |
decky |
/trunk/kernel/generic/ |
rd work |
|
/trunk/kernel/generic/include/byteorder.h /trunk/kernel/generic/include/lib/rd.h /trunk/kernel/generic/src/lib/rd.c /trunk/kernel/generic/src/main/kinit.c
|
2000 |
6477 d 23 h |
decky |
/trunk/kernel/ |
move files to more proper locations |
|
/trunk/kernel/generic/include/lib /trunk/kernel/generic/include/lib/elf.h /trunk/kernel/generic/include/lib/rd.h /trunk/kernel/generic/src/lib/rd.c
/trunk/kernel/generic/include/elf.h /trunk/kernel/generic/include/mm/rd.h /trunk/kernel/generic/src/mm/rd.c
/trunk/kernel/Makefile /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/src/lib/elf.c /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/mm/backend_elf.c /trunk/kernel/generic/src/proc/task.c
|
1999 |
6477 d 23 h |
decky |
/trunk/ |
start RAM disk support |
|
/trunk/kernel/generic/include/mm/rd.h /trunk/kernel/generic/src/mm/rd.c /trunk/uspace/rd /trunk/uspace/rd/Makefile /trunk/uspace/rd/rd.c
/trunk/kernel/Makefile /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/main/main.c /trunk/uspace/Makefile /trunk/uspace/libc/include/ipc/services.h
|
1981 |
6487 d 22 h |
jermar |
/trunk/kernel/ |
Indentation, formatting and minor changes. |
|
/trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/generic/src/mm/frame.c
|
1972 |
6500 d 20 h |
jermar |
/trunk/ |
Modify selected function to consume less stack space.
Avoid flushw instruction in the sparc64 loader. |
|
/trunk/boot/arch/sparc64/loader/boot.S /trunk/boot/arch/sparc64/loader/main.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/generic/src/console/kconsole.c
|
1954 |
6510 d 13 h |
jermar |
/trunk/ |
Minor changes. Some coding style fixes and also a type (tee vs. tree).
One AS -> as change. |
|
/trunk/kernel/arch/sparc64/include/mm/tsb.h /trunk/kernel/arch/sparc64/include/trap/mmu.h /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/mm/backend_anon.c /trunk/uspace/fb/fb.c
|
1950 |
6514 d 16 h |
jermar |
/trunk/kernel/ |
Indentation changes and coding style fixes in slab.c and slab.h. |
|
/trunk/kernel/doc/mm /trunk/kernel/generic/include/mm/slab.h /trunk/kernel/generic/src/mm/slab.c
|
1933 |
6519 d 13 h |
jermar |
/trunk/kernel/generic/ |
Implement efficient IPC notification cleanup. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/ipc/irq.c
|
1932 |
6519 d 14 h |
jermar |
/trunk/kernel/ |
Do not copy notification config out of the IRQ structure.
Add the notify member, that toggles notifications on and off instead.
This is good for preventing other tasks from registering the notification
while the notification config is stored outside the IRQ structure.
It should also help to implement the cleanup code. |
|
/trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/src/ipc/irq.c
|
1929 |
6519 d 19 h |
decky |
/trunk/kernel/generic/src/console/ |
ipc_irq_send_msg(NULL, 0, 0, 0) is definitively a bug |
|
/trunk/kernel/generic/src/console/cmd.c
|
1926 |
6520 d 0 h |
decky |
/trunk/kernel/ |
cleanup for new IRQ subsystem |
|
/trunk/kernel/arch/ppc32/src/interrupt.c /trunk/kernel/generic/src/ddi/device.c
|
1924 |
6520 d 13 h |
jermar |
/trunk/kernel/generic/ |
For the sake of clarity, get rid of negative INR for virtual interrupts.
This way, the code can hurt performance on systems where the non-negative klog INR overlaps
with a frequently used INR such as system clock on amd64 and ia32. |
|
/trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/src/console/klog.c
|
1923 |
6520 d 13 h |
jermar |
/trunk/ |
Replace the old IRQ dispatcher and IPC notifier with new implementation.
Note that all architectures except for sparc64 are now broken
and don't even compile. |
|
/trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/include/typedefs.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/klog.c /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/ipc/irq.c /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/kbd/arch/sparc64/src/kbd.c /trunk/uspace/klog/klog.c /trunk/uspace/libc/generic/async.c /trunk/uspace/libc/generic/ipc.c /trunk/uspace/libc/include/ipc/ipc.h
|