diff options
author | hcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-04 17:41:40 +0000 |
---|---|---|
committer | hcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-04 17:41:40 +0000 |
commit | 3b9260da791f75cbb19111ae2bca464ac48c22b9 (patch) | |
tree | a4ab8182d1030b4c22537e63b29c11a901f9caaf /target/linux/at91-2.6/image/dfboot/src/com.h | |
parent | 2f8d658a22c57a9f33539ad1de7c763be18f0f57 (diff) |
add new dfboot loader - a complete revison of romboot code.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91-2.6/image/dfboot/src/com.h')
-rw-r--r-- | target/linux/at91-2.6/image/dfboot/src/com.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/image/dfboot/src/com.h b/target/linux/at91-2.6/image/dfboot/src/com.h new file mode 100644 index 0000000000..7af09e4d6d --- /dev/null +++ b/target/linux/at91-2.6/image/dfboot/src/com.h @@ -0,0 +1,28 @@ +/*---------------------------------------------------------------------------- + * ATMEL Microcontroller Software Support - ROUSSET - + *---------------------------------------------------------------------------- + * The software is delivered "AS IS" without warranty or condition of any + * kind, either express, implied or statutory. This includes without + * limitation any warranty or condition with respect to merchantability or + * fitness for any particular purpose, or against the infringements of + * intellectual property rights of others. + *---------------------------------------------------------------------------- + * File Name : com.h + * Object : + * + * 1.0 27/03/03 HIi : Creation + *---------------------------------------------------------------------------- + */ +#ifndef com_h +#define com_h + +#define AT91C_CB_SIZE 20 /* size of the console buffer */ + +/* Escape sequences */ +#define ESC \033 + +extern int AT91F_ReadLine (const char *const prompt, char *console_buffer); +extern void AT91F_WaitKeyPressed(void); + +#endif + |