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
1841 6547 d 16 h jermar /trunk/kernel/ Start reorganization of different keyboard drivers.
What seemed like a screwed i8042 chip appears to be
Zilog 8530.

The repository won't compile now. To be fixed in next commits.
 
/trunk/kernel/arch/sparc64/include/drivers/z8530.h
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/kernel/genarch/include/kbd
/trunk/kernel/genarch/include/kbd/z8530.h
/trunk/kernel/genarch/src/kbd
/trunk/kernel/arch/sparc64/include/drivers/i8042.h
/trunk/kernel/arch/sparc64/src/drivers/i8042.c
/trunk/kernel/genarch/include/i8042
/trunk/kernel/genarch/src/i8042
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/genarch/include/kbd/i8042.h
/trunk/kernel/genarch/include/kbd/scanc_pc.h
/trunk/kernel/genarch/include/kbd/scanc_sun.h
/trunk/kernel/genarch/src/kbd/scanc_sun.c
1840 6548 d 5 h decky /trunk/kernel/arch/xen32/ claim copyright on files with significant xen32-related changes
(for the purpose of author's master thesis)
 
/trunk/kernel/arch/xen32/include/asm.h
/trunk/kernel/arch/xen32/include/mm/frame.h
/trunk/kernel/arch/xen32/include/mm/memory_init.h
/trunk/kernel/arch/xen32/include/mm/page.h
/trunk/kernel/arch/xen32/include/pm.h
/trunk/kernel/arch/xen32/src/boot/boot.S
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/mm/memory_init.c
/trunk/kernel/arch/xen32/src/mm/page.c
/trunk/kernel/arch/xen32/src/mm/tlb.c
/trunk/kernel/arch/xen32/src/pm.c
/trunk/kernel/arch/xen32/src/xen32.c
1838 6552 d 13 h jermar /trunk/kernel/ Add scan code map for Sun keyboard.  
/trunk/kernel/genarch/include/i8042/scanc_pc.h
/trunk/kernel/genarch/include/i8042/scanc_sun.h
/trunk/kernel/genarch/src/i8042/scanc_pc.c
/trunk/kernel/genarch/src/i8042/scanc_sun.c
/trunk/kernel/arch/amd64/Makefile.inc
/trunk/kernel/arch/ia32/Makefile.inc
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/genarch/Makefile.inc
/trunk/kernel/genarch/include/i8042/i8042.h
/trunk/kernel/genarch/src/i8042/i8042.c
1837 6552 d 20 h jermar /trunk/ Support 24bpp framebuffers with 4 pixelbytes (each pixel aligned on 32-bits).

At least on sparc64, the OpenFirmware linebytes property specifies the number
of pixels between consecutive scan lines of the display. Fix scanilne calculation,
including possible alignment.

Add note to 8bpp pixel functions pointing out drawbacks of that mode.
 
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/ofwarch.c
/trunk/boot/arch/sparc64/loader/ofwarch.h
/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/ppc64/src/ppc64.c
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/genarch/include/fb/fb.h
/trunk/kernel/genarch/src/fb/fb.c
1836 6554 d 17 h decky /trunk/kernel/arch/xen32/src/ coding style change  
/trunk/kernel/arch/xen32/src/userspace.c
1834 6555 d 4 h decky /trunk/kernel/arch/xen32/src/ xen32: fix initial stack  
/trunk/kernel/arch/xen32/src/xen32.c
1833 6555 d 4 h decky /trunk/kernel/ more sophisticated initial stack handling  
/trunk/kernel/generic/include/main/main.h
/trunk/kernel/arch/amd64/src/mm/page.c
/trunk/kernel/arch/xen32/src/xen32.c
/trunk/kernel/generic/include/config.h
/trunk/kernel/generic/src/main/main.c
/trunk/kernel/generic/src/mm/frame.c
1832 6555 d 5 h decky /trunk/kernel/arch/xen32/ remap console page  
/trunk/kernel/arch/xen32/include/drivers/xconsole.h
/trunk/kernel/arch/xen32/src/boot/boot.S
/trunk/kernel/arch/xen32/src/drivers/xconsole.c
/trunk/kernel/arch/xen32/src/xen32.c
1831 6555 d 5 h decky /trunk/kernel/arch/xen32/ xen32: proper virtual traps, domU asynchronous console  
/trunk/kernel/arch/xen32/include/asm.h
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/include/hypercall.h
/trunk/kernel/arch/xen32/src/asm.S
/trunk/kernel/arch/xen32/src/drivers/xconsole.c
/trunk/kernel/arch/xen32/src/pm.c
1830 6555 d 8 h decky /trunk/kernel/arch/xen32/ xen32: enable/disable interrupts  
/trunk/kernel/arch/xen32/include/asm.h
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/include/hypercall.h
1829 6555 d 8 h decky /trunk/kernel/arch/xen32/ xen32: initialize virtual IDT  
/trunk/kernel/arch/xen32/include/asm.h
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/include/hypercall.h
/trunk/kernel/arch/xen32/include/pm.h
/trunk/kernel/arch/xen32/src/asm.S
/trunk/kernel/arch/xen32/src/pm.c
/trunk/kernel/arch/xen32/src/proc/scheduler.c
/trunk/kernel/arch/xen32/src/proc/task.c
/trunk/kernel/arch/xen32/src/proc/thread.c
/trunk/kernel/arch/xen32/src/xen32.c
1828 6555 d 9 h decky /trunk/kernel/arch/xen32/ xen32: fork proc, get to the console (w/o preemption)  
/trunk/kernel/arch/xen32/src/proc
/trunk/kernel/arch/xen32/src/proc/scheduler.c
/trunk/kernel/arch/xen32/src/proc/task.c
/trunk/kernel/arch/xen32/src/proc/thread.c
/trunk/kernel/arch/xen32/include/asm.h
1827 6555 d 9 h decky /trunk/kernel/arch/xen32/src/ print memory map  
/trunk/kernel/arch/xen32/src/proc
/trunk/kernel/arch/xen32/src/mm/memory_init.c
1824 6555 d 11 h decky /trunk/kernel/arch/xen32/ xen32: use writable page tables, cleanup mm  
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/include/hypercall.h
/trunk/kernel/arch/xen32/include/mm/frame.h
/trunk/kernel/arch/xen32/include/mm/page.h
/trunk/kernel/arch/xen32/src/boot/boot.S
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/xen32.c
1823 6555 d 13 h jermar /trunk/kernel/arch/sparc64/ sparc64 work.
Dump take_over_tlb_and_tt() and add its assembly language replacement.
 
/trunk/kernel/arch/sparc64/include/arch.h
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/include/mm/mmu.h
/trunk/kernel/arch/sparc64/include/mm/tlb.h
/trunk/kernel/arch/sparc64/include/mm/tte.h
/trunk/kernel/arch/sparc64/include/trap/trap.h
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
1822 6555 d 17 h jermar /trunk/ sparc64 work.
1. Formatting fixes.
2. When writing to DMMU ASI's, simple membar() can be used in place of flush().
3. Substantial changes in the way the TLB is taken over.
4. Remove unneeded functions.

This is the first revision that also runs on a real world Ultra 5 with UltraSPARC IIi
processor.

Note that 3. needs further work as the current implementation depends on the fact
that the compiler will use registers for local variables in take_over_tlb_and_tt().
Rewrite of that function into assembly is to follow.
 
/trunk/boot/arch/sparc64/loader/main.c
/trunk/kernel/arch/sparc64/include/barrier.h
/trunk/kernel/arch/sparc64/include/mm/mmu.h
/trunk/kernel/arch/sparc64/include/mm/page.h
/trunk/kernel/arch/sparc64/include/mm/tlb.h
/trunk/kernel/arch/sparc64/include/mm/tte.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/generic/src/syscall/copy.c
1821 6557 d 13 h decky /trunk/kernel/arch/xen32/ xen32 cleanup  
/trunk/kernel/arch/xen32/include/asm.h
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/include/mm/frame.h
/trunk/kernel/arch/xen32/include/mm/page.h
/trunk/kernel/arch/xen32/src/boot/boot.S
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/mm/memory_init.c
/trunk/kernel/arch/xen32/src/mm/page.c
/trunk/kernel/arch/xen32/src/mm/tlb.c
1818 6562 d 8 h decky /trunk/kernel/ make burst updates  
/trunk/kernel/arch/xen32/Makefile.inc
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/kernel.config
1817 6563 d 4 h decky /trunk/kernel/arch/ xen32 work: create identity mapping for the main memory zone,
make several dummy modifications to get to the banner
 
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/xen32/include/asm.h
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/include/hypercall.h
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/mm/page.c
1816 6563 d 13 h decky /trunk/kernel/ xen memory initialization  
/trunk/kernel/arch/xen32/include/drivers
/trunk/kernel/arch/xen32/include/drivers/xconsole.h
/trunk/kernel/arch/xen32/src/drivers
/trunk/kernel/arch/xen32/src/drivers/xconsole.c
/trunk/kernel/arch/xen32/Makefile.inc
/trunk/kernel/arch/xen32/_link.ld.in
/trunk/kernel/arch/xen32/include/hypercall.h
/trunk/kernel/arch/xen32/src/boot/boot.S
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/mm/page.c
/trunk/kernel/arch/xen32/src/pm.c
/trunk/kernel/arch/xen32/src/smp/smp.c
/trunk/kernel/arch/xen32/src/xen32.c
/trunk/kernel/kernel.config

Show All