summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bootcard.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-06 19:28:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-06 19:28:02 +0000
commit7492598196c0a9d9a78cf1e2e51f173e281ca9d7 (patch)
treec1f4dea55aa203dc7e808c17f84a375d340b66d4 /c/src/lib/libbsp/shared/bootcard.c
parent2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-7492598196c0a9d9a78cf1e2e51f173e281ca9d7.tar.bz2
2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Improve formatting and comments.
Diffstat (limited to 'c/src/lib/libbsp/shared/bootcard.c')
-rw-r--r--c/src/lib/libbsp/shared/bootcard.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c
index 9e4c29adab..8d7550f7d8 100644
--- a/c/src/lib/libbsp/shared/bootcard.c
+++ b/c/src/lib/libbsp/shared/bootcard.c
@@ -42,7 +42,11 @@ extern void bsp_cleanup( void );
char *rtems_progname;
-int boot_card(int argc, char **argv, char **envp)
+int boot_card(
+ int argc,
+ char **argv,
+ char **envp
+)
{
static char *argv_pointer = NULL;
static char *envp_pointer = NULL;
@@ -57,9 +61,9 @@ int boot_card(int argc, char **argv, char **envp)
rtems_interrupt_disable( bsp_isr_level );
/*
- * Set things up so c_rtems_main() is called with real pointers for
- * argv and envp. If the BSP has passed us something useful, then
- * pass it on. Somehow we need to eventually make this available to
+ * Set things up so we have real pointers for argv and envp.
+ * If the BSP has passed us something useful, then pass it on.
+ * Somehow we need to eventually make this available to
* a real main() in user land. :)
*/