Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4026 5603 d 15 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
4023 5603 d 17 h svoboda /trunk/kernel/arch/ Unify arch_pre_main() comments.  
/trunk/kernel/arch/arm32/src/arm32.c
/trunk/kernel/arch/ia64/src/ia64.c
/trunk/kernel/arch/mips32/src/mips32.c
/trunk/kernel/arch/ppc32/src/ppc32.c
/trunk/kernel/arch/sparc64/src/sparc64.c
4022 5603 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
4021 5603 d 18 h jermar /trunk/kernel/ There is no need to define ioport{8,16,32}_t types for each architecture separately.  
/trunk/kernel/arch/amd64/include/asm.h
/trunk/kernel/arch/amd64/include/types.h
/trunk/kernel/arch/arm32/include/asm.h
/trunk/kernel/arch/arm32/include/types.h
/trunk/kernel/arch/ia32/include/asm.h
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/ia64/include/asm.h
/trunk/kernel/arch/ia64/include/types.h
/trunk/kernel/arch/mips32/include/asm.h
/trunk/kernel/arch/mips32/include/types.h
/trunk/kernel/arch/ppc32/include/asm.h
/trunk/kernel/arch/ppc32/include/types.h
/trunk/kernel/arch/sparc64/include/types.h
/trunk/kernel/genarch/include/drivers/ega/ega.h
/trunk/kernel/generic/include/typedefs.h
4018 5603 d 22 h decky /trunk/kernel/arch/arm32/ better inline assembler readability using the new symbolic syntax  
/trunk/kernel/arch/arm32/include/asm.h
/trunk/kernel/arch/arm32/include/atomic.h
/trunk/kernel/arch/arm32/include/barrier.h
/trunk/kernel/arch/arm32/include/mm/page.h
/trunk/kernel/arch/arm32/include/regutils.h
/trunk/kernel/arch/arm32/src/cpu/cpu.c
/trunk/kernel/arch/arm32/src/exception.c
/trunk/kernel/arch/arm32/src/mm/page_fault.c
/trunk/kernel/arch/arm32/src/mm/tlb.c
/trunk/kernel/arch/arm32/src/userspace.c
4017 5603 d 22 h decky /trunk/kernel/arch/amd64/ better inline assembler readability using the new symbolic syntax  
/trunk/kernel/arch/amd64/include/asm.h
/trunk/kernel/arch/amd64/include/atomic.h
/trunk/kernel/arch/amd64/src/amd64.c
/trunk/kernel/arch/amd64/src/cpu/cpu.c
/trunk/kernel/arch/amd64/src/fpu_context.c
/trunk/kernel/arch/amd64/src/userspace.c
4016 5603 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 5604 d 1 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 5604 d 1 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 5604 d 16 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 5604 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 5605 d 17 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 5605 d 18 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 5605 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 5606 d 19 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
3978 5607 d 17 h jermar /trunk/ Userspace driver for OBIO. This will make it possible to clear interrupts from
user space on UltraSPARC IIi and systems with Psycho. Not tested.
 
/trunk/uspace/srv/obio
/trunk/uspace/srv/obio/obio.c
/trunk/uspace/srv/obio/fhc.c
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/kernel/arch/sparc64/src/drivers/fhc.c
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/kernel/arch/sparc64/src/drivers/pci.c
/trunk/uspace/Makefile
/trunk/uspace/lib/libc/include/ipc/services.h
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/obio/Makefile
3973 5608 d 2 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 5608 d 14 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
3971 5609 d 15 h vana /trunk/kernel/arch/ia64/src/mm/ Fix I/O access to identicaly mapped space  
/trunk/kernel/arch/ia64/src/mm/page.c
3969 5609 d 16 h jermar /trunk/ Add simple userspace FHC driver.
Modify the z8530 userspace driver
to send BUS_CLEAR_INTERRUPT
notification to the FHC driver.
 
