Subject: Re: -current build error
To: Julian Bean <jules@mailbox.co.uk>
From: Allen Briggs <briggs@puma.bevd.blacksburg.va.us>
List: port-mac68k
Date: 03/31/1996 19:26:26
> Me too.  I fixed it ??? by removing the #include <machine/viareg.h>.

Actually, viareg.h should replace via.h.  The work that you're seeing
this as a side-effect of, is prototyping and cleaning up compiler
warnings.

> On that line, why do we need a userland include file for VIA registers.
> Aren't they in kernel space anyway, and useless to userland processes?

I don't consider the stuff in machine/ to be too user-land--after all,
they may or may not be available on other platforms.

> P.S. I have found some differences between the code in via.c and my LCIII
> ROMs, and am about to test a kernel which handles RBV interrupts in a way
> closer to my ROMs.  Wish me luck...

Good luck!

-allen

-- 
  Allen Briggs - end killing - briggs@bev.net ** MacBSD == NetBSD/mac68k **
   Where does all my time go?  <a href="http://www.netbsd.org/">Guess.</a>