Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1868 |
6557 d 10 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
|
1867 |
6558 d 4 h |
jermar |
/trunk/uspace/ |
Prototype for mmap() should be in mman.h.
Anyway, is there any common sense behind naming of mman.h and mman.c? |
|
/trunk/uspace/libc/generic/mman.c /trunk/uspace/libc/include/sys/mman.h
/trunk/uspace/libc/generic/mmap.c /trunk/uspace/libc/include/sys/mmap.h
/trunk/uspace/console/console.c /trunk/uspace/console/gcons.c /trunk/uspace/libc/Makefile /trunk/uspace/libc/malloc/malloc.c
|
1866 |
6558 d 4 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
|
1863 |
6561 d 4 h |
jermar |
/trunk/ |
Allow architectures to decide between inlined and not inlined version of syscall wrapper.
Implement inlined syscall wrapper for sparc64. |
|
/trunk/uspace/libc/arch/amd64/include/syscall.h /trunk/uspace/libc/arch/ia32/include/syscall.h /trunk/uspace/libc/arch/ia64/include/syscall.h /trunk/uspace/libc/arch/mips32/include/syscall.h /trunk/uspace/libc/arch/mips32eb/include/syscall.h /trunk/uspace/libc/arch/ppc32/include/syscall.h /trunk/uspace/libc/arch/ppc64/include/syscall.h /trunk/uspace/libc/arch/sparc64/include/syscall.h /trunk/uspace/libc/include/syscall.h
/trunk/uspace/libc/arch/sparc64/src/syscall.c
/trunk/kernel/arch/sparc64/include/trap/syscall.h /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/syscall/syscall.h /trunk/uspace/libc/arch/sparc64/Makefile.inc /trunk/uspace/libc/generic/ddi.c /trunk/uspace/libc/include/libc.h /trunk/uspace/libc/include/sys/types.h
|
1787 |
6613 d 6 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
|
1781 |
6620 d 8 h |
jermar |
/uspace/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
/uspace/trunk/libc/arch/amd64/include/config.h /uspace/trunk/libc/arch/amd64/include/faddr.h /uspace/trunk/libc/arch/ia32/include/config.h /uspace/trunk/libc/arch/ia32/include/faddr.h /uspace/trunk/libc/arch/ia64/include/config.h /uspace/trunk/libc/arch/ia64/include/faddr.h /uspace/trunk/libc/arch/mips32/include/config.h /uspace/trunk/libc/arch/mips32/include/faddr.h /uspace/trunk/libc/arch/ppc32/include/config.h /uspace/trunk/libc/arch/ppc32/include/faddr.h /uspace/trunk/libc/arch/ppc64/include/config.h /uspace/trunk/libc/arch/ppc64/include/faddr.h
/uspace/trunk/fb/fb.c /uspace/trunk/libc/arch/amd64/include/context_offset.h /uspace/trunk/libc/arch/amd64/include/limits.h /uspace/trunk/libc/arch/amd64/include/types.h /uspace/trunk/libc/arch/ia32/include/types.h /uspace/trunk/libc/arch/ia64/include/psthread.h /uspace/trunk/libc/arch/ia64/include/types.h /uspace/trunk/libc/arch/mips32/include/types.h /uspace/trunk/libc/arch/ppc32/include/types.h /uspace/trunk/libc/arch/ppc64/include/types.h /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/ipc/fb.h /uspace/trunk/libc/include/types.h /uspace/trunk/libc/include/unistd.h
|
1719 |
6638 d 4 h |
decky |
/uspace/trunk/ |
big code cleanup, compile with -Wall -Werror to enforce better coding
there is currently one warning that requires attention, please review |
|
/uspace/trunk/fb/sysio.c /uspace/trunk/libc/Makefile.toolchain /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/io/stream.c /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/string.c /uspace/trunk/libc/generic/time.c /uspace/trunk/libc/include/err.h /uspace/trunk/libc/include/libc.h /uspace/trunk/libc/malloc/malloc.c /uspace/trunk/ns/ns.c
|
1707 |
6639 d 5 h |
palkovsky |
/uspace/trunk/ |
Added mouse input. Still missing support in console and framebuffer. |
|
/uspace/trunk/kbd/arch/ia32/src/mouse.c
/uspace/trunk/console/console.c /uspace/trunk/console/gcons.c /uspace/trunk/console/gcons.h /uspace/trunk/fb/fb.c /uspace/trunk/kbd/Makefile /uspace/trunk/kbd/arch/ia32/src/kbd.c /uspace/trunk/kbd/generic/kbd.c /uspace/trunk/kbd/include/kbd.h /uspace/trunk/kbd/include/keys.h /uspace/trunk/libc/include/ipc/fb.h
|
1672 |
6646 d 2 h |
palkovsky |
/uspace/trunk/ |
Fast uspace scrolling using double buffering. |
|
/uspace/trunk/console/console.c /uspace/trunk/fb/fb.c /uspace/trunk/libc/include/ipc/fb.h
|
1653 |
6647 d 5 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
|
1646 |
6647 d 11 h |
palkovsky |
/uspace/trunk/ |
Added animation to fb, fb running status shown. |
|
/uspace/trunk/console/anim_1.ppm /uspace/trunk/console/anim_2.ppm /uspace/trunk/console/anim_3.ppm /uspace/trunk/console/anim_4.ppm
/uspace/trunk/console/Makefile /uspace/trunk/console/cons_kernel.ppm /uspace/trunk/console/gcons.c /uspace/trunk/fb/fb.c /uspace/trunk/libc/include/ipc/fb.h
|
1610 |
6648 d 10 h |
palkovsky |
/uspace/trunk/ |
Revised ipc. Now it is preferrable to use only functions from async.h, they
take care of correct buffering, waiting for answers etc. |
|
/uspace/trunk/fb/helenos.xbm
/uspace/trunk/console/console.c /uspace/trunk/console/gcons.c /uspace/trunk/fb/fb.c /uspace/trunk/kbd/generic/kbd.c /uspace/trunk/klog/klog.c /uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/io/stream.c /uspace/trunk/libc/generic/ipc.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/include/async.h /uspace/trunk/libc/include/ipc/ipc.h /uspace/trunk/libc/include/psthread.h /uspace/trunk/tetris/screen.c
|
1596 |
6648 d 17 h |
palkovsky |
/uspace/trunk/ |
Added basic klog.
Added ipc tester.
TODO: add serializing functions to psthread, so that the lines in klog won't intermix. |
|
/uspace/trunk/ipcc /uspace/trunk/ipcc/Makefile /uspace/trunk/ipcc/ipcc.c /uspace/trunk/klog /uspace/trunk/klog/Makefile /uspace/trunk/klog/klog.c
/uspace/trunk/Makefile /uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/time.c /uspace/trunk/libc/include/async.h /uspace/trunk/libc/include/ipc/services.h /uspace/trunk/ns/ns.c
|
1558 |
6650 d 13 h |
palkovsky |
/uspace/trunk/ |
Console graphics update.
Slight speed improvement on console redraw. |
|
/uspace/trunk/console/cons_has_data.ppm /uspace/trunk/console/cons_idle.ppm /uspace/trunk/console/cons_kernel.ppm /uspace/trunk/console/cons_selected.ppm /uspace/trunk/console/gcons.c /uspace/trunk/fb/fb.c /uspace/trunk/libc/include/ipc/fb.h
|
1552 |
6651 d 7 h |
palkovsky |
/uspace/trunk/ |
Added nice kernel console switching, currently works on fb devices. |
|
/uspace/trunk/console/console.c /uspace/trunk/console/gcons.c /uspace/trunk/console/gcons.h /uspace/trunk/console/screenbuffer.h /uspace/trunk/fb/fb.c /uspace/trunk/libc/include/async.h /uspace/trunk/libc/include/ipc/fb.h
|
1547 |
6651 d 10 h |
palkovsky |
/uspace/trunk/ |
AS_AREA_CACHEABLE not needed anymore for sharing.
Added icons to console. |
|
/uspace/trunk/console/helenos.ppm /uspace/trunk/console/nameic.ppm /uspace/trunk/fb/ppm.c /uspace/trunk/fb/ppm.h /uspace/trunk/kbd/arch/mips32eb
/uspace/trunk/console/Makefile /uspace/trunk/console/console.c /uspace/trunk/console/gcons.c /uspace/trunk/fb/Makefile /uspace/trunk/fb/ega.c /uspace/trunk/fb/fb.c /uspace/trunk/fb/main.c /uspace/trunk/fb/main.h /uspace/trunk/libc/arch/amd64/Makefile.inc /uspace/trunk/libc/arch/ia32/Makefile.inc /uspace/trunk/libc/arch/ia64/Makefile.inc /uspace/trunk/libc/arch/mips32/Makefile.inc /uspace/trunk/libc/arch/mips32eb/Makefile.inc /uspace/trunk/libc/arch/ppc32/Makefile.inc /uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/generic/time.c /uspace/trunk/libc/include/async.h /uspace/trunk/libc/include/ipc/fb.h /uspace/trunk/libc/include/sys/mman.h /uspace/trunk/ns/ns.c
|
1532 |
6652 d 3 h |
palkovsky |
/uspace/trunk/ |
Small changes to tetris. |
|
/uspace/trunk/libc/generic/async.c /uspace/trunk/libc/include/sys/time.h /uspace/trunk/tetris/input.c /uspace/trunk/tetris/screen.c
|
1531 |
6652 d 5 h |
jermar |
/uspace/trunk/ |
Cleanup of uspace. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/include/ipc/ns.h /uspace/trunk/libc/include/ipc/services.h /uspace/trunk/ns/ns.c
|
1528 |
6652 d 5 h |
palkovsky |
/uspace/trunk/ |
Made tetris compile and somewhat run.
Slightly better console. |
|
/uspace/trunk/Makefile /uspace/trunk/console/console.c /uspace/trunk/console/gcons.c /uspace/trunk/console/gcons.h /uspace/trunk/libc/include/err.h /uspace/trunk/libc/include/io/stream.h /uspace/trunk/tetris/screen.c /uspace/trunk/tetris/tetris.c
|
1523 |
6652 d 7 h |
cejka |
/uspace/trunk/ |
Console support for flush. |
|
/uspace/trunk/console/console.c /uspace/trunk/console/console.h /uspace/trunk/libc/include/ipc/fb.h
|