r134003 - in /trunk/gcc/ada: g-sercom-linux.adb...

charlet@gcc.gnu.org charlet@gcc.gnu.org
Tue Apr 8 06:42:00 GMT 2008


Author: charlet
Date: Tue Apr  8 06:42:41 2008
New Revision: 134003

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134003
Log:
2008-04-08  Pascal Obry  <obry@adacore.com>

	* g-sercom.ads, g-sercom.adb (Data_Rate): Add B115200.
	(Stop_Bits_Number): New type.
	(Parity_Check): Likewise.
	(Set): Add parameter to set the number of stop bits and
	the parity. Parameter timeout is now a duration instead
	of a plain integer.

	* g-sercom-linux.adb:
	Implement the stop bits and parity support for GNU/Linux.
	Fix handling of timeout, it must be given in tenth of seconds.
	
	* g-sercom-mingw.adb:
	Implement the stop bits and parity support for Windows.
	Use new s-win32.ads unit instead of declaring Win32 services
	directly into this body.
	Update handling of timeout as now a duration.

	* s-win32.ads, s-winext.ads: New files.


Added:
    trunk/gcc/ada/s-win32.ads
    trunk/gcc/ada/s-winext.ads
Modified:
    trunk/gcc/ada/g-sercom-linux.adb
    trunk/gcc/ada/g-sercom-mingw.adb
    trunk/gcc/ada/g-sercom.adb
    trunk/gcc/ada/g-sercom.ads



More information about the Gcc-cvs mailing list