# # ChangeLog for trunk/hal # # Generated by Trac 1.2.3 # Dec 30, 2024, 7:33:50 PM Mon, 10 Jul 2017 08:14:27 GMT max@… [166] * 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_register.h (modified) identify the cpu features Mon, 10 Jul 2017 07:13:04 GMT max@… [165] * trunk/hal/x86_64/core/hal_init.c (modified) put the per-cpu structures into one structure Fri, 07 Jul 2017 13:22:59 GMT max@… [164] * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) we're gonna use an array of TSSs Fri, 07 Jul 2017 12:46:34 GMT max@… [163] * trunk/hal/x86_64/core/hal_acpi.c (modified) handle the LAPIC override, and count the number of CPUs Fri, 07 Jul 2017 12:39:34 GMT max@… [162] * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) start making these variables per-cpu Fri, 07 Jul 2017 07:22:41 GMT max@… [155] * trunk/hal/x86_64/core/hal_interrupt.c (modified) cleanup Fri, 07 Jul 2017 07:16:50 GMT max@… [154] * 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) * trunk/hal/x86_64/core/x86_printf.c (modified) use a demultiplexer to get the channel on the serial port, and make ... Thu, 06 Jul 2017 14:48:30 GMT max@… [153] * trunk/hal/x86_64/core/hal_apic.c (modified) cleanup Thu, 06 Jul 2017 13:47:20 GMT max@… [152] * 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) * trunk/hal/x86_64/core/hal_kentry.S (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) add a basic RS232 COM1 implementation Wed, 05 Jul 2017 13:43:50 GMT alain [151] * trunk/hal/generic/hal_context.h (modified) * trunk/hal/tsar_mips32/core/hal_context.c (modified) Move the core specific hal_cpu_context_t & hafpu_context_t structures ... Wed, 05 Jul 2017 13:40:42 GMT max@… [150] * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) remove debug and unused code Wed, 05 Jul 2017 13:14:43 GMT max@… [148] * trunk/hal/x86_64/core/hal_gpt.c (modified) fix a pretty dumb bug; we must not unmap since we use the area for ... Wed, 05 Jul 2017 09:19:36 GMT max@… [147] * trunk/hal/x86_64/core/hal_boot.h (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) less magic Wed, 05 Jul 2017 09:08:42 GMT max@… [146] * trunk/hal/x86_64/core/hal_apic.h (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_special.c (modified) remove my fake_apic shit from yesterday Wed, 05 Jul 2017 09:05:11 GMT max@… [145] * trunk/hal/x86_64/core/hal_acpi.h (modified) * trunk/hal/x86_64/core/hal_apic.c (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_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_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_register.h (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) * trunk/hal/x86_64/core/hal_syscall.c (modified) * trunk/hal/x86_64/core/hal_types.h (modified) * trunk/hal/x86_64/core/hal_uspace.c (modified) * trunk/hal/x86_64/core/x86_printf.c (modified) style Wed, 05 Jul 2017 08:57:26 GMT max@… [144] * trunk/hal/x86_64/core/hal_arch.c (deleted) * trunk/hal/x86_64/core/hal_arch.h (deleted) remove unused files Wed, 05 Jul 2017 08:56:06 GMT max@… [143] * trunk/hal/x86_64/core/hal_exception.c (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) style Wed, 05 Jul 2017 08:49:55 GMT max@… [142] * trunk/Makefile.x86 (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.S (modified) * trunk/hal/x86_64/core/hal_trap.c (deleted) remove hal_trap.c, and put its content in hal_interrupt.c and ... Tue, 04 Jul 2017 13:02:31 GMT max@… [141] * trunk/hal/tsar_mips32/drivers/soclib_pic.c (modified) style Tue, 04 Jul 2017 10:40:16 GMT max@… [139] * trunk/hal/x86_64/drivers/soclib_xcu.c (modified) I'm dumb Tue, 04 Jul 2017 10:05:39 GMT max@… [138] * 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_kentry.S (modified) * trunk/hal/x86_64/core/hal_kentry.h (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hal/x86_64/drivers/soclib_xcu.c (modified) update Tue, 04 Jul 2017 08:17:44 GMT max@… [137] * trunk/hal/x86_64/core/hal_apic.c (modified) * trunk/hal/x86_64/core/hal_apic.h (modified) * trunk/hal/x86_64/core/hal_drivers.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/drivers/soclib_xcu.c (modified) improve the APIC implementation Tue, 04 Jul 2017 06:54:36 GMT max@… [136] * 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_icu.c (modified) Hide a few soclib_xcu_ functions Mon, 03 Jul 2017 15:21:06 GMT max@… [135] * 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/drivers/soclib_xcu.c (modified) start moving the APIC into the XCU driver Mon, 03 Jul 2017 13:49:42 GMT max@… [134] * trunk/hal/x86_64/core/hal_gpt.c (modified) fix comment Mon, 03 Jul 2017 13:30:03 GMT max@… [133] * trunk/hal/tsar_mips32/drivers/soclib_xcu.c (modified) style Mon, 03 Jul 2017 13:16:30 GMT max@… [131] * trunk/hal/generic/hal_drivers.h (modified) * trunk/kernel/devices/dev_icu.c (modified) use hal_drivers_xcu_init Mon, 03 Jul 2017 13:13:24 GMT max@… [130] * trunk/hal/tsar_mips32/core/hal_drivers.c (modified) * trunk/hal/x86_64/core/hal_drivers.c (modified) add hal_drivers_xcu_init Mon, 03 Jul 2017 13:09:14 GMT max@… [129] * trunk/hal/x86_64/drivers/soclib_xcu.c (modified) put panics everywhere Mon, 03 Jul 2017 12:45:44 GMT max@… [125] * 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) implement hal_time_stamp and hal_fence Mon, 03 Jul 2017 12:36:39 GMT max@… [124] * trunk/hal/generic/hal_special.h (modified) * trunk/hal/tsar_mips32/core/hal_gpt.c (modified) * trunk/hal/tsar_mips32/core/hal_special.c (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/cluster.c (modified) * trunk/kernel/kern/core.c (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/libk/grdxt.c (modified) * trunk/kernel/libk/readlock.c (modified) * trunk/kernel/libk/remote_fifo.c (modified) * trunk/kernel/libk/remote_mutex.c (modified) * trunk/kernel/libk/remote_rwlock.c (modified) * trunk/kernel/libk/rwlock.c (modified) * trunk/kernel/mm/kmem.c (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/syscalls/sys_close.c (modified) * trunk/kernel/syscalls/sys_getcwd.c (modified) * trunk/kernel/syscalls/sys_kill.c (modified) * trunk/kernel/syscalls/sys_read.c (modified) * trunk/kernel/syscalls/sys_stat.c (modified) * trunk/kernel/syscalls/sys_timeofday.c (modified) * trunk/kernel/syscalls/sys_trace.c (modified) * trunk/kernel/syscalls/sys_write.c (modified) * trunk/kernel/vfs/vfs.c (modified) rename hal_wbflush->hal_fence Mon, 03 Jul 2017 12:21:24 GMT max@… [123] * trunk/hal/x86_64/core/hal_gpt.c (modified) unmap the area below the kernel, so that we can find pointer ... Mon, 03 Jul 2017 12:20:52 GMT max@… [122] * trunk/hal/x86_64/core/hal_irqmask.c (modified) we will fix nested interrupt contexts later Mon, 03 Jul 2017 12:17:20 GMT alain [121] * trunk/hal/generic/hal_remote.h (modified) * trunk/hal/generic/hal_special.h (modified) * trunk/hal/generic/hal_uspace.h (modified) * trunk/hal/tsar_mips32/core/hal_do_exceptions.c (deleted) * trunk/hal/tsar_mips32/core/hal_do_interrupt.c (deleted) * trunk/hal/tsar_mips32/core/hal_do_syscall.c (deleted) * trunk/hal/tsar_mips32/core/hal_kentry.S (modified) * trunk/hal/tsar_mips32/core/hal_kentry.h (modified) * trunk/hal/tsar_mips32/core/hal_remote.c (modified) * trunk/hal/tsar_mips32/core/hal_special.c (modified) * trunk/hal/tsar_mips32/core/hal_uspace.c (modified) Fix bugs in hal_remote, hal uspace, hal_special Mon, 03 Jul 2017 10:33:21 GMT max@… [119] * trunk/hal/x86_64/core/hal_init.c (modified) provide pages_nr Mon, 03 Jul 2017 10:33:10 GMT max@… [118] * trunk/hal/x86_64/core/hal_irqmask.c (modified) add hal_restore_irq Mon, 03 Jul 2017 09:21:16 GMT max@… [117] * trunk/hal/x86_64/core/hal_apic.c (modified) Calibrate the LAPIC timer with the PIT, with one interrupt per ... Fri, 30 Jun 2017 15:18:13 GMT max@… [116] * trunk/hal/x86_64/core/hal_gpt.c (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_ppm.c (modified) complete hal_ppm_init, to take into account the reserved areas Fri, 30 Jun 2017 14:20:49 GMT max@… [115] * trunk/hal/x86_64/core/hal_do_exceptions.c (deleted) * trunk/hal/x86_64/core/hal_do_interrupt.c (deleted) * trunk/hal/x86_64/core/hal_do_syscall.c (deleted) remove duplicate Fri, 30 Jun 2017 09:26:32 GMT max@… [114] * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) compute the offset for bootinfo Fri, 30 Jun 2017 09:03:08 GMT max@… [113] * trunk/hal/x86_64/core/hal_acpi.c (modified) * trunk/kernel/libk/memcpy.c (modified) * trunk/kernel/libk/memcpy.h (modified) add memcmp in libk; these mem* functions should probably be hal- ... Fri, 30 Jun 2017 08:47:08 GMT max@… [112] * trunk/hal/x86_64/core/hal_gpt.c (modified) In fact, we need to enter all of the VA space, because we massively ... Fri, 30 Jun 2017 08:10:41 GMT max@… [111] * trunk/hal/x86_64/core/hal_boot.h (modified) Mmh, update CLUSTER_VA_SIZE, we are calibrated for 64GB Fri, 30 Jun 2017 07:56:38 GMT max@… [110] * trunk/hal/x86_64/core/hal_ppm.c (modified) add some code for ppm_init Fri, 30 Jun 2017 07:39:42 GMT max@… [109] * trunk/hal/x86_64/core/hal_kentry.h (modified) don't save/restore %gs for now, we want to use TLS in interrupt ... Fri, 30 Jun 2017 07:28:36 GMT max@… [108] * trunk/hal/generic/hal_atomic.h (modified) typo Fri, 30 Jun 2017 07:28:00 GMT max@… [107] * trunk/hal/tsar_mips32/core/hal_ppm.c (modified) reorder the code a bit, to reduce the (future) diff with x86 Fri, 30 Jun 2017 07:16:22 GMT max@… [106] * trunk/hal/tsar_mips32/core/hal_ppm.c (modified) style and typos Fri, 30 Jun 2017 07:07:32 GMT max@… [105] * trunk/hal/x86_64/core/hal_atomic.c (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) add a few atomic functions Thu, 29 Jun 2017 14:55:50 GMT max@… [102] * trunk/hal/x86_64/core/hal_special.c (modified) update the new hal_get_cycles Thu, 29 Jun 2017 14:44:52 GMT alain [101] * trunk/Makefile (modified) * trunk/hal/generic/hal_special.h (modified) * trunk/hal/tsar_mips32/core/hal_do_exceptions.c (modified) * trunk/hal/tsar_mips32/core/hal_exception.c (modified) * trunk/hal/tsar_mips32/core/hal_special.c (modified) * trunk/hal/tsar_mips32/drivers/soclib_hba.c (modified) * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_ioc.c (modified) * trunk/kernel/devices/dev_txt.c (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_exception.c (modified) * trunk/kernel/kern/kernel_init.c (modified) * trunk/kernel/kern/process.c (modified) * trunk/kernel/kern/process.h (modified) * trunk/kernel/kern/rpc.c (modified) * trunk/kernel/kern/scheduler.c (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/libk/remote_spinlock.c (modified) * trunk/kernel/libk/remote_spinlock.h (modified) * trunk/kernel/mm/kcm.c (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/mm/vseg.c (modified) * trunk/kernel/mm/vseg.h (modified) * trunk/kernel/syscalls/sys_clock.c (modified) * trunk/kernel/syscalls/sys_exec.c (modified) * trunk/kernel/syscalls/sys_fork.c (modified) * trunk/kernel/syscalls/sys_thread_create.c (modified) * trunk/kernel/syscalls/sys_thread_sleep.c (modified) * trunk/kernel/vfs/fatfs.c (modified) * trunk/kernel/vfs/vfs.c (modified) * trunk/kernel/vfs/vfs.h (modified) * trunk/kernel_config.h (modified) euh... Thu, 29 Jun 2017 13:49:52 GMT max@… [100] * trunk/hal/x86_64/drivers/soclib_tty.c (modified) add a part of the tty driver; not tested yet (due to a NULL deref ... Thu, 29 Jun 2017 13:48:39 GMT max@… [99] * 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_irqmask.c (modified) * trunk/hal/x86_64/core/hal_trap.c (modified) add the irq functions; we will forbid nested critical sections, so ... Thu, 29 Jun 2017 12:27:35 GMT max@… [98] * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) add the and/or ops Thu, 29 Jun 2017 11:53:30 GMT max@… [97] * trunk/hal/x86_64/core/hal_cpu.S (modified) (forgot this one in my previous commit) Thu, 29 Jun 2017 11:52:34 GMT max@… [96] * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) Mmh, fix the return values Thu, 29 Jun 2017 11:40:15 GMT alain [95] * trunk/hal/generic/hal_remote.h (modified) * trunk/hal/generic/hal_special.h (modified) * trunk/hal/generic/hal_uspace.h (modified) * trunk/hal/tsar_mips32/core/hal_remote.c (modified) * trunk/hal/tsar_mips32/core/hal_special.c (modified) hal_special: replace hal_time_stamp() by hal_get_cycles() hal_remote ... Thu, 29 Jun 2017 11:27:43 GMT max@… [94] * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_drivers.c (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_remote.c (modified) * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hal/x86_64/core/x86_printf.c (modified) remove lw_unc, add a few ops, and update a few things Thu, 29 Jun 2017 10:12:28 GMT max@… [92] * trunk/hal/tsar_mips32/core/hal_remote.c (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) fix the definition of hal_remote_spt, and add the *pt ops on x86_64 Thu, 29 Jun 2017 09:02:22 GMT max@… [91] * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/core/hal_trap.c (modified) retrieve the pressed key, and display it Thu, 29 Jun 2017 09:00:53 GMT max@… [90] * trunk/hal/x86_64/core/x86_printf.c (modified) scroll for real, and add %c Thu, 29 Jun 2017 07:54:01 GMT max@… [89] * 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_kentry.S (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) * trunk/hal/x86_64/core/hal_trap.c (modified) * trunk/hal/x86_64/drivers/soclib_tty.c (modified) Parse the IOAPIC structure in ACPI, map the IOAPIC, and enable the ... Wed, 28 Jun 2017 15:35:34 GMT alain [88] * trunk/hal/tsar_mips32/drivers/drvdb.c (deleted) * trunk/hal/tsar_mips32/drivers/drvdb.h (deleted) Remove oldies. Wed, 28 Jun 2017 15:32:42 GMT alain [87] * trunk/hal/tsar_mips32/core/__cpu_kentry.S (deleted) * trunk/hal/tsar_mips32/core/__kheader.S (deleted) * trunk/hal/tsar_mips32/core/hal_arch.c (deleted) * trunk/hal/tsar_mips32/core/hal_arch.h (deleted) * trunk/hal/tsar_mips32/core/hal_uspace.c (modified) Remove oldies. Wed, 28 Jun 2017 13:24:02 GMT max@… [86] * 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_kentry.S (modified) * trunk/hal/x86_64/core/hal_kentry.h (modified) * trunk/hal/x86_64/core/hal_trap.c (modified) enable the timer (not yet calibrated) Wed, 28 Jun 2017 12:58:49 GMT max@… [85] * trunk/hal/x86_64/core/hal_cpu.S (modified) reload the segregs Wed, 28 Jun 2017 12:20:29 GMT max@… [84] * trunk/hal/x86_64/core/x86_printf.c (modified) scroll the console Wed, 28 Jun 2017 11:39:05 GMT max@… [83] * trunk/hal/x86_64/core/hal_apic.c (modified) * trunk/hal/x86_64/core/hal_gpt.c (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) we want to have the LAPIC non-cacheable Wed, 28 Jun 2017 11:23:51 GMT max@… [82] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/core/hal_apic.c (moved) * trunk/hal/x86_64/core/hal_apic.h (moved) * 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.S (modified) * trunk/hal/x86_64/core/hal_register.h (modified) * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hal/x86_64/core/hal_trap.c (modified) Rename a certain number of things, and improve the APIC support. Tue, 27 Jun 2017 15:29:22 GMT max@… [81] * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/drivers/soclib_xcu.c (modified) silence a few warnings Tue, 27 Jun 2017 15:24:02 GMT max@… [80] * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_kentry.S (modified) * trunk/hal/x86_64/core/hal_lapic.h (modified) * trunk/hal/x86_64/core/hal_segmentation.h (modified) * trunk/hdd/virt_hdd.dmg (modified) add the timer vector, for now it double-faults Tue, 27 Jun 2017 15:20:55 GMT max@… [79] * trunk/hal/x86_64/core/hal_gpt.c (modified) invalidate the page directly Tue, 27 Jun 2017 15:19:53 GMT max@… [78] * trunk/hal/x86_64/core/hal_cpu.S (modified) * trunk/hal/x86_64/core/hal_internal.h (modified) * trunk/hal/x86_64/core/hal_trap.c (modified) print %rip, and add cli/sti Tue, 27 Jun 2017 12:38:47 GMT max@… [77] * trunk/Makefile (modified) * trunk/Makefile.x86 (modified) * trunk/hal/generic/hal_drivers.h (added) * trunk/hal/tsar_mips32/core/hal_drivers.c (added) * trunk/hal/tsar_mips32/drivers/soclib_tty.c (modified) * trunk/hal/x86_64/core/hal_drivers.c (added) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_txt.c (modified) * trunk/kernel/kern/kernel_init.c (modified) Start hiding the architecture-specific drivers behind the ... Tue, 27 Jun 2017 12:07:55 GMT max@… [76] * trunk/hal/x86_64/drivers/drvdb.c (deleted) * trunk/hal/x86_64/drivers/drvdb.h (deleted) * trunk/hal/x86_64/drivers/soclib_bdv.c (modified) * trunk/hal/x86_64/drivers/soclib_cma.c (modified) * trunk/hal/x86_64/drivers/soclib_dma.c (modified) * trunk/hal/x86_64/drivers/soclib_hba.c (modified) * trunk/hal/x86_64/drivers/soclib_iob.c (modified) * trunk/hal/x86_64/drivers/soclib_memc.c (deleted) * trunk/hal/x86_64/drivers/soclib_memc.h (deleted) * trunk/hal/x86_64/drivers/soclib_mmc.c (modified) * trunk/hal/x86_64/drivers/soclib_nic.c (modified) * trunk/hal/x86_64/drivers/soclib_pic.c (modified) * trunk/hal/x86_64/drivers/soclib_tty.c (modified) * trunk/hal/x86_64/drivers/soclib_xcu.c (modified) empty out the x86 drivers Tue, 27 Jun 2017 11:52:44 GMT max@… [75] * trunk/Makefile (modified) * trunk/Makefile.x86 (modified) * trunk/hal/tsar_mips32/drivers (added) * trunk/hal/tsar_mips32/drivers/drvdb.c (added) * trunk/hal/tsar_mips32/drivers/drvdb.h (added) * trunk/hal/tsar_mips32/drivers/soclib_bdv.c (added) * trunk/hal/tsar_mips32/drivers/soclib_bdv.h (added) * trunk/hal/tsar_mips32/drivers/soclib_cma.c (added) * trunk/hal/tsar_mips32/drivers/soclib_cma.h (added) * trunk/hal/tsar_mips32/drivers/soclib_dma.c (added) * trunk/hal/tsar_mips32/drivers/soclib_dma.h (added) * trunk/hal/tsar_mips32/drivers/soclib_fbf.c (added) * trunk/hal/tsar_mips32/drivers/soclib_fbf.h (added) * trunk/hal/tsar_mips32/drivers/soclib_hba.c (added) * trunk/hal/tsar_mips32/drivers/soclib_hba.h (added) * trunk/hal/tsar_mips32/drivers/soclib_iob.c (added) * trunk/hal/tsar_mips32/drivers/soclib_iob.h (added) * trunk/hal/tsar_mips32/drivers/soclib_memc.c (added) * trunk/hal/tsar_mips32/drivers/soclib_memc.h (added) * trunk/hal/tsar_mips32/drivers/soclib_mmc.c (added) * trunk/hal/tsar_mips32/drivers/soclib_mmc.h (added) * trunk/hal/tsar_mips32/drivers/soclib_nic.c (added) * trunk/hal/tsar_mips32/drivers/soclib_nic.h (added) * trunk/hal/tsar_mips32/drivers/soclib_pic.c (added) * trunk/hal/tsar_mips32/drivers/soclib_pic.h (added) * trunk/hal/tsar_mips32/drivers/soclib_tty.c (added) * trunk/hal/tsar_mips32/drivers/soclib_tty.h (added) * trunk/hal/tsar_mips32/drivers/soclib_xcu.c (added) * trunk/hal/tsar_mips32/drivers/soclib_xcu.h (added) * trunk/hal/x86_64/drivers (added) * trunk/hal/x86_64/drivers/drvdb.c (added) * trunk/hal/x86_64/drivers/drvdb.h (added) * trunk/hal/x86_64/drivers/soclib_bdv.c (added) * trunk/hal/x86_64/drivers/soclib_bdv.h (added) * trunk/hal/x86_64/drivers/soclib_cma.c (added) * trunk/hal/x86_64/drivers/soclib_cma.h (added) * trunk/hal/x86_64/drivers/soclib_dma.c (added) * trunk/hal/x86_64/drivers/soclib_dma.h (added) * trunk/hal/x86_64/drivers/soclib_fbf.c (added) * trunk/hal/x86_64/drivers/soclib_fbf.h (added) * trunk/hal/x86_64/drivers/soclib_hba.c (added) * trunk/hal/x86_64/drivers/soclib_hba.h (added) * trunk/hal/x86_64/drivers/soclib_iob.c (added) * trunk/hal/x86_64/drivers/soclib_iob.h (added) * trunk/hal/x86_64/drivers/soclib_memc.c (added) * trunk/hal/x86_64/drivers/soclib_memc.h (added) * trunk/hal/x86_64/drivers/soclib_mmc.c (added) * trunk/hal/x86_64/drivers/soclib_mmc.h (added) * trunk/hal/x86_64/drivers/soclib_nic.c (added) * trunk/hal/x86_64/drivers/soclib_nic.h (added) * trunk/hal/x86_64/drivers/soclib_pic.c (added) * trunk/hal/x86_64/drivers/soclib_pic.h (added) * trunk/hal/x86_64/drivers/soclib_tty.c (added) * trunk/hal/x86_64/drivers/soclib_tty.h (added) * trunk/hal/x86_64/drivers/soclib_xcu.c (added) * trunk/hal/x86_64/drivers/soclib_xcu.h (added) * trunk/kernel/drivers/soclib (deleted) Create the drivers/ sub-directory in each hal, and move soclib into ... Tue, 27 Jun 2017 09:23:58 GMT max@… [74] * trunk/hal/x86_64/core/hal_init.c (modified) (forgot to commit this) Tue, 27 Jun 2017 09:03:16 GMT max@… [73] * trunk/hal/x86_64/core/hal_boot.h (modified) * trunk/hal/x86_64/core/hal_types.h (modified) now that the fields are stable, embed the VA base in XPTR Tue, 27 Jun 2017 08:56:25 GMT max@… [72] * trunk/hal/generic/hal_remote.h (modified) * trunk/hal/tsar_mips32/core/hal_remote.c (modified) * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) start defining some remote functions, and use uint8_t instead of char Tue, 27 Jun 2017 08:43:33 GMT max@… [71] * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/kernel_init.c (modified) advance a little Tue, 27 Jun 2017 08:39:08 GMT max@… [70] * trunk/hal/x86_64/core/hal_init.c (modified) * trunk/hal/x86_64/core/hal_special.c (modified) * trunk/hal/x86_64/core/hal_types.h (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/kernel_init.c (modified) start constructing the bootinfo structure Tue, 27 Jun 2017 08:35:00 GMT max@… [69] * trunk/hal/generic/hal_remote.h (modified) * trunk/hal/x86_64/core/hal_remote.c (modified) use uint8_t instead Tue, 27 Jun 2017 08:02:15 GMT max@… [67] * trunk/hal/x86_64/core/hal_types.h (modified) switch to 64GB of VA per cluster, with 256 clusters Mon, 26 Jun 2017 15:22:21 GMT max@… [64] * trunk/hal/generic/hal_ppm.h (modified) cosmetic and typos Mon, 26 Jun 2017 15:10:26 GMT max@… [63] * trunk/Makefile (modified) * trunk/hal/tsar_mips32/kernel.ld (added) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kernel.ld (deleted) move the ldscript into core/ for tsar Mon, 26 Jun 2017 15:06:05 GMT max@… [62] * trunk/Makefile (modified) * trunk/hal/tsar_mips32/core (added) * trunk/hal/tsar_mips32/core/__cpu_kentry.S (moved) * trunk/hal/tsar_mips32/core/__kheader.S (moved) * trunk/hal/tsar_mips32/core/hal_arch.c (moved) * trunk/hal/tsar_mips32/core/hal_arch.h (moved) * trunk/hal/tsar_mips32/core/hal_atomic.c (moved) * trunk/hal/tsar_mips32/core/hal_context.c (moved) * trunk/hal/tsar_mips32/core/hal_do_exceptions.c (moved) * trunk/hal/tsar_mips32/core/hal_do_interrupt.c (moved) * trunk/hal/tsar_mips32/core/hal_do_syscall.c (moved) * trunk/hal/tsar_mips32/core/hal_exception.c (moved) * trunk/hal/tsar_mips32/core/hal_gpt.c (moved) * trunk/hal/tsar_mips32/core/hal_interrupt.c (moved) * trunk/hal/tsar_mips32/core/hal_irqmask.c (moved) * trunk/hal/tsar_mips32/core/hal_kentry.S (moved) * trunk/hal/tsar_mips32/core/hal_kentry.h (moved) * trunk/hal/tsar_mips32/core/hal_ppm.c (moved) * trunk/hal/tsar_mips32/core/hal_remote.c (moved) * trunk/hal/tsar_mips32/core/hal_special.c (moved) * trunk/hal/tsar_mips32/core/hal_syscall.c (moved) * trunk/hal/tsar_mips32/core/hal_types.h (moved) * trunk/hal/tsar_mips32/core/hal_uspace.c (moved) * trunk/hal/tsar_mips32/core/mips32_context.h (moved) * trunk/hal/tsar_mips32/core/mips32_uzone.h (moved) create the core/ sub-directory for tsar Mon, 26 Jun 2017 14:58:25 GMT max@… [61] * trunk/hal/x86_64/core/hal_init.c (modified) cosmetic Mon, 26 Jun 2017 14:40:36 GMT max@… [59] * trunk/hal/oldies (deleted) remove oldies/ Mon, 26 Jun 2017 14:33:48 GMT max@… [57] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/core/hal_ppm.c (modified) * trunk/hal/x86_64/kernel.ld (added) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kernel_x86.ld (deleted) move the ldscript into x86_64/ Mon, 26 Jun 2017 14:27:19 GMT max@… [55] * trunk/hal/i386 (deleted) remove i386/ Mon, 26 Jun 2017 14:26:54 GMT max@… [54] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/core/hal_ppm.c (added) * trunk/hdd/virt_hdd.dmg (modified) make it compile on x86 Mon, 26 Jun 2017 14:22:00 GMT alain [53] * trunk/Makefile (modified) * trunk/hal/generic/hal_ppm.h (modified) * trunk/hal/tsar_mips32/hal_gpt.c (modified) * trunk/hal/tsar_mips32/hal_ppm.c (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/kern/thread.c (modified) * trunk/kernel/mm/kcm.c (modified) * trunk/kernel/mm/khm.c (modified) * trunk/kernel/mm/mapper.c (modified) * trunk/kernel/mm/page.c (modified) * trunk/kernel/mm/ppm.c (modified) * trunk/kernel/mm/ppm.h (modified) * trunk/kernel/syscalls/sys_exec.c (modified) * trunk/kernel/vfs/fatfs.c (modified) Compilation OK pout TSAR Mon, 26 Jun 2017 13:24:20 GMT max@… [51] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/core (added) * trunk/hal/x86_64/core/hal_acpi.c (moved) * trunk/hal/x86_64/core/hal_acpi.h (moved) * trunk/hal/x86_64/core/hal_arch.c (moved) * trunk/hal/x86_64/core/hal_arch.h (moved) * trunk/hal/x86_64/core/hal_atomic.c (moved) * trunk/hal/x86_64/core/hal_boot.S (moved) * trunk/hal/x86_64/core/hal_boot.h (moved) * trunk/hal/x86_64/core/hal_context.c (moved) * trunk/hal/x86_64/core/hal_cpu.S (moved) * trunk/hal/x86_64/core/hal_do_exceptions.c (moved) * trunk/hal/x86_64/core/hal_do_interrupt.c (moved) * trunk/hal/x86_64/core/hal_do_syscall.c (moved) * trunk/hal/x86_64/core/hal_exception.c (moved) * trunk/hal/x86_64/core/hal_gpt.c (moved) * trunk/hal/x86_64/core/hal_init.c (moved) * trunk/hal/x86_64/core/hal_internal.h (moved) * trunk/hal/x86_64/core/hal_interrupt.c (moved) * trunk/hal/x86_64/core/hal_irqmask.c (moved) * trunk/hal/x86_64/core/hal_kentry.S (moved) * trunk/hal/x86_64/core/hal_kentry.h (moved) * trunk/hal/x86_64/core/hal_lapic.c (moved) * trunk/hal/x86_64/core/hal_lapic.h (moved) * trunk/hal/x86_64/core/hal_multiboot.h (moved) * trunk/hal/x86_64/core/hal_register.h (moved) * trunk/hal/x86_64/core/hal_remote.c (moved) * trunk/hal/x86_64/core/hal_segmentation.h (moved) * trunk/hal/x86_64/core/hal_special.c (moved) * trunk/hal/x86_64/core/hal_syscall.c (moved) * trunk/hal/x86_64/core/hal_trap.c (moved) * trunk/hal/x86_64/core/hal_types.h (moved) * trunk/hal/x86_64/core/hal_uspace.c (moved) * trunk/hal/x86_64/core/x86_printf.c (moved) Create the core/ sub-directory for x86_64. Mon, 26 Jun 2017 13:15:11 GMT alain [50] * trunk/Makefile (modified) * trunk/hal/generic/hal_ppm.h (added) * trunk/hal/i386/__boot.S (deleted) * trunk/hal/i386/__cpu_context.S (deleted) * trunk/hal/i386/__do_exception.c (deleted) * trunk/hal/i386/__do_interrupt.c (deleted) * trunk/hal/i386/__kentry.S (deleted) * trunk/hal/i386/boot.c (deleted) * trunk/hal/i386/cpu-asm.h (deleted) * trunk/hal/i386/cpu-config.h (deleted) * trunk/hal/i386/cpu-internal.h (deleted) * trunk/hal/i386/cpu-io.c (deleted) * trunk/hal/i386/cpu-io.h (deleted) * trunk/hal/i386/cpu_context.c (deleted) * trunk/hal/i386/cpu_internal.c (deleted) * trunk/hal/i386/printk.c (deleted) * trunk/hal/i386/remote.c (deleted) * trunk/hal/i386/screen.c (deleted) * trunk/hal/i386/screen.h (deleted) * trunk/hal/tsar_mips32/hal_do_exceptions.c (modified) * trunk/hal/tsar_mips32/hal_gpt.c (modified) * trunk/hal/tsar_mips32/hal_ppm.c (added) * trunk/hal/tsar_mips32/hal_types.h (modified) * trunk/hdd/virt_hdd.dmg (modified) * trunk/kernel/devices/dev_ioc.c (modified) * trunk/kernel/drivers/soclib/soclib_mmc.c (modified) * trunk/kernel/kern/cluster.c (modified) * trunk/kernel/kern/cluster.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/thread.c (modified) * trunk/kernel/libk/remote_rwlock.c (modified) * trunk/kernel/libk/remote_rwlock.h (modified) * trunk/kernel/libk/xhtab.c (modified) * trunk/kernel/mm/kcm.c (modified) * trunk/kernel/mm/kcm.h (modified) * trunk/kernel/mm/kmem.c (modified) * trunk/kernel/mm/kmem.h (modified) * trunk/kernel/mm/ppm.c (modified) * trunk/kernel/mm/ppm.h (modified) * trunk/kernel/mm/vmm.c (modified) * trunk/kernel/syscalls/sys_gettimeofday.c (deleted) * trunk/kernel/syscalls/sys_thread_sleep.c (modified) * trunk/kernel/syscalls/sys_timeofday.c (added) * 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/tools/arch_info/boot_info.h (modified) * trunk/tools/bootloader_tsar/boot.c (modified) * trunk/tools/bootloader_tsar/boot_config.h (modified) bloup Mon, 26 Jun 2017 10:08:02 GMT max@… [48] * trunk/hal/x86_64/hal_arch.c (modified) * trunk/hal/x86_64/hal_arch.h (modified) * trunk/hal/x86_64/hal_atomic.c (modified) * trunk/hal/x86_64/hal_context.c (modified) * trunk/hal/x86_64/hal_do_exceptions.c (modified) * trunk/hal/x86_64/hal_do_interrupt.c (modified) * trunk/hal/x86_64/hal_do_syscall.c (modified) * trunk/hal/x86_64/hal_exception.c (modified) * trunk/hal/x86_64/hal_gpt.c (modified) * trunk/hal/x86_64/hal_interrupt.c (modified) * trunk/hal/x86_64/hal_irqmask.c (modified) * trunk/hal/x86_64/hal_remote.c (modified) * trunk/hal/x86_64/hal_syscall.c (modified) * trunk/hal/x86_64/hal_uspace.c (modified) Put panics everywhere Mon, 26 Jun 2017 09:48:28 GMT max@… [47] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/hal_boot.h (modified) * trunk/hal/x86_64/hal_gpt.c (modified) * trunk/hal/x86_64/hal_init.c (modified) * trunk/hal/x86_64/x86_printf.c (modified) * trunk/kernel/kernel_x86.ld (modified) Use mcmodel=large, in order to have a kernel image that is located at ... Fri, 23 Jun 2017 11:31:23 GMT max@… [46] * trunk/hal/x86_64/hal_cpu.S (modified) * trunk/hal/x86_64/hal_init.c (modified) * trunk/hal/x86_64/hal_internal.h (modified) * trunk/hal/x86_64/hal_lapic.c (modified) * trunk/hal/x86_64/hal_lapic.h (modified) * trunk/hal/x86_64/hal_register.h (modified) * trunk/hal/x86_64/hal_special.c (modified) Start implementing TLS. Fri, 23 Jun 2017 09:55:08 GMT max@… [45] * trunk/Makefile.x86 (modified) * trunk/hal/x86_64/hal_acpi.c (modified) * trunk/hal/x86_64/hal_gpt.c (modified) * trunk/hal/x86_64/hal_init.c (modified) * trunk/hal/x86_64/hal_internal.h (modified) * trunk/hal/x86_64/hal_kentry.S (modified) * trunk/hal/x86_64/hal_lapic.c (added) * trunk/hal/x86_64/hal_lapic.h (added) * trunk/hal/x86_64/hal_segmentation.h (modified) Add some code for LAPIC; far from complete, but a good start. Fri, 23 Jun 2017 07:57:35 GMT max@… [44] * trunk/hal/x86_64/hal_boot.h (modified) * trunk/hal/x86_64/hal_gpt.c (modified) * trunk/hal/x86_64/hal_init.c (modified) * trunk/hal/x86_64/hal_types.h (modified) Update. We need to use two separate arrays: one for the heap and one ... Fri, 23 Jun 2017 05:59:41 GMT max@… [43] * trunk/hal/x86_64/hal_acpi.c (modified) simplify