summaryrefslogtreecommitdiff
path: root/nuttx/arch/rgmp
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:22:22 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:22:22 -0600
commit70b6bb22af51defd713adfd452309f32f0e523aa (patch)
treeb483c578cf6ae76888b89188bedb03f539ab4cd3 /nuttx/arch/rgmp
parent3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4 (diff)
downloadnuttx-70b6bb22af51defd713adfd452309f32f0e523aa.tar.gz
nuttx-70b6bb22af51defd713adfd452309f32f0e523aa.tar.bz2
nuttx-70b6bb22af51defd713adfd452309f32f0e523aa.zip
More trailing whilespace removal
Diffstat (limited to 'nuttx/arch/rgmp')
-rw-r--r--nuttx/arch/rgmp/include/arm/arch/subarch/arch.h4
-rw-r--r--nuttx/arch/rgmp/include/limits.h4
-rw-r--r--nuttx/arch/rgmp/src/arm/Make.defs2
-rw-r--r--nuttx/arch/rgmp/src/arm/arch_nuttx.c2
-rw-r--r--nuttx/arch/rgmp/src/nuttx.c12
-rw-r--r--nuttx/arch/rgmp/src/rgmp.c2
-rw-r--r--nuttx/arch/rgmp/src/x86/Make.defs2
-rw-r--r--nuttx/arch/rgmp/src/x86/com.c8
8 files changed, 18 insertions, 18 deletions
diff --git a/nuttx/arch/rgmp/include/arm/arch/subarch/arch.h b/nuttx/arch/rgmp/include/arm/arch/subarch/arch.h
index 8b92c6bfe..e5f3fff10 100644
--- a/nuttx/arch/rgmp/include/arm/arch/subarch/arch.h
+++ b/nuttx/arch/rgmp/include/arm/arch/subarch/arch.h
@@ -45,12 +45,12 @@
static inline void up_mdelay(uint32_t msec)
{
-
+
}
static inline void up_udelay(uint32_t usec)
{
-
+
}
#endif /* !__ASSEMBLY__ */
diff --git a/nuttx/arch/rgmp/include/limits.h b/nuttx/arch/rgmp/include/limits.h
index a4458e301..51a17a330 100644
--- a/nuttx/arch/rgmp/include/limits.h
+++ b/nuttx/arch/rgmp/include/limits.h
@@ -33,8 +33,8 @@
*
************************************************************/
-#ifndef __ARCH_RGMP_INCLUDE_LIMITS_H
-#define __ARCH_RGMP_INCLUDE_LIMITS_H
+#ifndef __ARCH_RGMP_INCLUDE_LIMITS_H
+#define __ARCH_RGMP_INCLUDE_LIMITS_H
/************************************************************
* Included Files
diff --git a/nuttx/arch/rgmp/src/arm/Make.defs b/nuttx/arch/rgmp/src/arm/Make.defs
index 8185980c6..e21b046e8 100644
--- a/nuttx/arch/rgmp/src/arm/Make.defs
+++ b/nuttx/arch/rgmp/src/arm/Make.defs
@@ -5,7 +5,7 @@
# Author: Yu Qiang <yuq825@gmail.com>
#
# This file is a part of NuttX:
-#
+#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
#
#
diff --git a/nuttx/arch/rgmp/src/arm/arch_nuttx.c b/nuttx/arch/rgmp/src/arm/arch_nuttx.c
index e916c5520..93d4e447a 100644
--- a/nuttx/arch/rgmp/src/arm/arch_nuttx.c
+++ b/nuttx/arch/rgmp/src/arm/arch_nuttx.c
@@ -47,7 +47,7 @@
void nuttx_arch_init(void)
{
-
+
}
void nuttx_arch_exit(void)
diff --git a/nuttx/arch/rgmp/src/nuttx.c b/nuttx/arch/rgmp/src/nuttx.c
index a154ea34a..e6fee5de1 100644
--- a/nuttx/arch/rgmp/src/nuttx.c
+++ b/nuttx/arch/rgmp/src/nuttx.c
@@ -176,7 +176,7 @@ FAR void *up_stack_frame(FAR struct tcb_s *tcb, size_t frame_size)
/* Align the frame_size */
frame_size = (frame_size + 3) & ~3;
-
+
/* Is there already a stack allocated? Is it big enough? */
if (!tcb->stack_alloc_ptr || tcb->adj_stack_size <= frame_size) {
@@ -280,7 +280,7 @@ void up_block_task(struct tcb_s *tcb, tstate_t task_state)
}
// If there are any pending tasks, then add them to the g_readytorun
// task list now. It should be the up_realease_pending() called from
- // sched_unlock() to do this for disable preemption. But it block
+ // sched_unlock() to do this for disable preemption. But it block
// itself, so it's OK.
if (g_pendingtasks.head) {
warn("Disable preemption failed for task block itself\n");
@@ -328,7 +328,7 @@ void up_unblock_task(struct tcb_s *tcb)
#if CONFIG_RR_INTERVAL > 0
tcb->timeslice = CONFIG_RR_INTERVAL / MSEC_PER_TICK;
#endif
-
+
// Add the task in the correct location in the prioritized
// g_readytorun task list.
if (sched_addreadytorun(tcb) && !up_interrupt_context()) {
@@ -402,7 +402,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
struct tcb_s *nexttcb;
// If there are any pending tasks, then add them to the g_readytorun
// task list now. It should be the up_realease_pending() called from
- // sched_unlock() to do this for disable preemption. But it block
+ // sched_unlock() to do this for disable preemption. But it block
// itself, so it's OK.
if (g_pendingtasks.head) {
warn("Disable preemption failed for reprioritize task\n");
@@ -439,7 +439,7 @@ void up_assert(const uint8_t *filename, int line)
{
fprintf(stderr, "Assertion failed at file:%s line: %d\n", filename, line);
- // in interrupt context or idle task means kernel error
+ // in interrupt context or idle task means kernel error
// which will stop the OS
// if in user space just terminate the task
if (up_interrupt_context() || current_task->pid == 0) {
@@ -523,7 +523,7 @@ int up_prioritize_irq(int irq, int priority)
void up_sigdeliver(struct Trapframe *tf)
{
sig_deliver_t sigdeliver;
-
+
pop_xcptcontext(&current_task->xcp);
sigdeliver = current_task->xcp.sigdeliver;
current_task->xcp.sigdeliver = NULL;
diff --git a/nuttx/arch/rgmp/src/rgmp.c b/nuttx/arch/rgmp/src/rgmp.c
index e71782112..495c5e05c 100644
--- a/nuttx/arch/rgmp/src/rgmp.c
+++ b/nuttx/arch/rgmp/src/rgmp.c
@@ -88,7 +88,7 @@ void rtos_kfree(void *addr)
/**
* The interrupt can be nested. The pair of rtos_enter_interrupt()
- * and rtos_exit_interrupt() make sure the context switch is
+ * and rtos_exit_interrupt() make sure the context switch is
* performed only in the last IRQ exit.
*/
void rtos_enter_interrupt(void)
diff --git a/nuttx/arch/rgmp/src/x86/Make.defs b/nuttx/arch/rgmp/src/x86/Make.defs
index 5fb40006e..fcf3180d8 100644
--- a/nuttx/arch/rgmp/src/x86/Make.defs
+++ b/nuttx/arch/rgmp/src/x86/Make.defs
@@ -5,7 +5,7 @@
# Author: Yu Qiang <yuq825@gmail.com>
#
# This file is a part of NuttX:
-#
+#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
#
#
diff --git a/nuttx/arch/rgmp/src/x86/com.c b/nuttx/arch/rgmp/src/x86/com.c
index 7983bb1bc..5a946db52 100644
--- a/nuttx/arch/rgmp/src/x86/com.c
+++ b/nuttx/arch/rgmp/src/x86/com.c
@@ -310,7 +310,7 @@ static int up_attach(struct uart_dev_s *dev)
int err;
err = rgmp_request_irq(priv->irq, &priv->action, 0);
-
+
return err;
}
@@ -374,7 +374,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
struct inode *inode = filep->f_inode;
struct uart_dev_s *dev = inode->i_private;
struct up_dev_s *priv = (struct up_dev_s*)dev->priv;
-
+
switch (cmd) {
case COM_SET_BAUD:
priv->baud = arg;
@@ -546,7 +546,7 @@ static bool up_txempty(struct uart_dev_s *dev)
* Name: up_serialinit
*
* Description:
- * Performs the low level UART initialization early in
+ * Performs the low level UART initialization early in
* debug so that the serial console will be available
* during bootup. This must be called before up_serialinit.
*
@@ -554,7 +554,7 @@ static bool up_txempty(struct uart_dev_s *dev)
void up_earlyserialinit(void)
{
-
+
}
/****************************************************************************