The NetBSD Project

CVS log for src/sys/arch/hp300/dev/rboxreg.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / hp300 / dev

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.2.90.1: download - view: text, markup, annotated - select for diffs
Sat Jun 22 10:57:10 2024 UTC (5 months, 1 week ago) by martin
Branches: netbsd-10
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +2 -2 lines
Pull up following revision(s) (requested by tsutsui in ticket #722):

	sys/fs/cd9660/cd9660_util.c: revision 1.16
	sys/arch/hp300/stand/common/clock.c: revision 1.14
	sys/arch/hp300/stand/common/scsireg.h: revision 1.5
	sys/arch/hp300/stand/common/scsireg.h: revision 1.6
	sys/arch/hp300/stand/Makefile.buildboot: revision 1.38
	sys/arch/hp300/include/bus.h: revision 1.23
	sys/arch/hp300/stand/Makefile.buildboot: revision 1.39
	sys/arch/hp300/stand/common/sd.c: revision 1.12
	sys/arch/hp300/stand/common/prf.c: revision 1.6
	sys/arch/hp300/stand/common/sd.c: revision 1.13
	usr.sbin/installboot/installboot.8: revision 1.106
	usr.sbin/installboot/Makefile: revision 1.59
	sys/arch/hp300/stand/common/devopen.c: revision 1.14
	usr.sbin/installboot/installboot.8: revision 1.107
	sys/arch/hp300/stand/common/ite_dumb.c: revision 1.2
	sys/arch/hp300/stand/common/devopen.c: revision 1.15
	usr.sbin/installboot/installboot.8: revision 1.108
	sys/fs/cd9660/cd9660_extern.h: revision 1.29
	usr.sbin/installboot/installboot.8: revision 1.109
	tools/Makefile.nbincludes: revision 1.11 (patch)
	sys/arch/hp300/dev/rboxreg.h: revision 1.3
	sys/arch/hp300/stand/common/scsivar.h: revision 1.5
	sys/arch/hp300/dev/dnkbd.c: revision 1.14
	sys/arch/hp300/hp300/trap.c: revision 1.156
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.12
	sys/arch/hp300/dev/frodoreg.h: revision 1.6
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.13
	sys/arch/hp300/stand/common/ite_sti.c: revision 1.2
	sys/arch/hp300/stand/common/hil.c: revision 1.15
	usr.sbin/installboot/arch/hp300.c: revision 1.18
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.14
	sys/arch/hp300/dev/rbox.c: revision 1.4
	usr.sbin/installboot/arch/hp300.c: revision 1.19
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.15
	sys/sys/bootblock.h: revision 1.59
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.16
	usr.sbin/installboot/installboot.h: revision 1.44
	sys/arch/hp300/stand/mkboot/volhdr.h: file removal
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.17
	sys/arch/hp300/dev/hpib.c: revision 1.45
	usr.sbin/installboot/installboot.h: revision 1.45
	usr.sbin/installboot/cd9660.c: revision 1.1
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.18
	sys/arch/hp300/dev/topcatreg.h: revision 1.3
	usr.sbin/installboot/cd9660.c: revision 1.2
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.19
	sys/arch/hp300/stand/inst/inst.c: revision 1.25
	sys/arch/hp300/stand/uboot/Makefile: revision 1.12
	sys/arch/hp300/dev/dvbox.c: revision 1.4
	sys/arch/hp300/dev/dma.c: revision 1.45
	sys/arch/hp300/stand/uboot/Makefile: revision 1.13
	sys/arch/hp300/stand/common/rd.c: revision 1.16
	sys/arch/hp300/stand/inst/Makefile: revision 1.12
	distrib/hp300/cdroms/installcd/Makefile: revision 1.4
	sys/arch/hp300/stand/mkboot/volhdr.h: revision 1.6
	sys/arch/hp300/stand/common/machdep.c: revision 1.16
	usr.sbin/installboot/fstypes.c: revision 1.14
	sys/arch/hp300/hp300/machdep.c: revision 1.238
	sys/arch/hp300/include/cpu.h: revision 1.73
	sys/arch/hp300/dev/diofbreg.h: revision 1.4
	sys/arch/hp300/stand/common/scsi.c: revision 1.12
	sys/arch/hp300/stand/common/netio.c: revision 1.19
	sys/arch/hp300/stand/common/scsi.c: revision 1.13
	sys/arch/hp300/dev/sti_sgc.c: revision 1.8
	sys/arch/hp300/dev/rtc.c: revision 1.22
	sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.20
	sys/arch/hp300/stand/common/conf.h: revision 1.4
	sys/arch/hp300/hp300/autoconf.c: revision 1.111
	sys/arch/hp300/stand/common/conf.c: revision 1.15
	sys/arch/hp300/stand/mkboot/Makefile: revision 1.12
	sys/arch/hp300/stand/mkboot/Makefile: revision 1.13
	sys/arch/hp300/hp300/autoconf.c: revision 1.114
	sys/arch/hp300/dev/dcmreg.h: revision 1.11
	sys/arch/hp300/dev/diofbvar.h: revision 1.4
	sys/arch/hp300/dev/dcm.c: revision 1.91
	sys/fs/cd9660/cd9660_util.c: revision 1.15
	sys/arch/hp300/dev/mcclock_frodo.c: revision 1.2

TAB/space cleanup.

installboot(8): formatting improvements

Use Ar foo instead of <foo>; this is mdoc.

Other formatting tweaks.
installboot(8): fix up markup

Don't overuse .Sy - when everything is highlighted, nothing is.  Use
.Ic for options &c to get correct PostScript output (both are bold in
plain text).

Use Aq Ar inside .Pa, as both Pa and Ar are rendered as underscored
text in plain text output, and the distinction is lost.

Don't set examples in bold, but give them .Pp space around - they are
much easier to read this way.

Use consistent -width in FILES.
document how to use installboot on netbsd/vax.

PR/57909: Jan-Benedict Glaw: Don't include (build) timestamp when doing a
reproducible build
fix usage string, improve error handling.
add missing chunk for repro-build. fix gcc warnings.
avoid stringop truncation, fix copyright string to prevent assembler warnings.

Fix build as a tool (Jan-Benedict Glaw)

Fix integer overflow of strtol(3) for "loadpoint" address on ILP32 hosts.

This strtol(3) was introduced in rev 1.12 for PR/57909 after netbsd-10,
but it returns LONG_MAX (0x7FFFFFFF) for 0xFFF00000 on ILP32 hosts and
the wrong loadpoint causes "NOT ENOUGH MEMORY" error by the BOOTROMs
on loading uboot.lif on (at least) my 9000/360 and 9000/425t.

Misc cosmetic changes for mostly readability.
- KNF and add some newlines per blocks
- define and use proper bintobcd() macro
- make local functions and variables static

The same uboot.lif binaries are generated.

Rename ${PROGAOUT} -> ${PROGELF} to reflect reality.
Use proper signedness for the LIF file system data structures.

Ancient 4.3BSD used short and int for location, file size, file type,
and addresses etc. but all of them should be unsigned.

Also rename several variables and add comments for readability.
The LIF file system info can be found in "The HPDir Project" page:
https://www.hp9845.net/9845/projects/hpdir/
The same uboot.lif binaries are generated.

Add a preliminary CD boot support to uboot for preparation of PR/54455.
Briefly tested on mame, but not enalbed yet.

Recognize SCSI CD-ROM devices as a booted device properly.

Necessary for PR port-hp300/54455, to boot an md root root RAMDISK

kernel from CD-ROM without "WARNING: can't find match for bootdev:"
prompt.

Sync with src/sys/arch/hp300/stand/mkboot/volhdr.h rev 1.6.
https://mail-index.netbsd.org/source-changes/2024/05/07/msg151195.html

Use proper signedness for the LIF file system data structures.
mkboot should use this MI <sys/bootblock.h> and volhdr.h should
be removed soon.

Use MI <sys/bootblock.h> to refer LIF filesystem structures.
This should have been done when LIF definitions were initially added
to <sys/bootblock.h> for MI installboot(8).

Enable SUPPORT_CD on uboot.

Make cd9660_util.c usable in userland tools like installboot(8).

This was partially done for src/distrib/cdrom/macppc_installboot,
but more strict prototypes are necessary for native binary builds.

Install cd9660 related system headers for tools installboot(8) builds.

Reorder function prototypes per source files.

Add cd9660 support to search a bootloader file in the target file system.

Also add CD boot support for hp300, using a bootloader file in cd9660 fs.
This is a tool's part to close PR/54455.

HP 9000/300 machines read LIF directory entry allocated after
the LIF volume header at the top of the boot disk during bootstrap,
and a bootstrap file must be contiguously allocated on the disk
due to limitation of the LIF specification.

Current NetBSD/hp300's bootloader is larger than ~80KB so we have
to prepare a special 'boot' partition for FFS (that has only 8KB (ffsv1)
or 32KB (ffsv2) spaces) disks to put such a large bootloader.

On the other hand, on ISO9660 fs all files are allocated contiguously
so we can specify a bootloader file in the target ISO9660 directly
in the LIF directory entry.

Note we can simply use the existing "append" option to create bootable
CD ISO for hp300, but it looks some emulators (at leaset MAME) reject
such non-standard ISO files, i.e. with an appended bootloader file at
the end of the image.

Put a RAMDISK kernel and SYS_UBOOT into hp300 installcd to make it bootable.

This should finally close PR/54455.

Fix tools build errors on Cygwin.

Appease warnings on building tools/installboot on Cygwin.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 15 06:19:45 2023 UTC (22 months, 2 weeks ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
TAB/space cleanup.

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:36 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +120 -0 lines
Sync with HEAD.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:22 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +120 -0 lines
sync with head

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 17 11:59:39 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.1.2.2: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +62 -62 lines
Sync with HEAD

Revision 1.2.6.1
Sat Feb 12 16:40:29 2011 UTC (13 years, 9 months ago) by jruoho
Branches: jruoho-x86intr
FILE REMOVED
Changes since revision 1.2: +0 -120 lines
file rboxreg.h was added on branch jruoho-x86intr on 2011-06-06 09:05:36 +0000

Revision 1.2.2.1
Sat Feb 12 16:40:29 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
FILE REMOVED
Changes since revision 1.2: +0 -120 lines
file rboxreg.h was added on branch rmind-uvmplock on 2011-03-05 20:50:22 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Feb 12 16:40:29 2011 UTC (13 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, uebayasi-xip-base7, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, cherry-xenmp-base, cherry-xenmp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: rmind-uvmplock, netbsd-10, jruoho-x86intr
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +62 -62 lines
- make local functions static
- some KNF

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:21 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +120 -0 lines
Sync with HEAD

Revision 1.1.2.1
Sun Feb 6 18:26:51 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
FILE REMOVED
Changes since revision 1.1: +0 -120 lines
file rboxreg.h was added on branch bouyer-quota2 on 2011-02-08 16:19:21 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Feb 6 18:26:51 2011 UTC (13 years, 10 months ago) by tsutsui
Branches: MAIN
Branch point for: bouyer-quota2
Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
  all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
  should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
  and I can't confirm that 362 and 382 actually have SGC bus.
  (I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
  once after keycode with NoSymbol problem is addressed.
  (We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
  cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
  grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>