/trunk/uspace/lib/libc/include/ipc/bus.h
/trunk/uspace/srv/fhc
/trunk/uspace/srv/fhc/Makefile
/trunk/uspace/srv/fhc/fhc.c
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/kernel/arch/sparc64/src/drivers/fhc.c
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/uspace/Makefile
/trunk/uspace/app/init/init.c
/trunk/uspace/lib/libc/include/ipc/services.h
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/kbd/include/kbd.h
/trunk/uspace/srv/kbd/port/z8530.c
3967 5609 d 20 h decky /trunk/kernel/arch/mips32/src/mm/ remove typo  
/trunk/kernel/arch/mips32/src/mm/frame.c
3966 5609 d 20 h decky /trunk/kernel/arch/mips32/src/mm/ replace old ifdefs  
/trunk/kernel/arch/mips32/src/mm/frame.c
3964 5611 d 0 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 5612 d 22 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
3962 5612 d 22 h jermar /trunk/kernel/arch/ia64/src/ski/ Make ia64 for ski build again.
Need to implement kernel notifications independent of IRQ notifications.
 
/trunk/kernel/arch/ia64/src/ski/ski.c
3961 5612 d 23 h jermar /trunk/ Unbreak sparc64.
Due to the lack of userspace bus drivers for the z8530 and ns16550,
we are currently handling exactly one interrupt from these devices
in userspace.
 
/trunk/kernel/arch/sparc64/include/drivers/z8530.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/kernel/arch/sparc64/src/drivers/sgcn.c
/trunk/kernel/genarch/include/kbd/z8530.h
/trunk/kernel/genarch/src/kbd/z8530.c
/trunk/uspace/srv/kbd/port/z8530.c
3957 5613 d 17 h jermar /trunk/kernel/arch/ppc32/ Unbreak ppc32 candidate.  
/trunk/kernel/arch/ppc32/include/drivers/cuda.h
/trunk/kernel/arch/ppc32/src/drivers/cuda.c
/trunk/kernel/arch/ppc32/src/ppc32.c
3956 5613 d 17 h jermar /trunk/kernel/arch/ppc32/include/ Add missing PIO functions to ppc32.  
/trunk/kernel/arch/ppc32/include/asm.h
3955 5613 d 17 h jermar /trunk/ Unbreak mips32 candidate.  
/trunk/kernel/arch/mips32/src/drivers/msim.c
/trunk/kernel/arch/mips32/src/drivers/serial.c
/trunk/uspace/srv/kbd/port/msim.c
3953 5613 d 17 h jermar /trunk/kernel/arch/mips32/include/ Add missing PIO functions for mips32.  
/trunk/kernel/arch/mips32/include/asm.h
3952 5613 d 18 h jermar /trunk/kernel/arch/arm32/ Remove unnecessary stuff from arm32.  
/trunk/kernel/arch/arm32/include/machine.h
/trunk/kernel/arch/arm32/src/console.c
/trunk/kernel/arch/arm32/src/drivers/gxemul.c
3951 5613 d 19 h jermar /trunk/ Unreak arm32 (as far as breakage introduced by 3947 goes) and
adapt the uspace GXemul kbd IRQ driver to use the new pseudo code.
 
/trunk/kernel/arch/arm32/src/drivers/gxemul.c
/trunk/uspace/srv/kbd/port/gxemul.c
3949 5613 d 19 h jermar /trunk/kernel/arch/arm32/include/ PIO functions for arm32.  
/trunk/kernel/arch/arm32/include/asm.h
3948 5613 d 20 h jermar /trunk/kernel/arch/amd64/ Unbreak amd64.  
/trunk/kernel/arch/amd64/include/asm.h
/trunk/kernel/arch/amd64/src/amd64.c
3947 5613 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
3946 5613 d 21 h jermar /trunk/kernel/arch/ia32/include/ Fix ia32's pio_{read,write}_32().  
/trunk/kernel/arch/ia32/include/asm.h
3941 5614 d 17 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 5614 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
3936 5614 d 22 h decky /trunk/ dash is not a safe character for C preprocessor, use underscore instead  
/trunk/HelenOS.config
/trunk/kernel/arch/ia32/Makefile.inc
3935 5615 d 14 h jermar /trunk/kernel/arch/sparc64/src/drivers/ Fix sparc64 build.  
/trunk/kernel/arch/sparc64/src/drivers/kbd.c