# # ChangeLog for trunk/hal # # Generated by Trac 1.2.3 # Dec 21, 2024, 5:33:25 PM 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 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: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: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: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: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 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 07:03:02 GMT max@… [329] * trunk/hal/x86_64/core/hal_smpboot.S (modified) Initialize %rbp. 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 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 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. Thu, 03 Aug 2017 08:15:18 GMT alain [315] * trunk/hal/generic/hal_gpt.h (modified) * trunk/hal/generic/hal_ppm.h (modified) * trunk/hal/tsar_mips32/core/hal_gpt.c (modified) * trunk/hal/tsar_mips32/core/hal_ppm.c (modified) * trunk/hal/tsar_mips32/core/hal_types.h (modified) * trunk/hal/tsar_mips32/core/hal_uspace.c (modified) * trunk/hal/x86_64/core/hal_types.h (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/mm/kcm.c (modified) * trunk/kernel/mm/khm.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/vseg.c (modified) * trunk/kernel/mm/vseg.h (modified) * trunk/kernel/syscalls/sys_exec.c (modified) * trunk/kernel/syscalls/sys_write.c (modified) * trunk/kernel/vfs/fatfs.c (modified) * trunk/kernel/vfs/vfs.c (modified) Redefine the fuctions ppm_base2page() / ppm_page2base() / ... Wed, 02 Aug 2017 13:28:20 GMT max@… [314] * trunk/hal/x86_64/core/hal_remote.c (modified) Add hal_remote_memset. Wed, 02 Aug 2017 13:24:57 GMT alain [313] * trunk/hal/generic/hal_gpt.h (modified) * trunk/hal/generic/hal_ppm.h (modified) * trunk/hal/generic/hal_remote.h (modified) * trunk/hal/tsar_mips32/core/hal_ppm.c (modified) * trunk/hal/tsar_mips32/core/hal_remote.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/rpc.h (modified) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/mm/mapper.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.h (modified) * trunk/kernel/syscalls/sys_read.c (modified) * trunk/kernel/syscalls/sys_write.c (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel/vfs/vfs.h (modified) RSeveral modifs in the page-fault handling. Wed, 02 Aug 2017 12:36:58 GMT max@… [312] * trunk/hal/x86_64/core/hal_boot.S (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_multiboot.h (modified) Add a --no-smp option. Wed, 02 Aug 2017 12:17:00 GMT max@… [311] * trunk/hal/generic/hal_context.h (modified) * trunk/hal/tsar_mips32/core/hal_context.c (modified) * trunk/hal/x86_64/core/hal_context.c (modified) * trunk/kernel/kern/scheduler.c (modified) Introduce hal_cpu_context_switch. Tue, 01 Aug 2017 08:44:43 GMT max@… [310] * trunk/hal/x86_64/core/hal_init.c (modified) Use pause(). Tue, 01 Aug 2017 08:37:06 GMT max@… [309] * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/core/hal_special.c (modified) Add clts/stts. Tue, 01 Aug 2017 08:30:39 GMT max@… [308] * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_kentry.S (modified) * trunk/hal/x86_64/core/hal_kentry.h (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) Add a basic syscall entry. Tue, 01 Aug 2017 08:29:27 GMT max@… [307] * trunk/hal/x86_64/core/hal_ppm.c (modified) Forgot to commit this yesterday. Mon, 31 Jul 2017 12:28:19 GMT max@… [300] * trunk/hal/tsar_mips32/core/hal_uspace.c (modified) Passably handle everything in the function itself. Mon, 31 Jul 2017 12:19:12 GMT max@… [299] * trunk/hal/generic/hal_uspace.h (modified) * trunk/hal/tsar_mips32/core/hal_uspace.c (modified) * trunk/hal/x86_64/core/hal_uspace.c (modified) The uspace strcpy function is allowed to fail (not implemented yet). Mon, 31 Jul 2017 12:10:39 GMT max@… [298] * trunk/hal/x86_64/core/hal_context.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) Sync with TSAR. Mon, 31 Jul 2017 11:59:52 GMT alain [296] * trunk/hal/generic/hal_context.h (modified) * trunk/hal/generic/hal_ppm.h (modified) * trunk/hal/generic/hal_special.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_kentry.S (modified) * trunk/hal/tsar_mips32/core/hal_ppm.c (modified) * trunk/hal/tsar_mips32/core/hal_remote.c (modified) * trunk/hal/tsar_mips32/core/hal_special.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_tty.c (modified) * trunk/hal/tsar_mips32/kernel.ld (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_dma.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/kern/chdev.c (modified) * trunk/kernel/kern/cluster.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/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/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/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/vfs/vfs.c (modified) * trunk/kernel/vfs/vfs.h (modified) * trunk/kernel_config.h (modified) * trunk/tools/arch_info/boot_info.h (modified) * trunk/tools/bootloader_tsar/boot.c (modified) * trunk/tools/bootloader_tsar/boot_config.h (modified) * trunk/tools/bootloader_tsar/boot_entry.S (modified) Several modifs in the generic scheduler and in the hal_context to ... Mon, 31 Jul 2017 10:53:13 GMT max@… [293] * trunk/hal/x86_64/core/hal_init.c (modified) Fix previous. Still don't know where the race comes from... Mon, 31 Jul 2017 08:16:33 GMT max@… [292] * trunk/hal/x86_64/core/hal_init.c (modified) Use different stacks for NMIs and Double Faults. Thu, 27 Jul 2017 14:50:14 GMT max@… [291] * trunk/hal/tsar_mips32/drivers/soclib_xcu.c (deleted) * trunk/hal/tsar_mips32/drivers/soclib_xcu.h (deleted) Remove soclib_xcu. Thu, 27 Jul 2017 14:47:05 GMT max@… [290] * trunk/hal/x86_64/core/hal_internal.h (modified) Define prototype. Thu, 27 Jul 2017 13:29:48 GMT max@… [285] * trunk/hal/tsar_mips32/core/hal_irqmask.c (modified) * trunk/hal/x86_64/core/hal_irqmask.c (modified) * trunk/kernel/kern/kernel_init.c (modified) Must be reg_t. Thu, 27 Jul 2017 09:22:39 GMT max@… [283] * trunk/hal/x86_64/core/hal_init.c (modified) horror Thu, 27 Jul 2017 08:21:51 GMT max@… [280] * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hal/x86_64/drivers/ioc_ata.c (modified) * trunk/hal/x86_64/drivers/pic_apic.c (modified) * trunk/hal/x86_64/drivers/pic_apic.h (modified) * trunk/hal/x86_64/drivers/txt_rs232.c (modified) sync Wed, 26 Jul 2017 22:23:29 GMT alain [279] * trunk/hal/generic/hal_irqmask.h (modified) * trunk/hal/generic/hal_special.h (modified) * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hal/tsar_mips32/core/hal_interrupt.c (modified) * trunk/hal/tsar_mips32/core/hal_irqmask.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_remote.c (modified) * trunk/hal/tsar_mips32/core/hal_special.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_mmc.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_nic.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/kernel.ld (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_iob.h (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/chdev.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/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/rpc.h (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/kern/scheduler.h (modified) * trunk/kernel/kern/thread.h (modified) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/libk/remote_fifo.c (modified) * trunk/kernel/libk/remote_fifo.h (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/syscalls/syscalls.h (modified) * trunk/kernel/vfs/devfs.c (modified) * trunk/kernel/vfs/fatfs.c (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel_config.h (modified) * trunk/params.mk (modified) * trunk/tools/arch_info/genarch.py (modified) * trunk/tools/bootloader_tsar/boot.c (modified) 1) Introduce independant command fields for the various devices in ... Wed, 26 Jul 2017 11:24:51 GMT max@… [276] * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) update Wed, 26 Jul 2017 11:20:36 GMT max@… [275] * trunk/hal/x86_64/core/hal_acpi.c (modified) * trunk/hal/x86_64/core/hal_acpi.h (modified) Add a SRAT parser. For some reason, QEMU does not want to enable the ... Wed, 26 Jul 2017 08:54:49 GMT max@… [274] * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_interrupt.c (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) Add tls_tf. Mon, 24 Jul 2017 14:30:00 GMT max@… [272] * trunk/hal/x86_64/core/hal_boot.h (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hal/x86_64/core/hal_types.h (modified) Use local_cxy for GET_PTR, instead of the triple map. This fixes a ... Fri, 21 Jul 2017 13:42:38 GMT max@… [269] * trunk/hal/x86_64/drivers/ioc_ata.c (modified) Mmh, fix previous. Fri, 21 Jul 2017 13:36:16 GMT max@… [268] * trunk/hal/x86_64/drivers/ioc_ata.c (modified) Mmh, the wait must be done for each block, not for each operation. Fri, 21 Jul 2017 11:51:24 GMT alain [266] * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel/vfs/vfs.h (modified) * trunk/kernel_config.h (modified) Implement vfs_lseek() function. Fri, 21 Jul 2017 05:36:08 GMT alain [265] * trunk/Makefile (modified) * trunk/hal/tsar_mips32/drivers/soclib_bdv.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/rpc.h (modified) * trunk/kernel/libk/elf.c (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/mm/mapper.h (modified) * trunk/kernel/syscalls/sys_read.c (modified) * trunk/kernel/syscalls/sys_write.c (modified) * trunk/kernel/vfs/fatfs.c (modified) * trunk/kernel/vfs/fatfs.h (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel/vfs/vfs.h (modified) * trunk/kernel_config.h (modified) Fix several bugs in VFS. Thu, 20 Jul 2017 13:22:07 GMT max@… [264] * trunk/hal/x86_64/drivers/soclib_iob.h (modified) empty out Thu, 20 Jul 2017 13:17:58 GMT max@… [263] * trunk/hal/x86_64/drivers/soclib_fbf.c (deleted) * trunk/hal/x86_64/drivers/soclib_fbf.h (deleted) Remove soclib_fbf on x86. Thu, 20 Jul 2017 13:16:23 GMT max@… [262] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/drivers/soclib_dma.c (deleted) * trunk/hal/x86_64/drivers/soclib_dma.h (deleted) * trunk/kernel/devices/dev_dma.c (modified) Remove soclib_dma on x86. Thu, 20 Jul 2017 13:13:58 GMT max@… [261] * trunk/hal/generic/hal_drivers.h (modified) * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_dma.c (modified) * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/kernel/devices/dev_dma.c (modified) Hide soclib_dma. Thu, 20 Jul 2017 13:08:01 GMT max@… [260] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/drivers/soclib_nic.c (deleted) * trunk/hal/x86_64/drivers/soclib_nic.h (deleted) Remove soclib_nic on x86. Thu, 20 Jul 2017 13:06:35 GMT max@… [259] * trunk/hal/generic/hal_drivers.h (modified) * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_nic.c (modified) * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/kernel/devices/dev_nic.c (modified) Hide soclib_nic. Thu, 20 Jul 2017 13:00:55 GMT max@… [258] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/drivers/soclib_mmc.c (deleted) * trunk/hal/x86_64/drivers/soclib_mmc.h (deleted) Remove soclib_mmc on x86. Thu, 20 Jul 2017 12:59:04 GMT max@… [257] * trunk/hal/generic/hal_drivers.h (modified) * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_mmc.c (modified) * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/kernel/devices/dev_mmc.c (modified) Hide soclib_mmc. Thu, 20 Jul 2017 12:37:57 GMT max@… [256] * trunk/hal/x86_64/core/hal_init.c (modified) Remove the IRQ line. It will have to be enabled somewhere in the HAL. Thu, 20 Jul 2017 12:35:44 GMT max@… [255] * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/kernel/devices/dev_txt.c (modified) Don't route the IRQ for IMPL_TXT_RS2, it is multiplexed in software. Thu, 20 Jul 2017 12:24:37 GMT max@… [254] * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/kernel/devices/dev_txt.h (modified) Use IMPL_TXT_RS2. Thu, 20 Jul 2017 11:35:13 GMT max@… [253] * trunk/hal/tsar_mips32/drivers/soclib_cma.c (deleted) * trunk/hal/tsar_mips32/drivers/soclib_cma.h (deleted) * trunk/hal/x86_64/drivers/soclib_cma.c (deleted) * trunk/hal/x86_64/drivers/soclib_cma.h (deleted) Remove unused files. Thu, 20 Jul 2017 11:30:05 GMT max@… [252] * 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/hal/x86_64/core/hal_init.c (modified) * trunk/kernel/devices/dev_pic.c (modified) Hide IMPL_PIC_. Thu, 20 Jul 2017 11:17:49 GMT max@… [250] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/hal/x86_64/drivers/soclib_xcu.c (deleted) * trunk/hal/x86_64/drivers/soclib_xcu.h (deleted) Remove XCU on x86; not sure if it's still useful on TSAR... Thu, 20 Jul 2017 11:04:15 GMT max@… [247] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/hal/x86_64/drivers/txt_rs232.c (moved) * trunk/hal/x86_64/drivers/txt_rs232.h (moved) * trunk/kernel/kern/kernel_init.c (modified) Rename soclib_tty->txt_rs232. Thu, 20 Jul 2017 10:46:10 GMT max@… [245] * 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/kernel/devices/dev_txt.c (modified) Hide soclib_tty. Thu, 20 Jul 2017 10:38:53 GMT max@… [244] * trunk/hal/x86_64/drivers/soclib_tty.c (modified) * trunk/kernel/devices/dev_txt.c (modified) Hide the fields. Thu, 20 Jul 2017 08:29:35 GMT max@… [243] * trunk/hal/x86_64/core/hal_boot.S (modified) * trunk/hal/x86_64/core/hal_smpboot.S (modified) Mmh, some CPUs can boot with the cache disabled, so explicitly enable it. Thu, 20 Jul 2017 08:29:05 GMT max@… [242] * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/core/x86_printf.c (modified) add a dumb lock for the console Thu, 20 Jul 2017 08:13:25 GMT max@… [241] * trunk/hal/x86_64/core/hal_acpi.c (modified) * trunk/hal/x86_64/core/hal_acpi.h (modified) some LAPICs can be disabled Thu, 20 Jul 2017 07:55:05 GMT max@… [240] * trunk/hal/x86_64/core/hal_acpi.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_irqmask.c (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) Make the secondary CPUs jump into kernel_init(). Wed, 19 Jul 2017 13:31:39 GMT alain [238] * trunk/Makefile (modified) * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hal/tsar_mips32/core/hal_interrupt.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_pic.h (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_dma.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_txt.c (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/rpc.h (modified) * trunk/kernel/libk/string.c (modified) * trunk/kernel/libk/string.h (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/mm/mapper.h (modified) * trunk/kernel/mm/page.c (modified) * trunk/kernel/vfs/devfs.h (modified) * trunk/kernel/vfs/fatfs.c (modified) * trunk/kernel/vfs/fatfs.h (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel/vfs/vfs.h (modified) Fixing bugs in vfs_lookup() Wed, 19 Jul 2017 12:57:03 GMT max@… [237] * trunk/hal/x86_64/core/hal_apic.c (modified) * trunk/hal/x86_64/core/hal_apic.h (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_interrupt.c (modified) Attach the secondary CPUs, and for now route the keyboard irq to ... Wed, 19 Jul 2017 12:30:15 GMT max@… [236] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/core/hal_apic.c (modified) * trunk/hal/x86_64/core/hal_apic.h (modified) * trunk/hal/x86_64/core/hal_boot.h (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_smpboot.S (added) Launch the secondary CPUs. For now, they all say hello and enter an ... Wed, 19 Jul 2017 08:03:41 GMT max@… [235] * trunk/hal/x86_64/core/hal_acpi.c (modified) * trunk/hal/x86_64/core/hal_apic.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) Start adding some code for SMP support Tue, 18 Jul 2017 13:33:07 GMT max@… [234] * trunk/hal/x86_64/core/hal_acpi.c (modified) * trunk/hal/x86_64/core/hal_acpi.h (modified) * trunk/hal/x86_64/core/hal_apic.c (modified) * trunk/hal/x86_64/core/hal_apic.h (modified) * trunk/hal/x86_64/core/hal_atomic.c (modified) * trunk/hal/x86_64/core/hal_boot.S (modified) * trunk/hal/x86_64/core/hal_boot.h (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_drivers.c (modified) * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hal/x86_64/core/hal_init.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_kentry.S (modified) * trunk/hal/x86_64/core/hal_kentry.h (modified) * trunk/hal/x86_64/core/hal_multiboot.h (modified) * trunk/hal/x86_64/core/hal_ppm.c (modified) * trunk/hal/x86_64/core/hal_register.h (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hal/x86_64/core/x86_printf.c (modified) style Tue, 18 Jul 2017 13:28:20 GMT max@… [233] * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_kentry.S (modified) * trunk/hal/x86_64/core/hal_kentry.h (modified) Push the context entirely for an exception. Tue, 18 Jul 2017 10:31:28 GMT max@… [226] * trunk/hal/tsar_mips32/core/hal_types.h (modified) * trunk/hal/x86_64/core/hal_types.h (modified) add HAL_32BIT/HAL_64BIT Tue, 18 Jul 2017 09:05:17 GMT max@… [225] * trunk/hal/x86_64/core/hal_gpt.c (modified) implement hal_gpt_create Tue, 18 Jul 2017 08:29:58 GMT max@… [224] * trunk/hal/x86_64/core/hal_boot.h (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_types.h (modified) Create a (virtual) copy of the local cluster in 0xffffe00000000000, ... Mon, 17 Jul 2017 12:18:01 GMT max@… [221] * trunk/hal/x86_64/drivers/ioc_ata.c (modified) use panic instead Mon, 17 Jul 2017 12:14:21 GMT max@… [220] * trunk/hal/x86_64/core/hal_kentry.S (modified) * trunk/hal/x86_64/drivers/ioc_ata.c (modified) use the asm entry point to save the context Mon, 17 Jul 2017 11:54:51 GMT max@… [217] * trunk/hal/x86_64/drivers/soclib_hba.c (deleted) * trunk/hal/x86_64/drivers/soclib_hba.h (deleted) remove soclib_hba on x86 Mon, 17 Jul 2017 11:50:38 GMT max@… [216] * 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/kernel/devices/dev_ioc.c (modified) dispatch 'impl' in the hal Mon, 17 Jul 2017 11:41:13 GMT max@… [215] * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/hal/x86_64/drivers/ioc_ata.c (moved) * trunk/hal/x86_64/drivers/ioc_ata.h (moved) rename the ATA driver