summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2008-10-26 11:08:14 +0000
committerDenis Vlasenko2008-10-26 11:08:14 +0000
commitc94fa5651a6c4f6b526de261e7480ce2c4e34aba (patch)
treef75161b60cffcec4acde0387618de3cd7b5cca52 /include
parentf3dcd3c30aa704a542b50357094d037f976be3ce (diff)
downloadbusybox-c94fa5651a6c4f6b526de261e7480ce2c4e34aba.zip
busybox-c94fa5651a6c4f6b526de261e7480ce2c4e34aba.tar.gz
devmem: new applet
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index e3f9294..d52f9f0 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -119,6 +119,7 @@ USE_DELUSER(APPLET(deluser, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_DEPMOD(APPLET(depmod, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_MODPROBE_SMALL(APPLET_ODDNAME(depmod, modprobe, _BB_DIR_SBIN, _BB_SUID_NEVER, modprobe))
USE_DEVFSD(APPLET(devfsd, _BB_DIR_SBIN, _BB_SUID_NEVER))
+USE_DEVMEM(APPLET(devmem, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_DF(APPLET(df, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_APP_DHCPRELAY(APPLET(dhcprelay, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_DIFF(APPLET(diff, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 3c11013..dbef9f6 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -690,6 +690,15 @@
#define depmod_trivial_usage NOUSAGE_STR
#define depmod_full_usage ""
+#define devmem_trivial_usage \
+ "ADDRESS [WIDTH [VALUE]]"
+
+#define devmem_full_usage "\n\n" \
+ "Read/write from physical address\n" \
+ "\n ADDRESS Address to act upon" \
+ "\n WIDTH Width (8/16/...)" \
+ "\n VALUE Data to be written" \
+
#define devfsd_trivial_usage \
"mntpnt [-v]" USE_DEVFSD_FG_NP("[-fg][-np]")
#define devfsd_full_usage "\n\n" \