Update of /cvsroot/blob/blob/include/blob/arch
In directory usw-pr-cvs1:/tmp/cvs-serv2589/include/blob/arch
Modified Files:
system3.h
Log Message:
The serial port driver rewrite, part two.
This looks quite intrusive, but it's not that large:
- rewrite src/lib/serial.c to use the low level serial driver
- change semantics for SerialInputByte() and SerialOutputByte(), so rename
them to serial_read() and serial_write(). this makes the patch huge
- add new INIT_LEVEL for driver selection (has to be done before hardware
initialisation)
- add machine specific files for all architectures in diag
- clean up odds and ends.
Index: system3.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/arch/system3.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- system3.h 2001/12/27 18:27:37 1.7
+++ system3.h 2002/01/03 16:07:17 1.8
@@ -124,7 +124,7 @@
#ifdef SYSTEM3_DEBUG
# define _DBGU32( x ) SerialOutputString( #x"=0x" ); \
SerialOutputHex( (u32)x ); \
- SerialOutputByte( '\n' );
+ serial_write( '\n' );
#else
# define _DBGU32( x )
#endif
|