Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   tsutsui
Date:           Sun Apr 20 04:12:54 UTC 2014

Modified Files:
        src/sys/arch/hp300/conf: files.hp300
        src/sys/arch/hp300/dev: com_frodo.c sti_sgc.c
        src/sys/arch/hp300/hp300: autoconf.c machdep.c
        src/sys/arch/hp300/include: autoconf.h
        src/sys/dev/ic: sti.c stivar.h
Added Files:
        src/sys/arch/hp300/dev: sti_sgcvar.h

Log Message:
Add proper consinit(9) support for sti(4) at sgc framebuffer on hp300.

The cnattach functions for sti(4) and service switch check method
for 425e in com_frodo.c are taken from OpenBSD.
The strategy how to choose the console device in hp300_cninit() is
quite diverged from 4.4BSD and OpenBSD so it's tweaked by me.

Also put several changes in sti_sgc.c to reduce diffs from OpenBSD/hp300.

Tested on 425e and 362 (which still uses gendiofb(4), not sti(4)).

XXX: sti(4) requires uvm_km_alloc(9) and uvm_map_protect(9)
     to copy and call ROM functions on the executable memory region, so
     it can be called before UVM and related initializations are complete.
     Probably it's time to consider about MI "deferred consinit()" API
     in init_main.c (or elsewhere) for modern complicated VM system...


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/hp300/conf/files.hp300
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/hp300/dev/com_frodo.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hp300/dev/sti_sgc.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/hp300/dev/sti_sgcvar.h
cvs rdiff -u -r1.104 -r1.105 src/sys/arch/hp300/hp300/autoconf.c
cvs rdiff -u -r1.228 -r1.229 src/sys/arch/hp300/hp300/machdep.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/hp300/include/autoconf.h
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/ic/sti.c
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/stivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index