Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2015 |
6464 d 22 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
|
1868 |
6560 d 4 h |
jermar |
/trunk/ |
sparc64 work.
- the syscall wrapper needs to use the "memory"
clobber specifier to prevent over-optimization.
- on sparc64, the user address space spans the whole
64-bit space and therefore the macro
USER_ADDRESS_SPACE_SIZE_ARCH, as it was defined,
overflows to 0
- stop using USER_ADDRESS_SPACE_SIZE_ARCH and define
MAX_HEAP_SIZE instead
- in our situation when kernel and user address spaces
are separate, the G (global) bit cannot be used
(there is no point in it anymore)
- add the DEBUG() macro to stdio.h; DEBUG() uses
SYS_IO and is a good debugging tool for getting
early userspace to work |
|
/trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/generic/include/mm/as.h /trunk/uspace/libc/arch/sparc64/include/syscall.h /trunk/uspace/libc/generic/as.c /trunk/uspace/libc/generic/psthread.c /trunk/uspace/libc/include/as.h /trunk/uspace/libc/include/stdio.h
|
1866 |
6560 d 22 h |
jermar |
/trunk/uspace/ |
Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards. |
|
/trunk/uspace/libc/include/sys/mmap.h
/trunk/uspace/libc/include/sys/mman.h
/trunk/uspace/console/console.c /trunk/uspace/console/gcons.c /trunk/uspace/libc/arch/amd64/include/atomic.h /trunk/uspace/libc/arch/amd64/include/endian.h /trunk/uspace/libc/arch/amd64/include/limits.h /trunk/uspace/libc/arch/amd64/include/psthread.h /trunk/uspace/libc/arch/amd64/include/stackarg.h /trunk/uspace/libc/arch/amd64/include/thread.h /trunk/uspace/libc/arch/amd64/include/types.h /trunk/uspace/libc/arch/amd64/src/thread.c /trunk/uspace/libc/arch/ia32/include/atomic.h /trunk/uspace/libc/arch/ia32/include/ddi.h /trunk/uspace/libc/arch/ia32/include/endian.h /trunk/uspace/libc/arch/ia32/include/limits.h /trunk/uspace/libc/arch/ia32/include/psthread.h /trunk/uspace/libc/arch/ia32/include/stackarg.h /trunk/uspace/libc/arch/ia32/include/thread.h /trunk/uspace/libc/arch/ia32/include/types.h /trunk/uspace/libc/arch/ia32/src/syscall.c /trunk/uspace/libc/arch/ia64/include/atomic.h /trunk/uspace/libc/arch/ia64/include/endian.h /trunk/uspace/libc/arch/ia64/include/limits.h /trunk/uspace/libc/arch/ia64/include/psthread.h /trunk/uspace/libc/arch/ia64/include/stack.h /trunk/uspace/libc/arch/ia64/include/stackarg.h /trunk/uspace/libc/arch/ia64/include/thread.h /trunk/uspace/libc/arch/ia64/src/thread.c /trunk/uspace/libc/arch/mips32/include/atomic.h /trunk/uspace/libc/arch/mips32/include/context_offset.h /trunk/uspace/libc/arch/mips32/include/endian.h /trunk/uspace/libc/arch/mips32/include/limits.h /trunk/uspace/libc/arch/mips32/include/psthread.h /trunk/uspace/libc/arch/mips32/include/stackarg.h /trunk/uspace/libc/arch/mips32/include/thread.h /trunk/uspace/libc/arch/mips32/src/thread.c /trunk/uspace/libc/arch/mips32eb/include/endian.h /trunk/uspace/libc/arch/ppc32/include/atomic.h /trunk/uspace/libc/arch/ppc32/include/context_offset.h /trunk/uspace/libc/arch/ppc32/include/endian.h /trunk/uspace/libc/arch/ppc32/include/limits.h /trunk/uspace/libc/arch/ppc32/include/psthread.h /trunk/uspace/libc/arch/ppc32/include/regname.h /trunk/uspace/libc/arch/ppc32/include/stackarg.h /trunk/uspace/libc/arch/ppc32/include/thread.h /trunk/uspace/libc/arch/ppc32/src/syscall.c /trunk/uspace/libc/arch/ppc32/src/thread.c /trunk/uspace/libc/arch/ppc64/include/atomic.h /trunk/uspace/libc/arch/ppc64/include/context_offset.h /trunk/uspace/libc/arch/ppc64/include/endian.h /trunk/uspace/libc/arch/ppc64/include/limits.h /trunk/uspace/libc/arch/ppc64/include/psthread.h /trunk/uspace/libc/arch/ppc64/include/regname.h /trunk/uspace/libc/arch/ppc64/include/stackarg.h /trunk/uspace/libc/arch/ppc64/include/thread.h /trunk/uspace/libc/arch/ppc64/src/syscall.c /trunk/uspace/libc/arch/ppc64/src/thread.c /trunk/uspace/libc/arch/sparc64/include/context_offset.h /trunk/uspace/libc/arch/sparc64/include/endian.h /trunk/uspace/libc/arch/sparc64/include/limits.h /trunk/uspace/libc/generic/async.c /trunk/uspace/libc/generic/cap.c /trunk/uspace/libc/generic/ddi.c /trunk/uspace/libc/generic/err.c /trunk/uspace/libc/generic/futex.c /trunk/uspace/libc/generic/io/io.c /trunk/uspace/libc/generic/io/printf.c /trunk/uspace/libc/generic/io/printf_core.c /trunk/uspace/libc/generic/io/snprintf.c /trunk/uspace/libc/generic/io/sprintf.c /trunk/uspace/libc/generic/io/stream.c /trunk/uspace/libc/generic/io/vprintf.c /trunk/uspace/libc/generic/io/vsnprintf.c /trunk/uspace/libc/generic/io/vsprintf.c /trunk/uspace/libc/generic/ipc.c /trunk/uspace/libc/generic/libadt/hash_table.c /trunk/uspace/libc/generic/libadt/list.c /trunk/uspace/libc/generic/mmap.c /trunk/uspace/libc/generic/psthread.c /trunk/uspace/libc/generic/stdlib.c /trunk/uspace/libc/generic/string.c /trunk/uspace/libc/generic/sysinfo.c /trunk/uspace/libc/generic/task.c /trunk/uspace/libc/generic/thread.c /trunk/uspace/libc/generic/time.c /trunk/uspace/libc/include/align.h /trunk/uspace/libc/include/as.h /trunk/uspace/libc/include/assert.h /trunk/uspace/libc/include/async.h /trunk/uspace/libc/include/atomic.h /trunk/uspace/libc/include/cap.h /trunk/uspace/libc/include/ctype.h /trunk/uspace/libc/include/ddi.h /trunk/uspace/libc/include/endian.h /trunk/uspace/libc/include/err.h /trunk/uspace/libc/include/errno.h /trunk/uspace/libc/include/futex.h /trunk/uspace/libc/include/io/io.h /trunk/uspace/libc/include/io/printf_core.h /trunk/uspace/libc/include/io/stream.h /trunk/uspace/libc/include/ipc/ipc.h /trunk/uspace/libc/include/ipc/ns.h /trunk/uspace/libc/include/ipc/services.h /trunk/uspace/libc/include/libadt/fifo.h /trunk/uspace/libc/include/libadt/hash_table.h /trunk/uspace/libc/include/libadt/list.h /trunk/uspace/libc/include/libc.h /trunk/uspace/libc/include/limits.h /trunk/uspace/libc/include/psthread.h /trunk/uspace/libc/include/stdarg.h /trunk/uspace/libc/include/stddef.h /trunk/uspace/libc/include/stdint.h /trunk/uspace/libc/include/stdio.h /trunk/uspace/libc/include/stdlib.h /trunk/uspace/libc/include/string.h /trunk/uspace/libc/include/sys/time.h /trunk/uspace/libc/include/sys/types.h /trunk/uspace/libc/include/sysinfo.h /trunk/uspace/libc/include/task.h /trunk/uspace/libc/include/thread.h /trunk/uspace/libc/include/time.h /trunk/uspace/libc/include/unistd.h /trunk/uspace/libc/malloc/malloc.c
|
1787 |
6616 d 0 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
/trunk /trunk/boot /trunk/kernel /trunk/uspace
/boot/trunk /kernel/trunk /uspace/trunk
|
1653 |
6649 d 23 h |
cejka |
/uspace/trunk/ |
Doxygen comments. |
|
/uspace/trunk/init/init.c /uspace/trunk/init/init.h /uspace/trunk/init/version.c /uspace/trunk/init/version.h /uspace/trunk/ipcc/ipcc.c /uspace/trunk/klog/klog.c /uspace/trunk/libc/generic/as.c /uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/cap.c /uspace/trunk/libc/generic/ddi.c /uspace/trunk/libc/generic/err.c /uspace/trunk/libc/generic/futex.c /uspace/trunk/libc/generic/io/io.c /uspace/trunk/libc/generic/io/printf.c /uspace/trunk/libc/generic/io/printf_core.c /uspace/trunk/libc/generic/io/snprintf.c /uspace/trunk/libc/generic/io/sprintf.c /uspace/trunk/libc/generic/io/stream.c /uspace/trunk/libc/generic/io/vprintf.c /uspace/trunk/libc/generic/io/vsnprintf.c /uspace/trunk/libc/generic/io/vsprintf.c /uspace/trunk/libc/generic/ipc.c /uspace/trunk/libc/generic/libadt/hash_table.c /uspace/trunk/libc/generic/libadt/list.c /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/stdlib.c /uspace/trunk/libc/generic/string.c /uspace/trunk/libc/generic/sysinfo.c /uspace/trunk/libc/generic/task.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/generic/time.c /uspace/trunk/libc/include/align.h /uspace/trunk/libc/include/as.h /uspace/trunk/libc/include/assert.h /uspace/trunk/libc/include/async.h /uspace/trunk/libc/include/atomic.h /uspace/trunk/libc/include/cap.h /uspace/trunk/libc/include/ctype.h /uspace/trunk/libc/include/ddi.h /uspace/trunk/libc/include/endian.h /uspace/trunk/libc/include/err.h /uspace/trunk/libc/include/errno.h /uspace/trunk/libc/include/futex.h /uspace/trunk/libc/include/io/io.h /uspace/trunk/libc/include/io/printf_core.h /uspace/trunk/libc/include/io/stream.h /uspace/trunk/libc/include/ipc/fb.h /uspace/trunk/libc/include/ipc/ipc.h /uspace/trunk/libc/include/ipc/ns.h /uspace/trunk/libc/include/ipc/services.h /uspace/trunk/libc/include/libadt/fifo.h /uspace/trunk/libc/include/libadt/hash_table.h /uspace/trunk/libc/include/libadt/list.h /uspace/trunk/libc/include/libc.h /uspace/trunk/libc/include/limits.h /uspace/trunk/libc/include/malloc.h /uspace/trunk/libc/include/psthread.h /uspace/trunk/libc/include/stdarg.h /uspace/trunk/libc/include/stddef.h /uspace/trunk/libc/include/stdint.h /uspace/trunk/libc/include/stdio.h /uspace/trunk/libc/include/stdlib.h /uspace/trunk/libc/include/string.h /uspace/trunk/libc/include/sys/mman.h /uspace/trunk/libc/include/sys/time.h /uspace/trunk/libc/include/sys/types.h /uspace/trunk/libc/include/sysinfo.h /uspace/trunk/libc/include/task.h /uspace/trunk/libc/include/thread.h /uspace/trunk/libc/include/time.h /uspace/trunk/libc/include/types.h /uspace/trunk/libc/include/unistd.h /uspace/trunk/softfloat/generic/common.c /uspace/trunk/softint/generic/division.c /uspace/trunk/softint/include/division.h /uspace/trunk/tetris/input.c /uspace/trunk/tetris/input.h /uspace/trunk/tetris/pathnames.h /uspace/trunk/tetris/scores.c /uspace/trunk/tetris/scores.h /uspace/trunk/tetris/screen.c /uspace/trunk/tetris/screen.h /uspace/trunk/tetris/shapes.c /uspace/trunk/tetris/tetris.c /uspace/trunk/tetris/tetris.h
|
1501 |
6655 d 7 h |
palkovsky |
/uspace/trunk/ |
Allocation function for allocating free areas for mmap, map_physmem etc. |
|
/uspace/trunk/fb/ega.c /uspace/trunk/fb/fb.c /uspace/trunk/libc/generic/as.c /uspace/trunk/libc/generic/time.c /uspace/trunk/libc/include/align.h /uspace/trunk/libc/include/as.h /uspace/trunk/ns/ns.c
|
1363 |
6671 d 19 h |
vana |
/uspace/trunk/ |
Earliest version of Userspace Framebuffer driver, with stream support in libc.
Also Virtual framebuffers made as split on main fb and its usage by streams
(please test it and report) |
|
/uspace/trunk/fb /uspace/trunk/fb/Makefile /uspace/trunk/fb/fb.c /uspace/trunk/fb/fb.h /uspace/trunk/fb/font-8x16.c /uspace/trunk/fb/font-8x16.h /uspace/trunk/fb/helenos.xbm /uspace/trunk/libc/generic/io/stream.c /uspace/trunk/libc/include/io/stream.h /uspace/trunk/libc/include/ipc/fb.h /uspace/trunk/libfb
/uspace/trunk/Makefile /uspace/trunk/init/init.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/Makefile.toolchain /uspace/trunk/libc/generic/as.c /uspace/trunk/libc/generic/io/io.c /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/include/as.h /uspace/trunk/libc/include/ipc/services.h /uspace/trunk/ns/ns.c
|
1330 |
6674 d 1 h |
palkovsky |
/uspace/trunk/ |
Added support to IPC for sharing pages. Remove old calls as_area_send/accept,
modify tests. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/as.c /uspace/trunk/libc/include/as.h /uspace/trunk/libipc/generic/ipc.c /uspace/trunk/libipc/include/ipc.h /uspace/trunk/ns/ns.c
|
1307 |
6677 d 2 h |
jermar |
/uspace/trunk/ |
SYS_AS_AREA_DESTROY support for uspace.
Formatting fixes in libpci. |
|
/uspace/trunk/libc/generic/as.c /uspace/trunk/libc/include/as.h /uspace/trunk/pci/libpci/access.c /uspace/trunk/pci/libpci/i386-ports.c
|
1250 |
6690 d 6 h |
jermar |
/uspace/trunk/ |
Add as.h to libc and compile pci module only for amd64 and ia32. |
|
/uspace/trunk/libc/include/as.h
/uspace/trunk/Makefile /uspace/trunk/init/init.c /uspace/trunk/libc/generic/as.c /uspace/trunk/libc/include/unistd.h
|