Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4220 |
5623 d 4 h |
decky |
/trunk/kernel/ |
update for string changes |
|
/trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/arm32/src/asm.S /trunk/kernel/arch/ia64/src/cpu/cpu.c /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/src/asm.S /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/src/asm.S /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/include/drivers/sgcn.h /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/arch/sparc64/src/mm/page.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/genarch/src/drivers/dsrln/dsrlnout.c /trunk/kernel/genarch/src/multiboot/multiboot.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/src/main/kinit.c /trunk/kernel/generic/src/proc/program.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/proc/thread.c /trunk/kernel/generic/src/synch/spinlock.c
|
4148 |
5639 d 1 h |
decky |
/trunk/ |
as kernel little brother drivers are not needed anymore, the device numbers do not have to be correlated between kernel and uspace in any way
introduce new syscall sys_device_assign_devno() for generating system-wide unique device numbers for uspace |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia32/src/smp/apic.c /trunk/kernel/arch/ia64/src/drivers/it.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/include/drivers/cuda.h /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/drivers/dsrln/dsrlnin.h /trunk/kernel/genarch/include/drivers/i8042/i8042.h /trunk/kernel/genarch/include/drivers/ns16550/ns16550.h /trunk/kernel/genarch/include/drivers/z8530/z8530.h /trunk/kernel/genarch/src/drivers/dsrln/dsrlnin.c /trunk/kernel/genarch/src/drivers/i8042/i8042.c /trunk/kernel/genarch/src/drivers/ns16550/ns16550.c /trunk/kernel/genarch/src/drivers/z8530/z8530.c /trunk/kernel/generic/include/ddi/device.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/ddi/device.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/klog/klog.c /trunk/uspace/lib/libc/generic/ddi.c /trunk/uspace/lib/libc/include/ddi.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/kbd/port/gxemul.c /trunk/uspace/srv/kbd/port/i8042.c /trunk/uspace/srv/kbd/port/msim.c /trunk/uspace/srv/kbd/port/ns16550.c /trunk/uspace/srv/kbd/port/z8530.c
|
4117 |
5644 d 13 h |
decky |
/trunk/ |
arm32: update for the new scheme of device drivers and keyboard/serial modules
streamline arm32 port (as GXemul is still the only machine supported), more cleanup is needed |
|
/trunk/kernel/arch/arm32/include/debug /trunk/kernel/arch/arm32/include/machine.h /trunk/kernel/arch/arm32/src/debug
/trunk/HelenOS.config /trunk/defaults/arm32/Makefile.config /trunk/kernel/arch/arm32/Makefile.inc /trunk/kernel/arch/arm32/include/asm/boot.h /trunk/kernel/arch/arm32/include/drivers/gxemul.h /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/arm32/src/console.c /trunk/kernel/arch/arm32/src/drivers/gxemul.c /trunk/kernel/arch/arm32/src/exception.c /trunk/kernel/arch/arm32/src/interrupt.c /trunk/kernel/arch/arm32/src/mm/frame.c /trunk/kernel/arch/arm32/src/mm/page.c /trunk/kernel/arch/arm32/src/mm/page_fault.c /trunk/kernel/arch/arm32/src/panic.S
|
4045 |
5649 d 16 h |
jermar |
/trunk/kernel/arch/arm32/ |
Remove ARM's console_init() because it conflicts with the generic
console_init(). No functionality loss as it was a mere wrapper around
machine_console_init(). |
|
/trunk/kernel/arch/arm32/include/console.h /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/arm32/src/console.c
|
4027 |
5653 d 13 h |
svoboda |
/trunk/ |
Init task names for arm32. |
|
/trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/arm32/loader/main.c /trunk/boot/arch/arm32/loader/main.h /trunk/kernel/arch/arm32/include/arch.h /trunk/kernel/arch/arm32/src/arm32.c
|
4023 |
5653 d 15 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
|
4021 |
5653 d 16 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 |
5653 d 20 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
|
3973 |
5658 d 0 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
|
3952 |
5663 d 16 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 |
5663 d 17 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 |
5663 d 17 h |
jermar |
/trunk/kernel/arch/arm32/include/ |
PIO functions for arm32. |
|
/trunk/kernel/arch/arm32/include/asm.h
|
3941 |
5664 d 15 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 19 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
|
3929 |
5665 d 14 h |
jermar |
/trunk/kernel/arch/ |
Introduce ioport8_t, ioport16_t and ioport32_t. These types are to be used with
pio_read_n() and pio_write_n() functions. This breaks everything. |
|
/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/asm.h /trunk/kernel/arch/sparc64/include/types.h
|
3922 |
5667 d 13 h |
decky |
/trunk/ |
make arch_pre_main optional, don't force any specific prototype
simplify boot process
mips32: detect number of configured CPUs in msim |
|
/trunk/kernel/arch/arm32/include/boot.h /trunk/kernel/arch/mips32/include/boot.h
/trunk/boot/arch/arm32/loader/asm.h /trunk/boot/arch/arm32/loader/boot.S /trunk/boot/arch/arm32/loader/main.c /trunk/boot/arch/arm32/loader/main.h /trunk/boot/arch/mips32/loader/asm.h /trunk/boot/arch/mips32/loader/boot.S /trunk/boot/arch/mips32/loader/main.c /trunk/boot/arch/mips32/loader/main.h /trunk/kernel/arch/arm32/include/arch.h /trunk/kernel/arch/arm32/include/asm/boot.h /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/arm32/src/start.S /trunk/kernel/arch/ia64/include/arch.h /trunk/kernel/arch/mips32/include/arch.h /trunk/kernel/arch/mips32/include/asm/boot.h /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/mips32/src/smp/smp.c /trunk/kernel/arch/mips32/src/start.S /trunk/kernel/arch/ppc32/include/arch.h /trunk/kernel/arch/ppc32/include/boot/boot.h /trunk/kernel/arch/ppc32/src/boot/boot.S /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/include/arch.h /trunk/kernel/generic/include/arch.h
|
3917 |
5667 d 14 h |
decky |
/trunk/ |
remove non-standard define |
|
/trunk/HelenOS.config /trunk/kernel/arch/arm32/Makefile.inc /trunk/kernel/arch/arm32/_link.ld.in /trunk/kernel/arch/arm32/include/machine.h
|
3908 |
5668 d 17 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 13 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 21 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
|