9
0
Fork 0
barebox/include
Sascha Hauer b8c94a1561 add 'global' command
This implements global shell variable support. This is done by registering
a new device named 'global', so global variables are just plain device
parameters.
Global variables are useful for storing the global state in the environment.
Currently we do this by sourcing scripts instead of executing them which is
quite limiting.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-05-14 08:57:01 +02:00
..
asm-generic ARM: add initial i.MX6 support 2012-04-24 10:31:44 +02:00
cramfs fix cramfs support broken since zlib update 2011-12-05 15:19:26 +01:00
i2c Allow data-only i2c transfers 2011-10-07 15:42:48 +02:00
linux linux/types.h: define phys_size_t 2012-05-13 22:10:52 +02:00
mci twl6030: add missing twl6030 header file. 2012-01-06 09:50:11 +01:00
mfd Add MC13783 SWx definitions 2012-04-11 09:51:01 +02:00
mtd barebox ubi changes 2010-07-05 15:07:14 +02:00
spi spi: indicate in the docs that per-transfer bpw setting is not supported 2011-09-29 12:27:32 +02:00
usb Completely migrate option ISP1504 to ULPI 2012-04-02 09:32:54 +02:00
.gitignore move barebox_default_env.h to include/generated/ 2010-09-17 10:56:24 +08:00
aimage.h arm: add Android boot image support 2012-04-13 12:08:42 +02:00
ata_drive.h ATA Disk Support: Add support for native ATA type drives 2011-11-28 09:23:24 +01:00
binfmt.h Introduce binfmt support 2012-04-18 20:14:12 +08:00
block.h block: reimplement caching 2012-02-15 08:21:43 +01:00
bmp_layout.h framebuffer: Add bmp command to show bmp files 2009-07-31 15:08:49 +02:00
boot.h ppc: switch to libfdt based oftree implementation 2011-12-15 20:11:47 +01:00
bunzip2.h use kernel bunzip implementation 2011-11-29 21:12:27 +01:00
cache.h remove strange flush_cache functions 2010-10-21 22:21:25 +02:00
clock.h Add a timeout polling loop convenience wrapper 2012-02-09 14:35:06 +01:00
command.h complete: add generic command complete framework 2012-04-30 20:29:50 +08:00
common.h ARM: Allow to compile in thumb-2 mode 2012-03-06 09:37:59 +01:00
complete.h complete: add delpart complete support 2012-04-30 20:37:40 +08:00
console.h console: remove unused function prototypes 2012-01-26 12:28:22 +01:00
crc.h Some code cleanup 2006-04-16 10:51:58 +02:00
crc7.h crypto: Add crc7 function 2011-11-25 12:37:25 +01:00
debug_ll.h debug_ll.h: add PUTS_LL() function 2011-07-18 23:04:18 +02:00
digest.h digest: factorise file digest to common/digest.c 2011-10-12 08:52:49 +02:00
disks.h DISK: Add common partition handling for disk like media 2011-11-28 09:23:24 +01:00
dm9000.h dm9000: introduce add_dm9000_device to register dm9000 device 2011-07-29 14:04:24 +08:00
driver.h Use DEVICE_ID_DYNAMIC where applicable 2012-04-16 09:43:02 +02:00
elf.h replace elf.h with the one from the linux kernel. It does not have powerpc 2007-09-28 19:59:12 +02:00
envfs.h rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
environment.h environment: export_/getenv_ull as inline ifndef CONFIG_ENVIRONMENT_VARIABLES 2012-01-11 09:36:30 +01:00
errno.h add strerror function 2009-05-25 16:52:35 +02:00
fb.h Add the feature to change the video mode at runtime 2010-12-21 08:26:08 +01:00
fcntl.h rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
fdt.h initial libfdt support 2011-10-19 10:08:48 +02:00
fec.h net fec: Add i.MX6 support 2012-04-24 10:31:47 +02:00
filetype.h MIPS: bootm: add "MIPS barebox" handler 2012-05-11 09:05:11 +02:00
fnmatch.h add globbing support 2008-03-09 22:35:38 +01:00
fs.h Add automount support 2012-03-18 15:03:26 +01:00
getopt.h getopt: save and restore context 2012-02-27 19:53:47 +01:00
glob.h hardcode _FILE_OFFSET_BITS to 32 2008-06-03 13:34:45 +02:00
globalvar.h add 'global' command 2012-05-14 08:57:01 +02:00
gpio.h GPIO support 2008-10-27 17:29:57 +01:00
gpio_keys.h add gpio keyboard support 2012-02-16 18:17:30 +08:00
gunzip.h decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning 2012-01-02 12:33:52 +01:00
image.h move code now only used in mkimage to mkimage 2011-12-15 11:07:15 +01:00
init.h init: introduce mem, mmu and postmmu initcall 2011-08-01 16:31:46 +02:00
io.h Fix big endian MMIO primitives. 2012-05-07 09:50:29 +02:00
ioctl.h add basic at91sam9260 support. Currently only second stage 2008-06-06 09:30:32 +02:00
kallsyms.h kallsyms/printk: enable symbol printing support (%pS) 2011-03-10 14:50:16 +01:00
kfifo.h kfifo: change kfifo_init to work with a preallocated fifo 2012-01-26 13:57:43 +01:00
kgdb.h Initial revision 2002-08-27 10:38:37 +00:00
led.h LED: Add LED trigger support 2010-12-20 09:57:35 +01:00
libbb.h libbb: add read_full/write_full functions 2011-12-15 10:20:09 +01:00
libfdt.h initial libfdt support 2011-10-19 10:08:48 +02:00
libfdt_env.h initial libfdt support 2011-10-19 10:08:48 +02:00
libgen.h move dirname() and basename() to lib/libgen.c and add header file 2007-09-24 16:57:12 +02:00
lzo.h remove now unused unlzo function 2011-11-29 21:12:42 +01:00
magicvar.h add magicvar command 2011-11-29 20:51:31 +01:00
malloc.h malloc: put common memory functions to seperate file 2011-04-11 15:57:51 +02:00
mci.h mci: Fix 8 bit mmc cards 2012-02-09 14:35:20 +01:00
memory.h register sdram as resources 2011-12-04 22:26:07 +01:00
menu.h menu: fix menu alloc init 2012-04-23 19:51:06 +08:00
miidev.h net mii: Add mii_open/mii_close functions 2012-04-24 10:31:47 +02:00
module.h module: move EXPORT_SYMBOL_GPL define to module.h 2010-08-30 14:36:09 +02:00
nand.h nand bb: add proper bb remove function 2011-04-12 09:54:56 +02:00
net.h net: remove unused getenv_ip_dns 2012-04-15 16:26:07 +02:00
notifier.h notifier: sparse fixes 2010-10-21 22:21:23 +02:00
ns16550.h ns16550: support for UART with broken FIFO 2012-01-19 09:46:02 +01:00
of.h oftree: add of_fix_tree() 2011-12-15 10:18:14 +01:00
param.h parameter: remove unused struct member 2012-05-13 14:03:07 +02:00
part.h rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
partition.h Removed duplicate definition for DEVFS_PARTITION_xxx 2012-05-13 21:58:19 +02:00
password.h login: add timeout support 2011-08-11 09:22:07 +02:00
platform_ide.h Add driver for IDE like interfaces 2011-11-28 09:23:24 +01:00
poller.h Add generic poll infrastructure 2010-12-20 09:28:21 +01:00
progress.h add progression bar function 2010-06-28 10:43:55 +02:00
pwm.h drivers/pwm: add duty_ns and period_ns to core pwm chip 2012-02-17 10:18:30 +01:00
readkey.h readkey: add define for Ascii keys 2012-02-16 18:17:32 +08:00
rtc.h Initial revision 2001-04-09 21:43:07 +00:00
s_record.h Initial revision 2001-04-28 17:59:11 +00:00
scsi.h USB mass storage device driver initial implementation 2011-09-23 08:53:22 +02:00
sizes.h svn_rev_082 2007-07-05 18:01:21 +02:00
stdio.h fix fprintf prototype and return value 2011-11-11 16:19:48 +01:00
stdlib.h include support for a simple pseudo number generator 2010-06-22 15:44:44 +02:00
string.h add protection from double inclusion in string.h 2008-03-31 21:55:34 +02:00
stringlist.h stringlist: implement string_list_add_asprintf 2012-04-30 20:22:23 +08:00
tlsf.h adapt tlsf for barebox 2011-12-23 11:26:42 +01:00
types.h add __[lb]e types 2009-04-06 11:12:54 +02:00
ubi-media.h documentation updates 2009-12-15 11:32:02 +01:00
uncompress.h Add generic uncompress function 2011-11-29 21:12:42 +01:00
usb_dfu_trailer.h rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
xfuncs.h Fix error handling with malloc, memalign etc. Introduce xmemalign(). 2011-01-07 10:21:22 +01:00
xyzModem.h stddef: introduce true/false enum 2010-08-06 19:12:07 +02:00