Introduced the notion of a standard serial driver.

There's no target with more than one serial driver (and I don't see that change anytime soon) so it's a no-brainer to apply the standard driver concept to serial drivers.
This commit is contained in:
Oliver Schmidt
2022-12-22 18:06:16 +01:00
parent d9ebfa7192
commit d90c7e9853
28 changed files with 274 additions and 11 deletions

View File

@@ -123,6 +123,13 @@ struct ser_params {
unsigned char handshake; /* Type of handshake to use */
};
/* The name of the standard serial driver for a platform */
extern const char ser_stddrv[];
/* The address of the static standard serial driver for a platform */
extern const void ser_static_stddrv[];
/*****************************************************************************/
/* Code */