Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4026 |
5653 d 16 h |
jermar |
/trunk/ |
Make the kbd port drivers platform neutral by using PIO functions.
The kernel now supplies the physical address and the kernel virtual address. |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/uspace/srv/kbd/port/i8042.c /trunk/uspace/srv/kbd/port/i8042.h /trunk/uspace/srv/kbd/port/ns16550.c /trunk/uspace/srv/kbd/port/z8530.c
|
4022 |
5653 d 17 h |
svoboda |
/trunk/ |
Move multiboot parsing to genarch/*/multiboot and adapt it for use with both ia32 and amd64. Multiboot info parsing now supported on amd64, too. |
|
/trunk/kernel/genarch/include/multiboot /trunk/kernel/genarch/include/multiboot/multiboot.h /trunk/kernel/genarch/src/multiboot /trunk/kernel/genarch/src/multiboot/multiboot.c
/trunk/kernel/arch/ia32/include/boot/multiboot.h
/trunk/HelenOS.config /trunk/kernel/arch/amd64/include/arch.h /trunk/kernel/arch/amd64/include/boot/boot.h /trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/amd64/src/boot/boot.S /trunk/kernel/arch/ia32/include/arch.h /trunk/kernel/arch/ia32/include/boot/boot.h /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/genarch/Makefile.inc
|
4016 |
5653 d 23 h |
decky |
/trunk/kernel/ |
better inline assembler readability using the new symbolic syntax |
|
/trunk/kernel/arch/ia32/include/asm.h /trunk/kernel/arch/ia32/include/atomic.h /trunk/kernel/arch/ia32/include/barrier.h /trunk/kernel/arch/ia32/include/cpuid.h /trunk/kernel/arch/ia32/src/cpu/cpu.c /trunk/kernel/arch/ia32/src/fpu_context.c /trunk/kernel/arch/ia32/src/interrupt.c /trunk/kernel/arch/ia32/src/pm.c /trunk/kernel/arch/ia32/src/userspace.c /trunk/kernel/test/fpu/sse1.c
|
4015 |
5654 d 2 h |
decky |
/trunk/kernel/arch/ia32/ |
rename ia32_cboot() to arch_pre_main() and move it to ia32.c (to be in line with other platforms) |
|
/trunk/kernel/arch/ia32/include/boot/multiboot.h
/trunk/kernel/arch/ia32/include/boot/cboot.h /trunk/kernel/arch/ia32/src/boot/cboot.c
/trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia32/include/arch.h /trunk/kernel/arch/ia32/include/boot/boot.h /trunk/kernel/arch/ia32/src/boot/boot.S /trunk/kernel/arch/ia32/src/ia32.c
|
4014 |
5654 d 2 h |
decky |
/trunk/ |
cstyle |
|
/trunk/kernel/arch/ia32/src/boot/cboot.c /trunk/kernel/generic/include/string.h /trunk/kernel/generic/src/lib/string.c /trunk/kernel/generic/src/main/kinit.c /trunk/uspace/srv/loader/main.c
|
4012 |
5654 d 17 h |
svoboda |
/trunk/ |
Task names should only contain base names of commands. Also add 'boot:' prefix for binaries loaded by the kernel. |
|
/trunk/kernel/arch/ia32/src/boot/cboot.c /trunk/kernel/generic/include/string.h /trunk/kernel/generic/src/lib/string.c /trunk/kernel/generic/src/main/kinit.c /trunk/uspace/srv/loader/main.c
|
4011 |
5654 d 17 h |
svoboda |
/trunk/kernel/ |
String functions should be declared in string.h (and implemented in string.c) in the kernel. |
|
/trunk/kernel/generic/include/string.h /trunk/kernel/generic/src/lib/string.c
/trunk/kernel/Makefile /trunk/kernel/arch/ia32/src/boot/cboot.c /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/drivers/pci.c /trunk/kernel/arch/sparc64/src/drivers/scr.c /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/genarch/src/ofw/pci.c /trunk/kernel/generic/include/func.h /trunk/kernel/generic/include/memstr.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/debug/symtab.c /trunk/kernel/generic/src/lib/func.c /trunk/kernel/generic/src/lib/memstr.c /trunk/kernel/generic/src/printf/printf_core.c /trunk/kernel/generic/src/proc/task.c
|
3987 |
5655 d 18 h |
svoboda |
/trunk/kernel/ |
Read command line for multiboot modules on ia32 and copy it to task name. Other arches will need to initialize task names in the init structure to an empty string. |
|
/trunk/kernel/arch/amd64/src/boot/boot.S /trunk/kernel/arch/ia32/src/boot/cboot.c /trunk/kernel/generic/include/config.h /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/proc/task.c
|
3985 |
5655 d 19 h |
svoboda |
/trunk/kernel/arch/ia32/src/boot/ |
Rewrite rest of multiboot info parsing to C. |
|
/trunk/kernel/arch/ia32/src/boot/boot.S /trunk/kernel/arch/ia32/src/boot/cboot.c
|
3984 |
5655 d 19 h |
svoboda |
/trunk/kernel/ |
The ia32-specific boot code is written completely in assembly for no reason. Start fixing this. For now rewrite the copying of multiboot info to C. |
|
/trunk/kernel/arch/ia32/include/boot/cboot.h /trunk/kernel/arch/ia32/src/boot/cboot.c
/trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia32/src/boot/boot.S /trunk/kernel/generic/include/main/main.h /trunk/kernel/generic/src/main/main.c
|
3982 |
5656 d 20 h |
jermar |
/trunk/kernel/ |
Do not set sysinfo for uspace drivers directly in the kernel drivers. |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c
|
3973 |
5658 d 3 h |
decky |
/trunk/kernel/ |
kernel memory management revisited (phase 2): map physical memory according to zones
- ia32: register reserved and ACPI zones
- pareas are now used only for mapping of present physical memory (hw_area() is gone)
- firmware zones and physical addresses outside any zones are allowed to be mapped generally
- fix nasty antient bug in zones_insert_zone() |
|
/trunk/kernel/arch/amd64/include/mm/frame.h /trunk/kernel/arch/amd64/src/mm/page.c /trunk/kernel/arch/arm32/include/mm/frame.h /trunk/kernel/arch/arm32/src/mm/frame.c /trunk/kernel/arch/arm32/src/mm/page.c /trunk/kernel/arch/ia32/include/boot/memmap.h /trunk/kernel/arch/ia32/include/mm/frame.h /trunk/kernel/arch/ia32/src/mm/frame.c /trunk/kernel/arch/ia32/src/mm/page.c /trunk/kernel/arch/ia64/include/mm/frame.h /trunk/kernel/arch/ia64/src/mm/frame.c /trunk/kernel/arch/ia64/src/mm/page.c /trunk/kernel/arch/mips32/include/mm/frame.h /trunk/kernel/arch/mips32/src/mm/frame.c /trunk/kernel/arch/mips32/src/mm/page.c /trunk/kernel/arch/ppc32/include/mm/frame.h /trunk/kernel/arch/ppc32/src/mm/frame.c /trunk/kernel/arch/ppc32/src/mm/page.c /trunk/kernel/arch/sparc64/include/mm/frame.h /trunk/kernel/arch/sparc64/src/mm/frame.c /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/generic/include/align.h /trunk/kernel/generic/include/mm/frame.h /trunk/kernel/generic/include/mm/page.h /trunk/kernel/generic/src/ddi/ddi.c /trunk/kernel/generic/src/mm/frame.c
|
3972 |
5658 d 15 h |
decky |
/trunk/kernel/ |
kernel memory management revisited (phase 1): proper support for zone flags
- the zone_t structures are now statically allocated to be easily available
- the locking scheme was simplified
- new flags for non-available zones were introduced
- FRAME_LOW_4_GiB flag is removed, the functionality will be eventually reimplemented using a generic mechanism |
|
/trunk/kernel/arch/ia32/src/mm/frame.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/generic/include/mm/buddy.h /trunk/kernel/generic/include/mm/frame.h /trunk/kernel/generic/include/mm/slab.h /trunk/kernel/generic/src/mm/buddy.c /trunk/kernel/generic/src/mm/frame.c /trunk/kernel/generic/src/mm/slab.c
|
3964 |
5661 d 1 h |
decky |
/trunk/kernel/ |
switch between the preference of kernel/uspace IRQ hash table |
|
/trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/generic/include/console/console.h /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/irq.c
|
3963 |
5662 d 23 h |
jermar |
/trunk/kernel/ |
The kernel i8042 driver should be instance-neutral. |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/src/kbd/i8042.c
|
3947 |
5663 d 21 h |
jermar |
/trunk/ |
This is the evil commit. In particular, it does:
- introduces more powerful pseudo code for userspace IRQ top-half handlers
- changes the internals of IRQ dispatching
- simplifies the kernel's i8042 driver
- adapts the uspace i8042 driver to make use of the new pseudocode
- breaks all other architectures except ia32
- breaks almost all existing drivers
- breaks switching between uspace and kernel drivers |
|
/trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/irq.c /trunk/uspace/srv/kbd/port/i8042.c
|
3941 |
5664 d 18 h |
jermar |
/trunk/kernel/ |
Let IRQ claim methods take irq_t * instead of the instance argument. |
|
/trunk/kernel/arch/arm32/src/drivers/gxemul.c /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/smp/apic.c /trunk/kernel/arch/ia64/src/drivers/it.c /trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/kernel/arch/mips32/src/drivers/serial.c /trunk/kernel/arch/mips32/src/interrupt.c /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/include/kbd/z8530.h /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/console/kconsole.c
|
3940 |
5664 d 21 h |
decky |
/trunk/kernel/ |
make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64 |
|
/trunk/kernel/arch/amd64/include/mm/tlb.h /trunk/kernel/arch/amd64/src/mm/page.c /trunk/kernel/arch/arm32/include/mm/tlb.h /trunk/kernel/arch/arm32/src/mm/page.c /trunk/kernel/arch/arm32/src/mm/tlb.c /trunk/kernel/arch/ia32/include/mm/tlb.h /trunk/kernel/arch/ia32/src/mm/page.c /trunk/kernel/arch/ia32/src/mm/tlb.c /trunk/kernel/arch/ia64/include/mm/tlb.h /trunk/kernel/arch/ia64/src/mm/page.c /trunk/kernel/arch/ia64/src/mm/tlb.c /trunk/kernel/arch/mips32/src/mm/page.c /trunk/kernel/arch/ppc32/src/mm/page.c /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/genarch/include/drivers/ega/ega.h /trunk/kernel/genarch/include/drivers/legacy/ia32/io.h /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/generic/include/mm/page.h /trunk/kernel/generic/src/ddi/ddi.c
|
3932 |
5665 d 16 h |
jermar |
/trunk/kernel/ |
Kill arch/drivers/ega.h. Provide one-stop shopping
place for architectures with ia32 legacy I/O space. |
|
/trunk/kernel/genarch/include/drivers/legacy /trunk/kernel/genarch/include/drivers/legacy/ia32 /trunk/kernel/genarch/include/drivers/legacy/ia32/io.h
/trunk/kernel/arch/ia32/include/drivers/ega.h /trunk/kernel/arch/ia64/include/drivers/ega.h
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/genarch/src/kbd/i8042.c
|
3930 |
5665 d 17 h |
jermar |
/trunk/kernel/ |
Adapt most of the kernel to ioport8_t, ioport16_t and ioport32_t types. |
|
/trunk/kernel/arch/ia32/include/drivers/ega.h /trunk/kernel/arch/ia32/include/drivers/i8259.h /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/drivers/i8259.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia64/include/drivers/ega.h /trunk/kernel/genarch/include/drivers/ega/ega.h /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/generic/src/ipc/irq.c
|
3908 |
5668 d 20 h |
decky |
/trunk/ |
overhaul pareas: use one single physical area for the physical address space not belonging to physical memory |
|
/trunk/kernel/arch/amd64/include/mm/frame.h /trunk/kernel/arch/amd64/src/mm/page.c /trunk/kernel/arch/arm32/include/mm/frame.h /trunk/kernel/arch/arm32/src/mm/frame.c /trunk/kernel/arch/arm32/src/mm/page.c /trunk/kernel/arch/ia32/include/mm/frame.h /trunk/kernel/arch/ia32/src/mm/frame.c /trunk/kernel/arch/ia32/src/mm/page.c /trunk/kernel/arch/ia64/include/mm/frame.h /trunk/kernel/arch/ia64/src/mm/frame.c /trunk/kernel/arch/ia64/src/mm/page.c /trunk/kernel/arch/mips32/include/mm/frame.h /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/kernel/arch/mips32/src/mm/frame.c /trunk/kernel/arch/mips32/src/mm/page.c /trunk/kernel/arch/ppc32/include/mm/frame.h /trunk/kernel/arch/ppc32/src/mm/frame.c /trunk/kernel/arch/ppc32/src/mm/page.c /trunk/kernel/arch/sparc64/include/mm/frame.h /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/kernel/arch/sparc64/src/mm/frame.c /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/generic/include/ddi/ddi.h /trunk/kernel/generic/include/mm/page.h /trunk/kernel/generic/src/adt/avl.c /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/ddi/ddi.c /trunk/kernel/generic/src/lib/rd.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/time/clock.c /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/msim.c /trunk/uspace/srv/fb/sgcn.c /trunk/uspace/srv/kbd/arch/sparc64/src/sgcn.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/rd/rd.c
|
3906 |
5669 d 16 h |
jermar |
/trunk/kernel/ |
IRQ handlers are using one superfluous argument and an unused elipsis.
On the other hand, IRQ claim functions would need to be passed the instance
argument. |
|
/trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/arm32/src/drivers/gxemul.c /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/interrupt.c /trunk/kernel/arch/ia32/src/smp/apic.c /trunk/kernel/arch/ia64/src/drivers/it.c /trunk/kernel/arch/ia64/src/interrupt.c /trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/kernel/arch/mips32/src/drivers/serial.c /trunk/kernel/arch/mips32/src/exception.c /trunk/kernel/arch/mips32/src/interrupt.c /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/ppc32/src/interrupt.c /trunk/kernel/arch/sparc64/include/cpu_family.h /trunk/kernel/arch/sparc64/include/cpu_node.h /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/include/kbd/z8530.h /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/ddi/irq.c
|
3902 |
5669 d 23 h |
jermar |
/trunk/kernel/ |
Introduce a more platform-neutral name for programmed I/O.
The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers. |
|
/trunk/kernel/arch/amd64/include/asm.h /trunk/kernel/arch/arm32/include/asm.h /trunk/kernel/arch/ia32/include/asm.h /trunk/kernel/arch/ia32/include/drivers/i8042.h /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/drivers/i8259.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/drivers/i8042.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/ppc32/include/asm.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/generic/src/ipc/irq.c
|
3892 |
5670 d 18 h |
jermar |
/trunk/ |
Get rid of CONFIG_DEBUG_AS_WATCHPOINT. |
|
/trunk/HelenOS.config /trunk/kernel/arch/amd64/src/debugger.c /trunk/kernel/arch/amd64/src/proc/scheduler.c /trunk/kernel/arch/ia32/src/proc/scheduler.c
|
3891 |
5670 d 18 h |
jermar |
/trunk/ |
Get rid of CONFIG_SIMICS_FIX. |
|
/trunk/HelenOS.config /trunk/kernel/arch/ia32/src/mm/frame.c
|
3890 |
5670 d 18 h |
jermar |
/trunk/ |
Get rid of CONFIG_DEBUG_ALLREGS. |
|
/trunk/HelenOS.config /trunk/kernel/arch/amd64/include/interrupt.h /trunk/kernel/arch/amd64/src/asm_utils.S /trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/ia32/include/interrupt.h /trunk/kernel/arch/ia32/src/asm.S /trunk/kernel/arch/ia32/src/interrupt.c /trunk/kernel/arch/mips32/include/context_offset.h /trunk/kernel/arch/mips32/include/exception.h /trunk/kernel/arch/mips32/src/start.S
|
3880 |
5672 d 19 h |
decky |
/trunk/kernel/arch/ |
simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup |
|
/trunk/kernel/arch/sparc64/include/drivers/ns16550.h
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/amd64/src/debugger.c /trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/arm32/include/asm.h /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/_link.ld.in /trunk/kernel/arch/ia32/include/fpu_context.h /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/drivers/kbd.h /trunk/kernel/arch/ia64/include/fpu_context.h /trunk/kernel/arch/ia64/include/interrupt.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/interrupt.c /trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/mips32/include/context_offset.h /trunk/kernel/arch/mips32/src/asm.S /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/kernel/arch/mips32/src/fpu_context.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/mips32/src/mm/frame.c /trunk/kernel/arch/ppc32/include/asm.h /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/_link.ld.in /trunk/kernel/arch/sparc64/include/fpu_context.h /trunk/kernel/arch/sparc64/src/sparc64.c
|
3802 |
5696 d 23 h |
decky |
/trunk/kernel/arch/ |
fallback to VGA registers if VESA routine fails |
|
/trunk/kernel/arch/amd64/src/boot/boot.S /trunk/kernel/arch/ia32/src/boot/boot.S
|
3790 |
5708 d 3 h |
svoboda |
/trunk/kernel/ |
Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely. |
|
/trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/amd64/src/mm/page.c /trunk/kernel/arch/amd64/src/pm.c /trunk/kernel/arch/arm32/src/mm/page.c /trunk/kernel/arch/arm32/src/mm/page_fault.c /trunk/kernel/arch/ia32/src/drivers/vesa.c /trunk/kernel/arch/ia32/src/interrupt.c /trunk/kernel/arch/ia32/src/mm/page.c /trunk/kernel/arch/ia32/src/pm.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia32xen/src/interrupt.c /trunk/kernel/arch/ia32xen/src/mm/page.c /trunk/kernel/arch/ia32xen/src/pm.c /trunk/kernel/arch/ia32xen/src/smp/smp.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/interrupt.c /trunk/kernel/arch/ia64/src/mm/tlb.c /trunk/kernel/arch/mips32/src/cache.c /trunk/kernel/arch/mips32/src/debugger.c /trunk/kernel/arch/mips32/src/exception.c /trunk/kernel/arch/mips32/src/mm/tlb.c /trunk/kernel/arch/ppc32/src/mm/page.c /trunk/kernel/arch/ppc32/src/mm/tlb.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/ppc64/include/exception.h /trunk/kernel/arch/ppc64/src/mm/page.c /trunk/kernel/arch/ppc64/src/ppc64.c /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/drivers/fhc.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/drivers/scr.c /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/smp/ipi.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/trap/exception.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/genarch/src/ofw/fhc.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/genarch/src/ofw/pci.c /trunk/kernel/generic/include/debug.h /trunk/kernel/generic/include/panic.h /trunk/kernel/generic/src/adt/btree.c /trunk/kernel/generic/src/adt/hash_table.c /trunk/kernel/generic/src/cpu/cpu.c /trunk/kernel/generic/src/interrupt/interrupt.c /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/mm/backend_anon.c /trunk/kernel/generic/src/mm/backend_elf.c /trunk/kernel/generic/src/mm/backend_phys.c /trunk/kernel/generic/src/mm/tlb.c /trunk/kernel/generic/src/proc/scheduler.c /trunk/kernel/generic/src/proc/tasklet.c /trunk/kernel/generic/src/synch/rwlock.c /trunk/kernel/generic/src/sysinfo/sysinfo.c /trunk/kernel/generic/src/time/clock.c /trunk/kernel/generic/src/time/timeout.c
|
3788 |
5708 d 16 h |
svoboda |
/trunk/kernel/ |
Unify newlines in fault_if_from_uspace() format strings. (Remove them and print newline automatically). Also start messages with caps. |
|
/trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/amd64/src/mm/page.c /trunk/kernel/arch/arm32/src/mm/page_fault.c /trunk/kernel/arch/ia32/src/interrupt.c /trunk/kernel/arch/ia32xen/src/interrupt.c /trunk/kernel/arch/ia32xen/src/mm/page.c /trunk/kernel/arch/ia64/src/interrupt.c /trunk/kernel/arch/mips32/src/exception.c /trunk/kernel/arch/mips32/src/mm/tlb.c /trunk/kernel/arch/ppc32/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/trap/exception.c /trunk/kernel/generic/include/interrupt.h /trunk/kernel/generic/src/interrupt/interrupt.c
|
3779 |
5712 d 1 h |
jermar |
/trunk/kernel/ |
Only one kernel EGA driver to rule them all. |
|
/trunk/kernel/genarch/include/drivers /trunk/kernel/genarch/include/drivers/ega /trunk/kernel/genarch/include/drivers/ega/ega.h /trunk/kernel/genarch/src/drivers /trunk/kernel/genarch/src/drivers/ega /trunk/kernel/genarch/src/drivers/ega/ega.c
/trunk/kernel/arch/ia32/src/drivers/ega.c /trunk/kernel/arch/ia64/src/drivers/ega.c
/trunk/kernel/arch/amd64/Makefile.inc /trunk/kernel/arch/amd64/include/types.h /trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia32/include/types.h /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/Makefile.inc /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/drivers/ega.h /trunk/kernel/arch/ia64/include/types.h /trunk/kernel/arch/ia64/src/asm.S /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/sparc64/include/types.h /trunk/kernel/genarch/Makefile.inc
|
3751 |
5720 d 3 h |
svoboda |
/trunk/kernel/arch/ia32/src/drivers/ |
Revive kernel EGA fb driver. Plus fix bug -- was using memcpy() for scrolling instead of memmove(). |
|
/trunk/kernel/arch/ia32/src/drivers/ega.c
|
3709 |
5730 d 19 h |
decky |
/trunk/kernel/ |
invert VGA 3:2:3 palette to reflect changes in revision 3692 |
|
/trunk/kernel/arch/ia32/src/boot/vga323.pal /trunk/kernel/genarch/src/fb/fb.c
|
3707 |
5730 d 20 h |
decky |
/trunk/ |
kconsole is optional
kernel & uspace framebuffer rewrite with speedups (some things are slightly broken yet) |
|
/trunk/kernel/genarch/src/fb/helenos.xbm
/trunk/kernel/arch/amd64/src/debugger.c /trunk/kernel/arch/ia32/include/drivers/ega.h /trunk/kernel/arch/ia32/include/drivers/vesa.h /trunk/kernel/arch/ia32/src/cpu/cpu.c /trunk/kernel/arch/ia32/src/drivers/vesa.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/mips32/src/cpu/cpu.c /trunk/kernel/arch/mips32/src/debugger.c /trunk/kernel/arch/mips32/src/exception.c /trunk/kernel/genarch/include/fb/fb.h /trunk/kernel/genarch/include/fb/font-8x16.h /trunk/kernel/genarch/include/fb/visuals.h /trunk/kernel/genarch/src/acpi/acpi.c /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/genarch/src/fb/font-8x16.c /trunk/kernel/genarch/src/mm/asid.c /trunk/kernel/generic/include/console/kconsole.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/cpu/cpu.c /trunk/kernel/generic/src/interrupt/interrupt.c /trunk/kernel/generic/src/lib/func.c /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/lib/libc/include/ipc/fb.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/console/gcons.h /trunk/uspace/srv/console/screenbuffer.h /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/fb.h /trunk/uspace/srv/fb/font-8x16.c /trunk/uspace/srv/fb/font-8x16.h /trunk/uspace/srv/fb/main.c /trunk/uspace/srv/fb/ppm.c
|
3672 |
5741 d 19 h |
jermar |
/trunk/ |
Merge sparc branch to trunk. |
|
/trunk/boot/arch/sparc64/silo/silo.patched.tar.gz /trunk/contrib/util /trunk/kernel/arch/sparc64/include/cpu_family.h /trunk/kernel/arch/sparc64/include/cpu_node.h /trunk/kernel/arch/sparc64/include/drivers/sgcn.h /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/uspace/srv/fb/serial_console.c /trunk/uspace/srv/fb/serial_console.h /trunk/uspace/srv/fb/sgcn.c /trunk/uspace/srv/fb/sgcn.h /trunk/uspace/srv/kbd/arch/sparc64/include/sgcn.h /trunk/uspace/srv/kbd/arch/sparc64/src/sgcn.c /trunk/uspace/srv/kbd/genarch/include/nofb.h /trunk/uspace/srv/kbd/genarch/src/nofb.c
/trunk/boot/arch/ppc64/Makefile.inc /trunk/boot/arch/sparc64/Makefile.inc /trunk/boot/arch/sparc64/loader/asm.S /trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/main.h /trunk/boot/arch/sparc64/loader/ofwarch.c /trunk/boot/arch/sparc64/loader/register.h /trunk/boot/boot.config /trunk/boot/genarch/balloc.h /trunk/boot/genarch/ofw.c /trunk/boot/genarch/ofw_tree.c /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/src/drivers/vesa.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/arch.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/cpu.h /trunk/kernel/arch/sparc64/include/drivers/kbd.h /trunk/kernel/arch/sparc64/include/drivers/scr.h /trunk/kernel/arch/sparc64/include/mm/cache.h /trunk/kernel/arch/sparc64/include/mm/cache_spec.h /trunk/kernel/arch/sparc64/include/mm/frame.h /trunk/kernel/arch/sparc64/include/mm/mmu.h /trunk/kernel/arch/sparc64/include/mm/tlb.h /trunk/kernel/arch/sparc64/include/mm/tsb.h /trunk/kernel/arch/sparc64/include/mm/tte.h /trunk/kernel/arch/sparc64/include/regdef.h /trunk/kernel/arch/sparc64/include/register.h /trunk/kernel/arch/sparc64/include/trap/interrupt.h /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/cpu/cpu.c /trunk/kernel/arch/sparc64/src/ddi/ddi.c /trunk/kernel/arch/sparc64/src/drivers/scr.c /trunk/kernel/arch/sparc64/src/drivers/tick.c /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/mm/cache.S /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/mm/tsb.c /trunk/kernel/arch/sparc64/src/smp/ipi.c /trunk/kernel/arch/sparc64/src/smp/smp.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/include/fb/fb.h /trunk/kernel/genarch/include/fb/visuals.h /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/kernel.config /trunk/uspace/srv/console/console.c /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fb/main.c /trunk/uspace/srv/fb/msim.c /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/kbd/arch/mips32/src/kbd.c /trunk/uspace/srv/kbd/arch/sparc64/src/kbd.c
|
3631 |
5752 d 17 h |
jermar |
/trunk/kernel/arch/ia32/src/ |
The IA-32 manual is very secretive about the fact that the SYSENTER instruction
disables interrupts (I found only one evidence of this in the instruction's
pseudo code). The sysenter_handler needs to reenable the interrupts in order to
preserve the preemptive nature of the kernel. |
|
/trunk/kernel/arch/ia32/src/asm.S
|
3485 |
5802 d 17 h |
jermar |
/trunk/ |
Support for SYSENTER on ia32. |
|
/trunk/kernel/arch/ia32/include/syscall.h /trunk/kernel/arch/ia32/src/syscall.c
/trunk/kernel/arch/amd64/include/syscall.h /trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia32/include/asm.h /trunk/kernel/arch/ia32/include/cpu.h /trunk/kernel/arch/ia32/src/asm.S /trunk/kernel/arch/ia32/src/cpu/cpu.c /trunk/kernel/arch/ia32/src/proc/scheduler.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/arch/amd64/include/syscall.h /trunk/uspace/lib/libc/arch/arm32/include/syscall.h /trunk/uspace/lib/libc/arch/ia32/include/syscall.h /trunk/uspace/lib/libc/arch/ia32/src/syscall.S /trunk/uspace/lib/libc/arch/ia64/include/syscall.h /trunk/uspace/lib/libc/arch/mips32/include/syscall.h /trunk/uspace/lib/libc/arch/ppc32/include/syscall.h /trunk/uspace/lib/libc/arch/ppc64/include/syscall.h /trunk/uspace/lib/libc/arch/sparc64/include/syscall.h /trunk/uspace/lib/libc/generic/udebug.c /trunk/uspace/lib/libc/include/libc.h /trunk/uspace/lib/libc/include/syscall.h
|
3274 |
5858 d 23 h |
jermar |
/trunk/ |
memcpy(), memmove() and similar functions return dst instead of src.
Fix all implementations, including those in assembly. ppc32 assembly
version didn't seem to be affected by this. |
|
/trunk/boot/arch/arm32/loader/asm.S /trunk/boot/arch/mips32/loader/asm.S /trunk/boot/arch/sparc64/loader/asm.S /trunk/kernel/arch/amd64/src/asm_utils.S /trunk/kernel/arch/arm32/src/asm.S /trunk/kernel/arch/ia32/src/asm.S /trunk/kernel/arch/ia32xen/src/asm.S /trunk/kernel/arch/ia64/src/asm.S /trunk/kernel/arch/mips32/src/asm.S /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/generic/src/lib/memstr.c /trunk/uspace/lib/libc/generic/string.c
|
3240 |
5869 d 4 h |
decky |
/ |
move unfinished ObjC support to a separate branch |
|
/branches/cs
/trunk/kernel/generic/include/lib/objc.h /trunk/kernel/generic/include/lib/objc_ext.h /trunk/kernel/generic/src/lib/objc.c /trunk/kernel/generic/src/lib/objc_ext.c
/trunk/kernel/Makefile /trunk/kernel/arch/ia32/src/mm/as.c /trunk/kernel/genarch/include/mm/page_pt.h /trunk/kernel/genarch/src/mm/as_pt.c /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/src/mm/as.c /trunk/kernel/kernel.config
|
3234 |
5872 d 23 h |
decky |
/trunk/ |
reintroduce support for MSIM text console in user space |
|
/trunk/uspace/srv/fb/msim.c /trunk/uspace/srv/fb/msim.h
/trunk/kernel/arch/ia32/src/drivers/ega.c /trunk/kernel/arch/mips32/include/drivers/msim.h /trunk/kernel/arch/mips32/include/drivers/serial.h /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fb/main.c
|