diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-07 17:42:58 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-07 17:42:58 +0000 |
commit | 1f754edf772673bababe1dc42dad095208525230 (patch) | |
tree | a690d400f687f300dc1753b5be22f2c960ec21b8 /nuttx/arch/c5471/src/up_internal.h | |
parent | 37d122462b63f86d33120783576e9b74b880edd9 (diff) | |
download | px4-nuttx-1f754edf772673bababe1dc42dad095208525230.tar.gz px4-nuttx-1f754edf772673bababe1dc42dad095208525230.tar.bz2 px4-nuttx-1f754edf772673bababe1dc42dad095208525230.zip |
c5471 bringup changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@41 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/c5471/src/up_internal.h')
-rw-r--r-- | nuttx/arch/c5471/src/up_internal.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/arch/c5471/src/up_internal.h b/nuttx/arch/c5471/src/up_internal.h index b1256130e..7563a15fc 100644 --- a/nuttx/arch/c5471/src/up_internal.h +++ b/nuttx/arch/c5471/src/up_internal.h @@ -44,6 +44,11 @@ * Definitions ************************************************************/ +/* Bring-up debug configurations */ + +#define CONFIG_SUPPRESS_INTERRUPTS 1 /* Do not enable interrupts */ +#define CONFIG_SUPPRESS_UART_CONFIG 1 /* Do not reconfig UART */ + /************************************************************ * Public Types ************************************************************/ @@ -57,7 +62,20 @@ typedef void (*up_vector_t)(void); ************************************************************/ #ifndef __ASSEMBLY__ +/* This holds a references to the current interrupt level + * register storage structure. If is non-NULL only during + * interrupt processing. + */ + extern uint32 *current_regs; + +/* This is the beginning of heap as provided from up_head.S. + * This is the first address in DRAM after the loaded + * program+bss+idle stack. The end of the heap is + * CONFIG_DRAM_END + */ + +extern uint32 g_heapstart; #endif /************************************************************ @@ -75,6 +93,7 @@ extern uint32 *current_regs; extern void up_copystate(uint32 *dest, uint32 *src); extern void up_dataabort(uint32 *regs); +extern void up_delay(int milliseconds); extern void up_doirq(int irq, uint32* regs); extern void up_fullcontextrestore(uint32 *regs) __attribute__ ((noreturn)); extern void up_irqinitialize(void); |