Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3411 |
5815 d 22 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Take debug printfs out of cat |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
3410 |
5815 d 22 h |
svoboda |
/trunk/ |
Introduce directories '/app' and '/srv' on ramdisk instead of '/sbin' to mirror source tree. |
|
/trunk/uspace/dist/app /trunk/uspace/dist/srv
/trunk/uspace/dist/sbin
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/uspace/app/bdsh/config.h /trunk/uspace/app/init/init.c
|
3408 |
5816 d 1 h |
jermar |
/trunk/boot/arch/sparc64/loader/ |
Use memmove() instead of memcpy() to copy the ramdisk image in the sparc64 loader. |
|
/trunk/boot/arch/sparc64/loader/main.c
|
3407 |
5816 d 1 h |
jermar |
/trunk/boot/arch/sparc64/loader/ |
Prevent gcc from generating FPU code for the sparc64 loader. |
|
/trunk/boot/arch/sparc64/loader/Makefile
|
3406 |
5816 d 1 h |
svoboda |
/trunk/kernel/arch/ppc32/include/ |
Merge changeset 3114 from tracing into trunk. (implementation of istate_from_uspace() for ppc32) |
|
/trunk/kernel/arch/ppc32/include/regutils.h
/trunk/kernel/arch/ppc32/include/asm/regname.h /trunk/kernel/arch/ppc32/include/exception.h
|
3405 |
5816 d 2 h |
jermar |
/trunk/boot/generic/ |
Implement memmove() for the use in the boot component. |
|
/trunk/boot/generic/string.c /trunk/boot/generic/string.h
|
3404 |
5816 d 2 h |
jermar |
/trunk/kernel/generic/src/lib/ |
cstyle |
|
/trunk/kernel/generic/src/lib/memstr.c
|
3399 |
5816 d 22 h |
jermar |
/trunk/boot/arch/sparc64/ |
Support for ramdisks external to image.boot on sparc64.
The sparc64 port can now boot from a ramdisk which is not part of image.boot.
This allows us to use larger ramdisks with SILO. |
|
/trunk/boot/arch/sparc64/Makefile.inc /trunk/boot/arch/sparc64/loader/Makefile /trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/silo/silo.conf
|
3396 |
5820 d 3 h |
post |
/trunk/uspace/app/bdsh/ |
We need cli_set_prompt() in the main loop as modules are unaware of cliuser_t |
|
/trunk/uspace/app/bdsh/scli.c
|
3395 |
5820 d 17 h |
jermar |
/trunk/kernel/generic/ |
Kernel's ipc_data_t and uspace's ipc_call_t must be in sync.
This commit fixes a problem introduced in revision 3362, when
ipc_data_t was enlarged by the caller_phone member. This resulted
in sys_ipc_wait_for_call() passing larger structure to uspace
than requested, leading to a random damage of userspace memory. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/ipc.c
|
3394 |
5821 d 15 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
cstyle for ipc.c |
|
/trunk/kernel/generic/src/ipc/ipc.c
|
3393 |
5821 d 16 h |
jermar |
/trunk/kernel/arch/mips32/src/mm/ |
Write protection fault should not panic the mips32 kernel if it happens during
copy_to_uspace(). |
|
/trunk/kernel/arch/mips32/src/mm/tlb.c
|
3392 |
5821 d 16 h |
jermar |
/trunk/kernel/arch/mips32/src/mm/ |
cstyle for mips32's tlb.c |
|
/trunk/kernel/arch/mips32/src/mm/tlb.c
|
3391 |
5822 d 6 h |
jermar |
/trunk/ |
Remove ia64 legacy init address and init size macros.
Remove now unneeded vmaxlma.c. |
|
/trunk/boot/tools/ia64
/trunk/boot/arch/ia64/Makefile.inc /trunk/kernel/arch/ia64/Makefile.inc
|
3390 |
5822 d 6 h |
jermar |
/trunk/kernel/arch/mips32/ |
Get rid of mips32 legacy init address and size macros. |
|
/trunk/kernel/arch/mips32/Makefile.inc
|
3389 |
5823 d 14 h |
jermar |
/trunk/contrib/toolchain/ |
Update amd64, arm32, ia32 and ia64 toolchains to gcc 4.3.2. |
|
/trunk/contrib/toolchain/toolchain.amd64.sh /trunk/contrib/toolchain/toolchain.arm32.sh /trunk/contrib/toolchain/toolchain.ia32.sh /trunk/contrib/toolchain/toolchain.ia64.sh
|
3388 |
5823 d 15 h |
jermar |
/trunk/boot/arch/sparc64/loader/ |
Be aware of the ramdisk passed by SILO. |
|
/trunk/boot/arch/sparc64/loader/boot.S /trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/main.h
|
3387 |
5825 d 1 h |
decky |
/trunk/ |
ppc32 updates |
|
/trunk/boot/arch/ppc32/loader/main.c /trunk/boot/arch/ppc32/loader/ofwarch.c /trunk/contrib/toolchain/toolchain.ppc32.sh
|
3384 |
5827 d 18 h |
jermar |
/trunk/kernel/generic/src/mm/ |
cstyle |
|
/trunk/kernel/generic/src/mm/as.c
|
3383 |
5828 d 3 h |
svoboda |
/trunk/kernel/generic/src/mm/ |
Fix panic caused by not setting new area flags in as_area_change_flags(), as pointed out by Jakub. |
|
/trunk/kernel/generic/src/mm/as.c
|
3382 |
5828 d 15 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Fix the rare case when the anon or ELF backend uses PFN 0 for mapping. |
|
/trunk/kernel/generic/src/mm/backend_anon.c /trunk/kernel/generic/src/mm/backend_elf.c
|
3381 |
5829 d 17 h |
jermar |
/trunk/kernel/arch/ia32/include/ |
Prevent 'tmp' in ia32's atomic_lock_arch() from being allocated
to the same register as 'val->count'. |
|
/trunk/kernel/arch/ia32/include/atomic.h
|
3380 |
5829 d 17 h |
jermar |
/trunk/kernel/arch/amd64/include/ |
Prevent 'tmp' in amd64's atomic_lock_arch() from being allocated
to the same register as 'val->count'. |
|
/trunk/kernel/arch/amd64/include/atomic.h
|
3379 |
5830 d 3 h |
jermar |
/trunk/kernel/arch/sparc64/include/ |
Add the missing preemption_disable() call to sparc64 atomic_lock_arch().
Thanks to Pavel Rimsky for noticing this. |
|
/trunk/kernel/arch/sparc64/include/atomic.h
|
3378 |
5830 d 21 h |
post |
/trunk/uspace/app/bdsh/ |
main() - remove unused variable i |
|
/trunk/uspace/app/bdsh/scli.c
|
3377 |
5830 d 22 h |
post |
/trunk/uspace/app/bdsh/ |
Let 'cd' invoke cli_set_prompt(), no need to do it in every iteration of the main loop. |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.c /trunk/uspace/app/bdsh/scli.c /trunk/uspace/app/bdsh/scli.h /trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3376 |
5832 d 2 h |
post |
/trunk/uspace/app/bdsh/ |
Just make cli_count_args() a function |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3375 |
5833 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
long_options[] should be const where implemented |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
|
3374 |
5833 d 2 h |
post |
/trunk/uspace/app/bdsh/ |
Drop inclusion of lib/ and lib/ustr in the Makefile (this completes housekeeping) |
|
/trunk/uspace/app/bdsh/Makefile
|
3373 |
5833 d 2 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Rename non-standard extensions (cmd.def -> cmd_def.h) |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd_def.h /trunk/uspace/app/bdsh/cmds/modules/cat/cat_def.h /trunk/uspace/app/bdsh/cmds/modules/help/help_def.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls_def.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir_def.h /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd_def.h /trunk/uspace/app/bdsh/cmds/modules/quit/quit_def.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm_def.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch_def.h
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.def /trunk/uspace/app/bdsh/cmds/modules/cat/cat.def /trunk/uspace/app/bdsh/cmds/modules/help/help.def /trunk/uspace/app/bdsh/cmds/modules/ls/ls.def /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.def /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.def /trunk/uspace/app/bdsh/cmds/modules/quit/quit.def /trunk/uspace/app/bdsh/cmds/modules/rm/rm.def /trunk/uspace/app/bdsh/cmds/modules/touch/touch.def
/trunk/uspace/app/bdsh/cmds/builtins/builtins.h /trunk/uspace/app/bdsh/cmds/mknewcmd /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
3372 |
5833 d 4 h |
post |
/trunk/uspace/app/bdsh/ |
More house cleaning, don't expose beyond what's needed |
|
/trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/exec.h /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/input.h /trunk/uspace/app/bdsh/scli.h
|
3371 |
5833 d 10 h |
post |
/trunk/uspace/app/bdsh/ |
pwd should be a module, not a builtin |
|
/trunk/uspace/app/bdsh/cmds/modules/pwd /trunk/uspace/app/bdsh/cmds/modules/pwd/entry.h /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.def /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.h
/trunk/uspace/app/bdsh/cmds/builtins/pwd
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/builtins/builtins.h /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
3370 |
5833 d 16 h |
jermar |
/trunk/kernel/generic/ |
Synchronous IPC must be interruptible. |
|
/trunk/kernel/generic/include/errno.h /trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/ipc/sysipc.c
|
3369 |
5833 d 20 h |
decky |
/trunk/ |
configurable cross-compiler prefix (using CROSS_PREFIX) |
|
/trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia64/loader/Makefile /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/ppc64/loader/Makefile /trunk/contrib/toolchain/toolchain.amd64.sh /trunk/contrib/toolchain/toolchain.arm32.sh /trunk/contrib/toolchain/toolchain.ia32.sh /trunk/contrib/toolchain/toolchain.ia64.sh /trunk/contrib/toolchain/toolchain.mipseb32.sh /trunk/contrib/toolchain/toolchain.mipsel32.sh /trunk/contrib/toolchain/toolchain.ppc32.sh /trunk/contrib/toolchain/toolchain.ppc64.sh /trunk/kernel/arch/amd64/Makefile.inc /trunk/kernel/arch/arm32/Makefile.inc /trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia32xen/Makefile.inc /trunk/kernel/arch/ia64/Makefile.inc /trunk/kernel/arch/mips32/Makefile.inc /trunk/kernel/arch/ppc32/Makefile.inc /trunk/kernel/arch/ppc64/Makefile.inc /trunk/uspace/lib/libc/arch/amd64/Makefile.inc /trunk/uspace/lib/libc/arch/arm32/Makefile.inc /trunk/uspace/lib/libc/arch/ia32/Makefile.inc /trunk/uspace/lib/libc/arch/ia64/Makefile.inc /trunk/uspace/lib/libc/arch/mips32/Makefile.inc /trunk/uspace/lib/libc/arch/mips32eb/Makefile.inc /trunk/uspace/lib/libc/arch/ppc32/Makefile.inc /trunk/uspace/lib/libc/arch/ppc64/Makefile.inc
|
3368 |
5833 d 20 h |
decky |
/trunk/ |
configurable cross-compiler prefix (using CROSS_PREFIX) |
|
/trunk/boot/arch/sparc64/loader/Makefile /trunk/contrib/toolchain/toolchain.sparc64.sh /trunk/kernel/arch/sparc64/Makefile.inc /trunk/uspace/lib/libc/arch/sparc64/Makefile.inc
|
3367 |
5834 d 7 h |
post |
/trunk/uspace/app/bdsh/ |
Add a README to explain how things work |
|
/trunk/uspace/app/bdsh/README
|
3366 |
5834 d 7 h |
post |
/trunk/uspace/app/bdsh/ |
Housekeeping list, complete lingering things before they get forgotten:
* cli_*() now sets a global cli_errno, error functions cleaned up
* Finish internal cli_*() functions in util.c
* Don't expose cli_init() or cli_finit()
* Get rid of unused globals
* Don't set globals in commands themselves
* Update README files
* Fix stale comments |
|
/trunk/uspace/app/bdsh/cmds/builtins/README /trunk/uspace/app/bdsh/cmds/modules/README /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/quit/quit.c /trunk/uspace/app/bdsh/errors.c /trunk/uspace/app/bdsh/errors.h /trunk/uspace/app/bdsh/errstr.h /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/scli.c /trunk/uspace/app/bdsh/scli.h /trunk/uspace/app/bdsh/util.c
|
3364 |
5836 d 7 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Fix command description display, only command entry points need to be exposed. |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.h /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/help/help.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.def /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.def /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.def /trunk/uspace/app/bdsh/cmds/modules/rm/rm.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch.def
|
3363 |
5836 d 18 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Demasquerade the caller phone during ipc_answer_n() rather than in
ipc_wait_for_call(). |
|
/trunk/kernel/generic/src/ipc/ipc.c
|
3362 |
5836 d 18 h |
jermar |
/trunk/kernel/generic/ |
Fix processing of answers to forwarded masqueraded calls. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/ipc/ipcrsc.c /trunk/kernel/generic/src/main/kinit.c
|