Annotation of embedtools/inc/defs.h, revision 1.1.1.1.2.5
1.1 misho 1: /*************************************************************************
2: * (C) 2009 AITNET - Sofia/Bulgaria - <office@aitbg.com>
3: * by Michael Pounov <misho@aitbg.com>
4: *
5: * $Author: misho $
1.1.1.1.2.5! misho 6: * $Id: defs.h,v 1.1.1.1.2.4 2009/11/15 17:55:15 misho Exp $
1.1 misho 7: *
8: *************************************************************************/
9: #ifndef __DEFS_H
10: #define __DEFS_H
11:
12:
13: #define MAX_STR 256
1.1.1.1.2.5! misho 14: #define TFTP_BUF 516
! 15: #define TFTP_RETRY 7
! 16: #define TFTP_TIMEOUT 3
! 17:
! 18: #define TFTP_RRQ 1
! 19: #define TFTP_WRQ 2
! 20: #define TFTP_DATA 3
! 21: #define TFTP_ACK 4
! 22: #define TFTP_ERROR 5
1.1 misho 23:
24: #define DEFAULT_TIMEOUT "300"
25: #define DEFAULT_CONFIG "/etc/cfexec.conf"
26: #define DEFAULT_USER "root"
27: #define DEFAULT_MOUNT "/cf"
28: #define DEFAULT_DEVICE "/dev/ufs/AITBSDonCF"
29: #define DEFAULT_CHROOT "/"
30: #define DEFAULT_TMP "/tmp"
1.1.1.1.2.4 misho 31: #define DEFAULT_TFTP 69
32: #define DEFAULT_TFTPDIR "/cf/tftpboot"
1.1 misho 33:
1.1.1.1.2.2 misho 34: #define FIRMWARE_IMG "aitbsd-firmware"
1.1.1.1.2.3 misho 35: #define FIRMWARE_BAK "aitbsd-firmware.old"
1.1.1.1.2.2 misho 36:
1.1 misho 37: #define VERB(x) if ((x) <= Verbose)
38:
39:
1.1.1.1.2.1 misho 40: extern int Verbose;
1.1 misho 41:
42:
43: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>