Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4097 |
5643 d 20 h |
decky |
/trunk/kernel/arch/ia32/include/drivers/ |
remove obsolete include file |
|
/trunk/kernel/arch/ia32/include/drivers/kbd.h
|
4095 |
5643 d 20 h |
decky |
/trunk/kernel/arch/ |
make cpu_halt() really halt the execution |
|
/trunk/kernel/arch/amd64/include/asm.h /trunk/kernel/arch/ia32/include/asm.h
|
4022 |
5652 d 16 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 |
5652 d 17 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
|
4016 |
5652 d 22 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 |
5653 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
|
3984 |
5654 d 18 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
|
3973 |
5657 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
|
3946 |
5662 d 21 h |
jermar |
/trunk/kernel/arch/ia32/include/ |
Fix ia32's pio_{read,write}_32(). |
|
/trunk/kernel/arch/ia32/include/asm.h
|
3940 |
5663 d 20 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 |
5664 d 15 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 |
5664 d 16 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
|
3929 |
5664 d 16 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
|
3928 |
5664 d 18 h |
jermar |
/trunk/kernel/ |
Kill arch/drivers/i8042.h. |
|
/trunk/kernel/arch/ia32/include/drivers/i8042.h /trunk/kernel/arch/ia64/include/drivers/i8042.h
/trunk/kernel/genarch/src/kbd/i8042.c
|
3908 |
5667 d 19 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
|
3903 |
5668 d 22 h |
jermar |
/trunk/kernel/arch/ia32/include/ |
Fix ia32 build for Pentium 3 systems. |
|
/trunk/kernel/arch/ia32/include/barrier.h
|
3902 |
5668 d 22 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
|
3890 |
5669 d 17 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
|
3889 |
5669 d 22 h |
svoboda |
/trunk/kernel/arch/ia32/include/drivers/ |
Make ia32/amd64 compile again. This is mostly a hack, but a more drastic cleanup is needed to do it the right way. |
|
/trunk/kernel/arch/ia32/include/drivers/kbd.h
|
3880 |
5671 d 18 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
|