History log of /src/sys/arch/pmax/ibus/pm.c |
Revision | | Date | Author | Comments |
1.19 |
| 11-Feb-2023 |
tsutsui | Use MI <dev/ic/dc503reg.h> (added for vax smg(4)) for pmax pm(4) too.
|
1.18 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.17 |
| 24-Apr-2021 |
thorpej | branches: 1.17.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.16 |
| 18-Oct-2019 |
msaitoh | branches: 1.16.10; s/initalize/initialize/ in comment or printf message.
|
1.15 |
| 24-Jan-2018 |
riastradh | branches: 1.15.4; Fix integer overflows noted by Silvio Cesare of InfoSect.
Someone^TM should name these idioms so we can eliminate this class of copypasta bug.
|
1.14 |
| 05-Jan-2018 |
flxd | Check presence of VFB01/VFB02 frame buffer option on DEC(station|system) 3100.
|
1.13 |
| 13-Jun-2017 |
spz | correct size checks so they cannot be circumvented by integer overflows
reported by CTurt, thanks for the notification
|
1.12 |
| 10-Nov-2013 |
christos | branches: 1.12.4; 1.12.6; 1.12.8; 1.12.16; 1.12.22; fix unused variable warnings
|
1.11 |
| 11-Jan-2012 |
macallan | branches: 1.11.2; 1.11.6; 1.11.8; 1.11.10; 1.11.16; adjust for wsfont_find() change
|
1.10 |
| 09-Jul-2011 |
matt | branches: 1.10.2; 1.10.6; Cleanu <machine/*> includes
|
1.9 |
| 04-Jun-2011 |
tsutsui | Split device_t/softc. No crash during device attach on GXemul.
|
1.8 |
| 15-May-2010 |
tsutsui | branches: 1.8.2; 1.8.6; Set RI_NO_AUTO in ri_flg if init function is invoked from cnattach. Untested. (3100 support seems somewhat broken, per gxemul output)
|
1.7 |
| 26-May-2008 |
nisimura | branches: 1.7.18; 1.7.20; - assign 2 clause TNF license to the files cited as my ownership. - abandon and remove my copyright notice from the three files were copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
|
1.6 |
| 28-Apr-2008 |
martin | branches: 1.6.2; Remove clause 3 and 4 from TNF licenses
|
1.5 |
| 04-Mar-2007 |
christos | branches: 1.5.40; 1.5.42; 1.5.44; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.4 |
| 12-Apr-2006 |
jmmv | branches: 1.4.14; Add an extra cookie to the ioctl and mmap wsdisplay accessops that points to the screen on which they are being called. The driver cannot guess this by itself but it is needed to implement, at least, the getwschar and putwschar functions in the correct place. There are no functional changes yet.
Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64. Suggested and reviewed by macallan@.
|
1.3 |
| 11-Dec-2005 |
christos | branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12; merge ktrace-lwp.
|
1.2 |
| 13-Dec-2003 |
ad | branches: 1.2.16; Add drivers for the desktop bus, DC-7085 and pm display. Make it possible to select between rcons or wscons at compile time. Ok'ed by simonb.
|
1.1 |
| 15-Oct-1998 |
nisimura | branches: 1.1.2; 1.1.16; 1.1.26; file pm.c was initially added on branch nisimura-pmax-wscons.
|
1.1.26.4 |
| 13-Jan-2005 |
skrll | Adapt to branch
|
1.1.26.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.1.26.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.1.26.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.1.16.4 |
| 18-Sep-2002 |
ad | Minor tweaks.
|
1.1.16.3 |
| 25-Mar-2002 |
ad | Remove some more debugging crud, and use the full screen.
|
1.1.16.2 |
| 16-Mar-2002 |
ad | Some fixes.
|
1.1.16.1 |
| 15-Mar-2002 |
ad | Changes necessary for wscons on NetBSD/pmax. All device support is here, just needs further testing.
|
1.1.2.17 |
| 14-Mar-2000 |
nisimura | Switch to improved flexible video console text rasterizer provided by rasops and wsfont.
|
1.1.2.16 |
| 03-Feb-2000 |
nisimura | Catch up to recent changes in main trunk.
|
1.1.2.15 |
| 19-Nov-1999 |
nisimura | Merge w/ recent changes in main trunk.
|
1.1.2.14 |
| 26-Oct-1999 |
nisimura | Catchup to changes in main trunk. Remove debug message which is now harmful due to SCSI device probe change. Enable WSSCREEN_REVERSE for pm.c
|
1.1.2.13 |
| 11-Aug-1999 |
nisimura | - Take a special arrangement on RAMDAC colormap for monochrome.
|
1.1.2.12 |
| 06-Apr-1999 |
nisimura | - Fix a syntax error in the previous commit.
|
1.1.2.11 |
| 06-Apr-1999 |
nisimura | - Correct PCC cursor image update; loop was made 4 times larger than required.
|
1.1.2.10 |
| 30-Mar-1999 |
nisimura | - Track changes in main trunk and sweap codes. - Make codes a bit descriptive that registers are aligned in 32bit boundary.
|
1.1.2.9 |
| 29-Mar-1999 |
nisimura | - Catch up to recent changes in main trunk. - Reorganize various #include's. - Yield memcpy to Mach derivated one. - pm_cnattach() now checks the existense of framebuffer card.
|
1.1.2.8 |
| 15-Mar-1999 |
nisimura | - Decouple "ibus" from TC device implementation. - Move IOASIC initialization to platform.os_init().
|
1.1.2.7 |
| 02-Mar-1999 |
nisimura | - Cursor image must be 32bit padded even though PCC can only handle 16x16.
|
1.1.2.6 |
| 11-Jan-1999 |
drochner | remove dummy "load_font" entries
|
1.1.2.5 |
| 07-Jan-1999 |
nisimura | - Fix an error in mmap address range check.
|
1.1.2.4 |
| 24-Nov-1998 |
nisimura | - Have cursor positioning magic parameters in softc variables as other TC framebuffer drivers do.
|
1.1.2.3 |
| 30-Oct-1998 |
nisimura | - Make pm.c monochrome-aware and compilable with UVM. - Make trap.c compilable with UVM. - Place #ifdef _KERNEL guard in cpu.h - Make asm.h more MIPS standard-alike while retaining current definitions.
|
1.1.2.2 |
| 20-Oct-1998 |
nisimura | - Add cleaner supports for model specific sub-milliseconds high resolution timer circuit. 3MAX+ has IOASIC bus cycle counter and MAXINE has its own circuit. R4000 3MIN ultilizes onchip counter (but I'm not sure how acculately current codes measure on runtime). - Add write buffer flush routines for each model. Most DECstations have their own logics for write buffer flushing different from each other. It's not good to assume R3000 computers have write buffer drain logic tied with processor's CU0 bits. Some of modern R3000 CPUs have write buffer 4 deep FIFO circuit builtin. - A bit cleanup in conf/files.pmax. - Add missing kn02ba_memerr() call in pmax/dec_3min.c - Nuke old remainings in include/autoconf.h
|
1.1.2.1 |
| 15-Oct-1998 |
nisimura | - Reflect new internals.
|
1.2.16.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.2.16.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.3.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.3.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.3.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.3.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.3.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.4.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.5.44.3 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.5.44.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.5.44.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.5.42.2 |
| 04-Jun-2008 |
yamt | sync with head
|
1.5.42.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.5.40.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.6.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.7.20.2 |
| 12-Jun-2011 |
rmind | sync with head
|
1.7.20.1 |
| 30-May-2010 |
rmind | sync with head
|
1.7.18.1 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.8.6.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.8.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.10.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.10.2.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.10.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.11.16.1 |
| 15-Jun-2017 |
snj | Pull up following revision(s) (requested by spz in ticket #1456): sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16 sys/arch/pmax/ibus/pm.c: revision 1.13 sys/dev/hpc/bivideo.c: revision 1.34 sys/dev/ic/sti.c: revision 1.19 correct size checks so they cannot be circumvented by integer overflows reported by CTurt, thanks for the notification
|
1.11.10.1 |
| 18-May-2014 |
rmind | sync with head
|
1.11.8.1 |
| 15-Jun-2017 |
snj | Pull up following revision(s) (requested by spz in ticket #1456): sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16 sys/arch/pmax/ibus/pm.c: revision 1.13 sys/dev/hpc/bivideo.c: revision 1.34 sys/dev/ic/sti.c: revision 1.19 correct size checks so they cannot be circumvented by integer overflows reported by CTurt, thanks for the notification
|
1.11.6.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.11.6.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.11.2.1 |
| 15-Jun-2017 |
snj | Pull up following revision(s) (requested by spz in ticket #1456): sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16 sys/arch/pmax/ibus/pm.c: revision 1.13 sys/dev/hpc/bivideo.c: revision 1.34 sys/dev/ic/sti.c: revision 1.19 correct size checks so they cannot be circumvented by integer overflows reported by CTurt, thanks for the notification
|
1.12.22.1 |
| 15-Jun-2017 |
snj | Pull up following revision(s) (requested by spz in ticket #39): sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16 sys/arch/pmax/ibus/pm.c: revision 1.13 sys/dev/hpc/bivideo.c: revision 1.34 sys/dev/ic/sti.c: revision 1.19 correct size checks so they cannot be circumvented by integer overflows reported by CTurt, thanks for the notification
|
1.12.16.1 |
| 15-Jun-2017 |
snj | Pull up following revision(s) (requested by spz in ticket #1432): sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16 sys/arch/pmax/ibus/pm.c: revision 1.13 sys/dev/hpc/bivideo.c: revision 1.34 sys/dev/ic/sti.c: revision 1.19 correct size checks so they cannot be circumvented by integer overflows reported by CTurt, thanks for the notification
|
1.12.8.1 |
| 15-Jun-2017 |
snj | Pull up following revision(s) (requested by spz in ticket #1432): sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16 sys/arch/pmax/ibus/pm.c: revision 1.13 sys/dev/hpc/bivideo.c: revision 1.34 sys/dev/ic/sti.c: revision 1.19 correct size checks so they cannot be circumvented by integer overflows reported by CTurt, thanks for the notification
|
1.12.6.1 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.12.4.1 |
| 15-Jun-2017 |
snj | Pull up following revision(s) (requested by spz in ticket #1432): sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16 sys/arch/pmax/ibus/pm.c: revision 1.13 sys/dev/hpc/bivideo.c: revision 1.34 sys/dev/ic/sti.c: revision 1.19 correct size checks so they cannot be circumvented by integer overflows reported by CTurt, thanks for the notification
|
1.15.4.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.16.10.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.17.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|