projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add -fomit-frame-pointer when we are not in debug mode.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
ser_at91.c
diff --git
a/bertos/cpu/arm/drv/ser_at91.c
b/bertos/cpu/arm/drv/ser_at91.c
index 0ddeee5ae8b6aca2b10b9890edc027a727c51b67..ffa5a4402c634f532a8e549bfb1009e227462d26 100644
(file)
--- a/
bertos/cpu/arm/drv/ser_at91.c
+++ b/
bertos/cpu/arm/drv/ser_at91.c
@@
-734,7
+734,7
@@
struct SerialHardware *ser_hw_getdesc(int unit)
/**
* Serial 0 TX interrupt handler
*/
/**
* Serial 0 TX interrupt handler
*/
-
static
void uart0_irq_tx(void)
+
INLINE
void uart0_irq_tx(void)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-743,7
+743,7
@@
static void uart0_irq_tx(void)
if (fifo_isempty(txfifo))
{
/*
if (fifo_isempty(txfifo))
{
/*
- * - Disable the TX empty interrupts
+ * - Disable the TX empty interrupts
*/
US0_IDR = BV(US_TXEMPTY);
SER_UART0_BUS_TXEND;
*/
US0_IDR = BV(US_TXEMPTY);
SER_UART0_BUS_TXEND;
@@
-761,7
+761,7
@@
static void uart0_irq_tx(void)
/**
* Serial 0 RX complete interrupt handler.
*/
/**
* Serial 0 RX complete interrupt handler.
*/
-
static
void uart0_irq_rx(void)
+
INLINE
void uart0_irq_rx(void)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-798,7
+798,7
@@
static DECLARE_ISR(uart0_irq_dispatcher)
/**
* Serial 1 TX interrupt handler
*/
/**
* Serial 1 TX interrupt handler
*/
-
static
void uart1_irq_tx(void)
+
INLINE
void uart1_irq_tx(void)
{
SER_STROBE_ON;
{
SER_STROBE_ON;
@@
-807,7
+807,7
@@
static void uart1_irq_tx(void)
if (fifo_isempty(txfifo))
{
/*
if (fifo_isempty(txfifo))
{
/*
- * - Disable the TX empty interrupts
+ * - Disable the TX empty interrupts
*/
US1_IDR = BV(US_TXEMPTY);
SER_UART1_BUS_TXEND;
*/
US1_IDR = BV(US_TXEMPTY);
SER_UART1_BUS_TXEND;
@@
-825,7
+825,7
@@
static void uart1_irq_tx(void)
/**
* Serial 1 RX complete interrupt handler.
*/
/**
* Serial 1 RX complete interrupt handler.
*/
-
static
void uart1_irq_rx(void)
+
INLINE
void uart1_irq_rx(void)
{
SER_STROBE_ON;
{
SER_STROBE_ON;