linux-2.3 bame

Paul Bame bame@puffin.external.hp.com
Wed, 30 Aug 2000 10:17:37 -0600


CVSROOT:	/home/cvs/parisc
Module name:	linux-2.3
Changes by:	bame	00/08/30 10:17:37

Modified files:
	.              : Makefile 
	arch/parisc/kernel: pdc.c pdc_cons.c 
	arch/parisc/real: Makefile 
	arch/parisc64/real: Makefile 
	include/asm-parisc: assembly.h 
Added files:
	arch/parisc/real: real1.c real2.S 
	arch/parisc64/real: real1.c real2.S 
Removed files:
	arch/parisc/real: real_s.S 
	arch/parisc64/real: real_s.S 

Log message:
Re-arranged the PDC call path.  Uses more C and less asm and has a
chance of working in a 64-bit kernel on 64-bit firmware.  No way it'll
work on 64-bit kernel on 32-bit firmware (C[123]xx workstations)
at this point -- need a wide/narrow adaptor.  Tested ok on gecko
and b180 (32-bit kernel).

Nuked parisc64-specific copies of the asm for the PDC call path in
favor of a very few #ifs in common code.

Added a 'load32' macro in assembly.h because I got tired of adding
#if (__BITS_PER_LONG == 64)
depdi ...
#endif
to all the ldil/ldo sequences.  Yeah I know it's "wrong", but also
convenient to use, and easy to find/remove later when/if we find
a better way.