Subject: Re: old hpbsd sources
To: Andreas Brusinsky <brusinsk@ibdr.inf.tu-dresden.de>
From: David Brownlee <david@mono.org>
List: port-hp300
Date: 03/17/1997 17:22:36
On Mon, 17 Mar 1997, Andreas Brusinsky wrote:
> 
>  cfbmskbits.h:#define PPW        (PGSZ/PSZ)
>  * PSZ      pixel size (in bits)
> 
> It is recommended to add to the compile command something like '-DPSZ=8'.
> I hope it does not produce overhead if I add it to the CCFLAGS
> in the cfb directory.
> 
	It might be worth looking at what other architectures do..

> in dl.h:
> #ifdef hp9000s300
> ..
>   typedef struct dynamic *shl_t;
> ..
> 
> in  x_serialdrv.h:
>  typedef struct _SerialProcs
>     {
>     char                *x_name;        /* filled in by driver          */
>     ConfigureProc       configure;      /* filled in by driver          */
>     ReadProc            read;           /* filled in by driver          */
>     WriteProc           write;          /* filled in by driver          */
>     CloseProc           close;          /* filled in by driver          */
>  #ifndef hp9000
>     shl_t               ldr_module_id;  /* filled in by X server        */
>  #endif
>     int                 fd;             /* filled in by X server        */
>     char                driver_name[MAX_NM];/* filled in by X server    */
>     } SerialProcs;
> 
	And line 97 is inside the #ifndef hp9000 lines?
	Which of hp9000 / hp9000s300 etc are defined at compile time?

> 
> Thanks for help.
> Probably I should do it more like der Mouse says.
> 
	Possibly - but you should really be able to gain a lot by working
	from the old hp sources :)