# # ChangeLog for trunk # # Generated by Trac 1.2.3 # Dec 22, 2024, 5:20:30 AM Fri, 22 Dec 2017 12:16:59 GMT alain [415] * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/process.h (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) * trunk/kernel_config.h (modified) Few bugs. Wed, 20 Dec 2017 19:53:48 GMT alain [414] * trunk/user/ksh/ksh.ld (added) Introduce ksh.ld Wed, 20 Dec 2017 19:50:26 GMT alain [413] * trunk/libs/build (added) Introduce directory libs/build Wed, 20 Dec 2017 19:40:26 GMT alain [412] * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel_config.h (modified) * trunk/libs/malloc.c (added) * trunk/libs/malloc.h (added) * trunk/libs/nostdio.c (added) * trunk/libs/nostdio.h (added) * trunk/libs/pthread.c (added) * trunk/libs/pthread.h (added) * trunk/libs/stdio.c (added) * trunk/libs/stdio.h (added) * trunk/libs/stdlib.c (added) * trunk/libs/stdlib.h (added) * trunk/libs/string.c (added) * trunk/libs/string.h (added) * trunk/user/ksh/ksh.c (modified) Introduce user libraries Wed, 20 Dec 2017 19:30:23 GMT alain [411] * trunk/hal/generic/hal_vmm.h (added) * trunk/hal/tsar_mips32/core/hal_vmm.c (added) Introduce hal_vmm. Wed, 20 Dec 2017 19:26:42 GMT alain [410] * trunk/kernel/syscalls/shared_syscalls.h (added) * trunk/kernel/syscalls/sys_exit.c (added) * trunk/kernel/syscalls/sys_get_config.c (added) * trunk/kernel/syscalls/sys_get_core.c (added) * trunk/kernel/syscalls/sys_get_sched.c (added) * trunk/kernel/syscalls/sys_munmap.c (added) * trunk/kernel/syscalls/sys_panic.c (added) * trunk/kernel/syscalls/sys_thread_cancel.c (added) Introduce new syscalls. Wed, 20 Dec 2017 15:51:09 GMT alain [409] * trunk/Makefile.tsar (modified) * trunk/hal/generic/hal_ppm.h (modified) * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hal/tsar_mips32/core/hal_gpt.c (modified) * trunk/hal/tsar_mips32/core/hal_ppm.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/fs/vfs.c (modified) * trunk/kernel/fs/vfs.h (modified) * trunk/kernel/kern/cluster.c (modified) * trunk/kernel/kern/cluster.h (modified) * trunk/kernel/kern/core.c (modified) * trunk/kernel/kern/core.h (modified) * trunk/kernel/kern/do_syscall.c (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/process.h (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/rpc.h (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/kern/scheduler.h (modified) * trunk/kernel/kern/signal.c (modified) * trunk/kernel/kern/signal.h (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/kern/thread.h (modified) * trunk/kernel/libk/remote_rwlock.c (modified) * trunk/kernel/libk/remote_rwlock.h (modified) * trunk/kernel/libk/remote_spinlock.c (modified) * trunk/kernel/libk/remote_spinlock.h (modified) * trunk/kernel/libk/rwlock.c (modified) * trunk/kernel/libk/rwlock.h (modified) * trunk/kernel/libk/spinlock.c (modified) * trunk/kernel/libk/spinlock.h (modified) * trunk/kernel/mm/ppm.h (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) * trunk/kernel/mm/vseg.h (modified) * trunk/kernel/syscalls/sys_fork.c (modified) * trunk/kernel/syscalls/sys_kill.c (modified) * trunk/kernel/syscalls/sys_read.c (modified) * trunk/kernel/syscalls/sys_signal.c (modified) * trunk/kernel/syscalls/sys_thread_exit.c (modified) * trunk/kernel/syscalls/sys_thread_join.c (modified) * trunk/kernel/syscalls/sys_write.c (modified) * trunk/kernel/syscalls/syscalls.h (modified) * trunk/kernel_config.h (modified) * trunk/user/ksh/ksh.c (modified) Fix bugs in exec Tue, 05 Dec 2017 15:20:07 GMT alain [408] * trunk/Makefile.tsar (modified) * trunk/hal/generic/hal_atomic.h (modified) * trunk/hal/generic/hal_context.h (modified) * trunk/hal/generic/hal_exception.h (modified) * trunk/hal/generic/hal_gpt.h (modified) * trunk/hal/generic/hal_interrupt.h (modified) * trunk/hal/generic/hal_special.h (modified) * trunk/hal/generic/hal_switch.h (modified) * trunk/hal/generic/hal_syscall.h (modified) * trunk/hal/tsar_mips32/core/hal_context.c (modified) * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hal/tsar_mips32/core/hal_gpt.c (modified) * trunk/hal/tsar_mips32/core/hal_interrupt.c (modified) * trunk/hal/tsar_mips32/core/hal_kentry.S (modified) * trunk/hal/tsar_mips32/core/hal_kentry.h (modified) * trunk/hal/tsar_mips32/core/hal_switch.S (modified) * trunk/hal/tsar_mips32/core/hal_syscall.c (modified) * trunk/hal/tsar_mips32/core/hal_types.h (modified) * trunk/hal/tsar_mips32/drivers/soclib_bdv.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_dma.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_hba.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_tty.c (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_dma.c (modified) * trunk/kernel/devices/dev_fbf.c (modified) * trunk/kernel/devices/dev_ioc.c (modified) * trunk/kernel/devices/dev_nic.c (modified) * trunk/kernel/devices/dev_txt.c (modified) * trunk/kernel/fs/vfs.c (modified) * trunk/kernel/kern/chdev.c (modified) * trunk/kernel/kern/cluster.c (modified) * trunk/kernel/kern/cluster.h (modified) * trunk/kernel/kern/core.c (modified) * trunk/kernel/kern/do_syscall.c (modified) * trunk/kernel/kern/do_syscall.h (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/printk.c (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/process.h (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/rpc.h (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/kern/scheduler.h (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/kern/thread.h (modified) * trunk/kernel/libk/remote_barrier.c (modified) * trunk/kernel/libk/remote_condvar.c (modified) * trunk/kernel/libk/remote_fifo.c (modified) * trunk/kernel/libk/remote_mutex.c (modified) * trunk/kernel/libk/remote_sem.c (modified) * trunk/kernel/libk/remote_spinlock.c (modified) * trunk/kernel/libk/spinlock.c (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/mm/page.c (modified) * trunk/kernel/mm/page.h (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) * trunk/kernel/mm/vseg.c (modified) * trunk/kernel/mm/vseg.h (modified) * trunk/kernel/syscalls/sys_exec.c (modified) * trunk/kernel/syscalls/sys_fork.c (modified) * trunk/kernel/syscalls/sys_get_cycle.c (modified) * trunk/kernel/syscalls/sys_read.c (modified) * trunk/kernel/syscalls/sys_signal.c (modified) * trunk/kernel/syscalls/sys_thread_exit.c (modified) * trunk/kernel/syscalls/sys_thread_join.c (modified) * trunk/kernel/syscalls/sys_thread_sleep.c (modified) * trunk/kernel/syscalls/sys_thread_yield.c (modified) * trunk/kernel/syscalls/sys_write.c (modified) * trunk/kernel/syscalls/syscalls.h (modified) * trunk/kernel_config.h (modified) * trunk/user/ksh/ksh.c (modified) Fix several bugs in the fork() syscall. Tue, 07 Nov 2017 14:08:12 GMT alain [407] * trunk/Makefile.tsar (modified) * trunk/hal/generic/hal_context.h (modified) * trunk/hal/generic/hal_gpt.h (modified) * trunk/hal/generic/hal_ppm.h (modified) * trunk/hal/generic/hal_remote.h (modified) * trunk/hal/generic/hal_special.h (modified) * trunk/hal/generic/hal_switch.h (moved) * trunk/hal/generic/hal_syscall.h (copied) * trunk/hal/generic/hal_user.h (added) * trunk/hal/generic/hal_uspace.h (modified) * trunk/hal/tsar_mips32/core/hal_context.c (modified) * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hal/tsar_mips32/core/hal_gpt.c (modified) * trunk/hal/tsar_mips32/core/hal_interrupt.c (modified) * trunk/hal/tsar_mips32/core/hal_kentry.S (modified) * trunk/hal/tsar_mips32/core/hal_kentry.h (modified) * trunk/hal/tsar_mips32/core/hal_ppm.c (modified) * trunk/hal/tsar_mips32/core/hal_special.c (modified) * trunk/hal/tsar_mips32/core/hal_switch.S (modified) * trunk/hal/tsar_mips32/core/hal_syscall.c (copied) * trunk/hal/tsar_mips32/core/hal_types.h (modified) * trunk/hal/tsar_mips32/core/hal_user.c (added) * trunk/hal/tsar_mips32/core/hal_uspace.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_bdv.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_dma.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_hba.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_pic.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_pic.h (modified) * trunk/hal/tsar_mips32/drivers/soclib_tty.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_tty.h (modified) * trunk/hal/x86_64/core/hal_ppm.c (modified) * trunk/hal/x86_64/core/hal_types.h (modified) * trunk/hal/x86_64/core/hal_uspace.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_dma.c (modified) * trunk/kernel/devices/dev_fbf.c (modified) * trunk/kernel/devices/dev_ioc.c (modified) * trunk/kernel/devices/dev_mmc.c (modified) * trunk/kernel/devices/dev_nic.c (modified) * trunk/kernel/devices/dev_nic.h (modified) * trunk/kernel/devices/dev_pic.c (modified) * trunk/kernel/devices/dev_pic.h (modified) * trunk/kernel/devices/dev_txt.c (modified) * trunk/kernel/devices/dev_txt.h (modified) * trunk/kernel/fs (moved) * trunk/kernel/fs/devfs.c (copied) * trunk/kernel/fs/devfs.h (modified) * trunk/kernel/fs/fatfs.c (copied) * trunk/kernel/fs/fatfs.h (copied) * trunk/kernel/fs/vfs.c (copied) * trunk/kernel/fs/vfs.h (modified) * trunk/kernel/kern/chdev.c (modified) * trunk/kernel/kern/chdev.h (modified) * trunk/kernel/kern/cluster.c (modified) * trunk/kernel/kern/cluster.h (modified) * trunk/kernel/kern/core.c (modified) * trunk/kernel/kern/do_exec.c (deleted) * trunk/kernel/kern/do_syscall.c (modified) * trunk/kernel/kern/do_syscall.h (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/printk.c (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/process.h (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/rpc.h (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/kern/scheduler.h (modified) * trunk/kernel/kern/signal.c (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/kern/thread.h (modified) * trunk/kernel/kern/time.h (deleted) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/libk/remote_barrier.c (modified) * trunk/kernel/libk/remote_condvar.c (modified) * trunk/kernel/libk/remote_fifo.c (modified) * trunk/kernel/libk/remote_fifo.h (modified) * trunk/kernel/libk/remote_mutex.c (modified) * trunk/kernel/libk/remote_sem.c (modified) * trunk/kernel/libk/remote_spinlock.c (modified) * trunk/kernel/libk/spinlock.c (modified) * trunk/kernel/mm/kcm.c (modified) * trunk/kernel/mm/kmem.c (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/mm/mapper.h (modified) * trunk/kernel/mm/page.c (modified) * trunk/kernel/mm/page.h (modified) * trunk/kernel/mm/ppm.c (modified) * trunk/kernel/mm/ppm.h (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) * trunk/kernel/mm/vseg.c (modified) * trunk/kernel/mm/vseg.h (modified) * trunk/kernel/syscalls/sys_chdir.c (modified) * trunk/kernel/syscalls/sys_chmod.c (modified) * trunk/kernel/syscalls/sys_closedir.c (modified) * trunk/kernel/syscalls/sys_creat.c (modified) * trunk/kernel/syscalls/sys_exec.c (modified) * trunk/kernel/syscalls/sys_fork.c (modified) * trunk/kernel/syscalls/sys_get_cycle.c (moved) * trunk/kernel/syscalls/sys_mkdir.c (modified) * trunk/kernel/syscalls/sys_mkfifo.c (modified) * trunk/kernel/syscalls/sys_mmap.c (modified) * trunk/kernel/syscalls/sys_open.c (modified) * trunk/kernel/syscalls/sys_opendir.c (modified) * trunk/kernel/syscalls/sys_pipe.c (modified) * trunk/kernel/syscalls/sys_read.c (modified) * trunk/kernel/syscalls/sys_readdir.c (modified) * trunk/kernel/syscalls/sys_rmdir.c (modified) * trunk/kernel/syscalls/sys_signal.c (modified) * trunk/kernel/syscalls/sys_stat.c (modified) * trunk/kernel/syscalls/sys_thread_create.c (modified) * trunk/kernel/syscalls/sys_thread_exit.c (modified) * trunk/kernel/syscalls/sys_thread_join.c (modified) * trunk/kernel/syscalls/sys_thread_sleep.c (modified) * trunk/kernel/syscalls/sys_thread_yield.c (modified) * trunk/kernel/syscalls/sys_timeofday.c (modified) * trunk/kernel/syscalls/sys_trace.c (modified) * trunk/kernel/syscalls/sys_unlink.c (modified) * trunk/kernel/syscalls/sys_write.c (modified) * trunk/kernel/syscalls/syscalls.h (modified) * trunk/kernel_config.h (modified) * trunk/libs (added) * trunk/tools/bootloader_tsar/boot.c (modified) * trunk/user/ksh/Makefile (modified) * trunk/user/ksh/ksh.c (modified) First implementation of fork/exec. Tue, 29 Aug 2017 10:03:37 GMT alain [406] * trunk/hal/generic/hal_gpt.h (modified) * trunk/hal/tsar_mips32/core/hal_context.c (modified) * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hal/tsar_mips32/core/hal_gpt.c (modified) * trunk/hal/tsar_mips32/core/hal_interrupt.c (modified) * trunk/hal/tsar_mips32/core/hal_kentry.S (modified) * trunk/hal/tsar_mips32/core/hal_kentry.h (modified) * trunk/hal/tsar_mips32/core/hal_special.c (modified) * trunk/hal/tsar_mips32/core/hal_switch.S (modified) * trunk/hal/tsar_mips32/core/hal_syscall.c (modified) * trunk/hal/tsar_mips32/core/mips32_context.h (deleted) * trunk/hal/tsar_mips32/core/mips32_uzone.h (deleted) * trunk/hal/tsar_mips32/drivers/soclib_pic.c (modified) * trunk/hal/tsar_mips32/kernel.ld (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_dma.c (modified) * trunk/kernel/devices/dev_fbf.c (modified) * trunk/kernel/devices/dev_ioc.c (modified) * trunk/kernel/devices/dev_mmc.c (modified) * trunk/kernel/devices/dev_nic.c (modified) * trunk/kernel/devices/dev_pic.c (modified) * trunk/kernel/devices/dev_pic.h (modified) * trunk/kernel/devices/dev_txt.c (modified) * trunk/kernel/kern/cluster.c (modified) * trunk/kernel/kern/core.c (modified) * trunk/kernel/kern/do_syscall.c (modified) * trunk/kernel/kern/dqdt.c (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/printk.c (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/kern/signal.c (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/kern/thread.h (modified) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/libk/grdxt.c (modified) * trunk/kernel/libk/grdxt.h (modified) * trunk/kernel/mm/kcm.c (modified) * trunk/kernel/mm/kmem.c (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/mm/ppm.c (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) * trunk/kernel/mm/vseg.c (modified) * trunk/kernel/mm/vseg.h (modified) * trunk/kernel/syscalls/sys_exec.c (modified) * trunk/kernel/syscalls/sys_fork.c (modified) * trunk/kernel/syscalls/sys_signal.c (modified) * trunk/kernel/syscalls/sys_thread_create.c (modified) * trunk/kernel/syscalls/sys_thread_sleep.c (modified) * trunk/kernel/syscalls/sys_trace.c (modified) * trunk/kernel/vfs/devfs.c (modified) * trunk/kernel/vfs/fatfs.c (modified) * trunk/kernel/vfs/fatfs.h (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel_config.h (modified) This version executed successfully the user "init" process on a mono- ... Mon, 21 Aug 2017 09:54:52 GMT max@… [405] * trunk/hal/x86_64/core/hal_gpt.c (modified) Remove XXX, it's fine. Thu, 17 Aug 2017 13:25:51 GMT max@… [404] * trunk/hal/x86_64/drivers/pic_apic.c (modified) Explain a bit. Thu, 17 Aug 2017 13:09:39 GMT max@… [403] * trunk/hal/x86_64/core/hal_exception.c (modified) Sync with TSAR. Thu, 17 Aug 2017 13:09:15 GMT max@… [402] * trunk/hal/generic/hal_gpt.h (modified) Mmh, refix this bug (mistakenly reverted by alain). Thu, 17 Aug 2017 13:02:18 GMT alain [401] * trunk/hal/generic/hal_gpt.h (modified) * trunk/hal/generic/hal_special.h (modified) * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hal/tsar_mips32/core/hal_gpt.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_ioc.c (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/rpc.h (modified) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) * trunk/kernel/vfs/fatfs.c (modified) * trunk/kernel/vfs/fatfs.h (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel_config.h (modified) * trunk/params.mk (modified) * trunk/tools/bootloader_tsar/boot.c (modified) Few bugs in VMM Thu, 17 Aug 2017 09:50:51 GMT alain [400] * trunk/kernel/mm/vmm.c (modified) cosmetic bis Thu, 17 Aug 2017 09:48:49 GMT alain [399] * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) cosmetic Thu, 17 Aug 2017 09:35:27 GMT max@… [398] * trunk/kernel/kern/kernel_init.c (modified) Wrong value in the timer. Thu, 17 Aug 2017 09:26:00 GMT max@… [397] * trunk/hal/x86_64/core/hal_gpt.c (modified) Use panic(). Thu, 17 Aug 2017 09:24:20 GMT max@… [396] * trunk/kernel/libk/grdxt.c (modified) * trunk/kernel/libk/htab.c (modified) * trunk/kernel/libk/xhtab.c (modified) Use panic(). Thu, 17 Aug 2017 09:20:49 GMT max@… [395] * trunk/kernel/vfs/vfs.c (modified) Use panic(). Thu, 17 Aug 2017 09:06:38 GMT max@… [394] * trunk/kernel/mm/kmem.c (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) * trunk/kernel/mm/vseg.c (modified) Make it compile again, and use panic(). Not sure it is what Alain ... Thu, 17 Aug 2017 09:02:42 GMT max@… [393] * trunk/kernel/kern/kernel_init.c (modified) Use panic(). Wed, 16 Aug 2017 13:35:40 GMT max@… [392] * trunk/hal/x86_64/core/hal_exception.c (modified) Start handling page faults. Not tested. Wed, 16 Aug 2017 13:27:05 GMT alain [391] * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hal/tsar_mips32/core/hal_gpt.c (modified) Simplify the hal_mmu_exception() function. Wed, 16 Aug 2017 12:57:33 GMT alain [390] * trunk/kernel/mm/vmm.c (modified) RPC_VMM_GET_REF_VSEG renamed to RPC_VMM_GET_VSEG Wed, 16 Aug 2017 12:54:04 GMT alain [389] * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/rpc.h (modified) Update the RPC_VMM_GET_VSEG. Wed, 16 Aug 2017 12:33:17 GMT alain [388] * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vmm.h (modified) * trunk/kernel/mm/vseg.h (modified) Change the vmm_get_vseg() function to access the reference cluster ... Wed, 16 Aug 2017 12:11:11 GMT max@… [387] * trunk/hal/x86_64/core/hal_kentry.S (modified) Handle the return from exception. Wed, 16 Aug 2017 12:09:16 GMT max@… [386] * trunk/hal/x86_64/core/hal_boot.h (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) Implement several GPT functions. Wed, 16 Aug 2017 12:03:30 GMT max@… [385] * trunk/kernel/mm/vmm.c (modified) Remove redundant (and buggy) code. Wed, 16 Aug 2017 11:34:30 GMT max@… [384] * trunk/hal/generic/hal_gpt.h (modified) Fix a pretty dumb mistake I made in my last commit. Wed, 16 Aug 2017 09:13:27 GMT max@… [383] * trunk/hal/generic/hal_gpt.h (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) Use constant flags. Wed, 16 Aug 2017 09:07:57 GMT max@… [382] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/core/hal_exception.c (modified) Sync with TSAR. Mon, 14 Aug 2017 17:33:59 GMT alain [381] * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/kernel_init.c (modified) Add missing defines in the TSAR exception handler. Mon, 14 Aug 2017 16:31:25 GMT alain [380] * trunk/Makefile.tsar (modified) * trunk/hal/generic/hal_exception.h (modified) * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_pic.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_pic.h (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/core.c (modified) * trunk/kernel/kern/do_exception.c (deleted) * trunk/kernel/kern/do_exception.h (deleted) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel_config.h (modified) Remove the generic kernel/kern/do_exception files to handle ... Mon, 14 Aug 2017 14:00:25 GMT max@… [379] * trunk/kernel/kern/interrupt.h (deleted) Remove another vestige. Mon, 14 Aug 2017 13:57:33 GMT max@… [378] * trunk/kernel/kern/kdmsg.h (deleted) Remove misleading vestige. Mon, 14 Aug 2017 13:55:01 GMT max@… [377] * trunk/kernel/kern/rt_timer.h (deleted) * trunk/kernel/kern/sysconf.h (deleted) Remove vestiges. Mon, 14 Aug 2017 12:56:45 GMT max@… [376] * trunk/kernel/kern/blkio.c (deleted) * trunk/kernel/kern/blkio.h (deleted) * trunk/kernel/kern/event.c (deleted) * trunk/kernel/kern/event.h (deleted) Remove vestiges. Mon, 14 Aug 2017 12:53:59 GMT max@… [375] * trunk/kernel/kern/do_syscall.c (modified) Use panic(). Mon, 14 Aug 2017 12:51:39 GMT max@… [374] * trunk/kernel/kern/cluster.c (modified) * trunk/kernel/kern/dqdt.c (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/kern/thread.c (modified) Use panic(). Mon, 14 Aug 2017 12:43:27 GMT max@… [373] * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/thread.c (modified) Start using panic(). Mon, 14 Aug 2017 12:40:49 GMT max@… [372] * trunk/kernel/kern/printk.c (modified) * trunk/kernel/kern/printk.h (modified) Add a panic function. Mon, 14 Aug 2017 11:03:39 GMT max@… [371] * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_special.c (modified) Treat user/kern exceptions differently. Mon, 14 Aug 2017 10:58:19 GMT max@… [370] * trunk/hal/x86_64/core/hal_irqmask.c (modified) Old can be NULL. Mon, 14 Aug 2017 10:36:52 GMT max@… [369] * trunk/kernel/kern/do_exception.c (modified) style Mon, 14 Aug 2017 10:32:08 GMT max@… [368] * trunk/hal/x86_64/core/hal_boot.S (modified) * trunk/hal/x86_64/core/hal_context.c (modified) * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/core/hal_smpboot.S (modified) * trunk/hal/x86_64/core/hal_special.c (modified) Switch the VM space, and explicitly disable the FPU. Mon, 14 Aug 2017 09:39:03 GMT alain [367] * trunk/hal/tsar_mips32/core/hal_switch.S (added) * trunk/hal/tsar_mips32/core/hal_switch.h (added) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/core.c (modified) * trunk/kernel/kern/core.h (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/kern/thread.h (modified) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/vfs/fatfs.c (modified) * trunk/kernel/vfs/fatfs.h (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel_config.h (modified) Change Time unit from cycle to TICK (in millisecond). Fix several ... Thu, 10 Aug 2017 09:51:52 GMT max@… [366] * trunk/Makefile.tsar (moved) Rename to Makefile.tsar. Thu, 10 Aug 2017 09:48:01 GMT max@… [365] * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_init.c (modified) Remove debug function. Thu, 10 Aug 2017 09:45:50 GMT max@… [364] * trunk/Makefile.x86 (modified) Don't include params.mk. Thu, 10 Aug 2017 09:43:45 GMT max@… [363] * trunk/kernel/libk/utils.h (deleted) Remove vestige. Thu, 10 Aug 2017 09:41:43 GMT max@… [362] * trunk/kernel/kern/sysconf.c (deleted) * trunk/kernel/libk/sprintk.c (deleted) Remove vestiges. Thu, 10 Aug 2017 09:30:53 GMT max@… [361] * trunk/hal/x86_64/core/hal_context.c (modified) Pass the function argument to the new thread. Thu, 10 Aug 2017 09:26:58 GMT max@… [360] * trunk/hal/x86_64/core/hal_context.c (modified) Add a panic, for now we are only switching between kernel threads. Thu, 10 Aug 2017 09:21:32 GMT max@… [359] * trunk/hal/x86_64/core/hal_context.c (modified) * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_kentry.h (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) Synchronize tls_intr between context switches. Wed, 09 Aug 2017 08:59:42 GMT max@… [358] * trunk/Makefile (modified) Don't dump the kernel components on TSAR. Wed, 09 Aug 2017 08:57:34 GMT max@… [357] * trunk/kernel/kern/sys-vfs.h (deleted) Remove vestige. Wed, 09 Aug 2017 08:56:19 GMT max@… [356] * trunk/kernel/kern/cpu-trace.h (deleted) Remove vestige. Wed, 09 Aug 2017 08:55:35 GMT max@… [355] * trunk/kernel/kern/event.c (modified) Remove unused include. Wed, 09 Aug 2017 08:52:25 GMT max@… [354] * trunk/kernel/kern/kcond_var.h (deleted) Remove vestige. Wed, 09 Aug 2017 08:50:34 GMT max@… [353] * trunk/kernel/kern/do_exec.c (modified) Don't include sys-vfs.h. Wed, 09 Aug 2017 08:46:05 GMT max@… [352] * trunk/kernel/mm/kcm.c (modified) Don't compute kcm_page twice. Wed, 09 Aug 2017 08:42:08 GMT max@… [351] * trunk/kernel/libk/bits.c (modified) Simplify bizarre thing. Wed, 09 Aug 2017 08:37:48 GMT max@… [350] * trunk/kernel/kern/kthread_create.c (deleted) Remove vestige. Wed, 09 Aug 2017 08:35:01 GMT max@… [349] * trunk/hal/x86_64/drivers/pic_apic.c (modified) Remove unused. Wed, 09 Aug 2017 08:34:36 GMT max@… [348] * trunk/hal/x86_64/core/hal_acpi.c (modified) We don't support irqbase != 0. Wed, 09 Aug 2017 08:26:03 GMT max@… [347] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/drivers/soclib_iob.c (deleted) * trunk/hal/x86_64/drivers/soclib_iob.h (deleted) * trunk/hdd/virt_hdd.dmg (modified) Remove soclib_iob on x86. Wed, 09 Aug 2017 08:24:06 GMT max@… [346] * trunk/hal/generic/hal_drivers.h (modified) * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_iob.c (modified) * trunk/kernel/devices/dev_iob.h (modified) * trunk/kernel/kern/chdev.h (modified) Hide soclib_iob. Tue, 08 Aug 2017 09:28:39 GMT max@… [345] * trunk/hal/x86_64/core/hal_init.c (modified) Initialize rsp0 (in both the TSS and the TLS). Tue, 08 Aug 2017 09:27:12 GMT max@… [344] * trunk/hal/x86_64/core/hal_interrupt.c (modified) Call core_clock - the computation in this function still needs to be ... Tue, 08 Aug 2017 09:19:59 GMT max@… [343] * trunk/hal/x86_64/core/hal_cpu.S (modified) Mmh, skip tf_trapno and tf_err for iretq. Tue, 08 Aug 2017 09:17:28 GMT max@… [342] * trunk/hal/x86_64/core/hal_context.c (modified) Initialize tf_ss, and don't forget to update tls_thr. Tue, 08 Aug 2017 09:12:11 GMT max@… [341] * trunk/hal/x86_64/core/hal_kentry.S (modified) Set %eoi earlier for rescheduling interrupts, otherwise the timer ... Mon, 07 Aug 2017 13:19:11 GMT max@… [340] * trunk/hal/x86_64/core/hal_interrupt.c (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) Remove debug code - it's useless anyway. Mon, 07 Aug 2017 13:11:45 GMT max@… [339] * trunk/hal/x86_64/core/hal_context.c (modified) * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/core/hal_kentry.h (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) Add support for context switch - not tested yet, due to some other ... Mon, 07 Aug 2017 11:33:12 GMT max@… [338] * trunk/kernel/kern/thread.c (modified) Not sure what Alain meant to do, but disable this for now. Mon, 07 Aug 2017 10:50:17 GMT alain [337] * trunk/hal/generic/hal_context.h (modified) * trunk/hal/tsar_mips32/core/hal_interrupt.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_pic.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_pic.c (modified) * trunk/kernel/kern/core.c (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/printk.c (modified) * trunk/kernel/kern/printk.h (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/kern/thread.h (modified) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/libk/remote_rwlock.c (modified) * trunk/kernel/libk/remote_spinlock.c (modified) * trunk/kernel/libk/rwlock.c (modified) * trunk/kernel/libk/spinlock.c (modified) * trunk/kernel/libk/string.c (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel_config.h (modified) * trunk/tools/bootloader_tsar/boot.c (modified) Introduce the delayed context switch if current thread has a lock. Mon, 07 Aug 2017 09:22:15 GMT max@… [336] * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_interrupt.c (modified) * trunk/hal/x86_64/core/hal_irqmask.c (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) * trunk/hal/x86_64/core/hal_special.c (modified) Rename curcpu -> curtls. Mon, 07 Aug 2017 09:19:27 GMT max@… [335] * trunk/hal/x86_64/core/hal_context.c (modified) * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_interrupt.c (modified) * trunk/hal/x86_64/core/hal_kentry.h (modified) * trunk/hal/x86_64/drivers/ioc_ata.c (modified) Separate the CPU context from the trap frame. Mon, 07 Aug 2017 08:17:26 GMT max@… [334] * trunk/kernel/mm/mapper.c (modified) Undefined variables. Mon, 07 Aug 2017 08:11:25 GMT max@… [333] * trunk/kernel/libk/elf.c (modified) * trunk/kernel/vfs/vfs.c (modified) vfs_user_move() returns an error_t, so don't return a count. Mon, 07 Aug 2017 08:06:31 GMT max@… [332] * trunk/kernel/libk/elf.c (modified) vfs_kernel_move() return error_t, not a count. Mon, 07 Aug 2017 08:06:03 GMT max@… [331] * trunk/kernel/libk/spinlock.c (modified) style Mon, 07 Aug 2017 08:05:40 GMT max@… [330] * trunk/kernel/mm/mapper.c (modified) style Mon, 07 Aug 2017 07:03:02 GMT max@… [329] * trunk/hal/x86_64/core/hal_smpboot.S (modified) Initialize %rbp. Mon, 07 Aug 2017 06:52:53 GMT max@… [328] * trunk/kernel/libk/elf.c (modified) Use vfs_kernel_move(), it's a kernel buffer. Sun, 06 Aug 2017 17:58:22 GMT max@… [327] * trunk/hal/x86_64/core/hal_apic.c (modified) Clean up, and fix several SMP-related issues. The LAPIC timer is ... Sun, 06 Aug 2017 08:19:16 GMT max@… [326] * trunk/kernel/kern/process.c (modified) This shouldn't be a remote load. Sun, 06 Aug 2017 06:38:47 GMT max@… [325] * trunk/kernel/kern/do_exception.c (modified) Unused variable. Sun, 06 Aug 2017 06:36:33 GMT max@… [324] * trunk/kernel/kern/process.c (modified) The process xptr is already local, so no need to do a remote load. Sun, 06 Aug 2017 06:33:00 GMT max@… [323] * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/kernel/libk/string.c (modified) * trunk/kernel/libk/string.h (modified) Clean up, and define strstr() in libk. Sun, 06 Aug 2017 06:20:53 GMT max@… [322] * trunk/hal/x86_64/drivers/ioc_ata.c (modified) Clean up. Sun, 06 Aug 2017 06:13:50 GMT max@… [321] * trunk/hal/x86_64/drivers/txt_rs232.c (modified) We don't care about the base. Sun, 06 Aug 2017 06:10:37 GMT max@… [320] * trunk/hal/x86_64/core/hal_types.h (modified) Remove unused. Sun, 06 Aug 2017 06:00:24 GMT max@… [319] * trunk/hal/x86_64/core/hal_gpt.c (modified) Don't forget to unmap the region below the kernel. Useful to detect ... Fri, 04 Aug 2017 14:22:27 GMT alain [318] * trunk/kernel/libk/remote_rwlock.c (modified) Bug fix : we don't need an atomic access to update the ... Fri, 04 Aug 2017 12:03:44 GMT alain [317] * trunk/Makefile (modified) * trunk/hal/tsar_mips32/core/hal_context.c (modified) * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/chdev.c (modified) * trunk/kernel/kern/chdev.h (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel/vfs/vfs.h (modified) * trunk/kernel_config.h (modified) 1) Introduce the TSAR hal_cpu_context_switch() function. 2) ... Thu, 03 Aug 2017 10:01:19 GMT max@… [316] * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hal/x86_64/core/hal_types.h (modified) Synchronize with Alain's changes. Still several issues.