diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-10-26 11:08:14 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-10-26 11:08:14 +0000 |
| commit | c94fa5651a6c4f6b526de261e7480ce2c4e34aba (patch) | |
| tree | f75161b60cffcec4acde0387618de3cd7b5cca52 /include | |
| parent | f3dcd3c30aa704a542b50357094d037f976be3ce (diff) | |
| download | busybox-w32-c94fa5651a6c4f6b526de261e7480ce2c4e34aba.tar.gz busybox-w32-c94fa5651a6c4f6b526de261e7480ce2c4e34aba.tar.bz2 busybox-w32-c94fa5651a6c4f6b526de261e7480ce2c4e34aba.zip | |
devmem: new applet
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 1 | ||||
| -rw-r--r-- | include/usage.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index e3f929440..d52f9f034 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -119,6 +119,7 @@ USE_DELUSER(APPLET(deluser, _BB_DIR_BIN, _BB_SUID_NEVER)) | |||
| 119 | USE_DEPMOD(APPLET(depmod, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 119 | USE_DEPMOD(APPLET(depmod, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 120 | USE_MODPROBE_SMALL(APPLET_ODDNAME(depmod, modprobe, _BB_DIR_SBIN, _BB_SUID_NEVER, modprobe)) | 120 | USE_MODPROBE_SMALL(APPLET_ODDNAME(depmod, modprobe, _BB_DIR_SBIN, _BB_SUID_NEVER, modprobe)) |
| 121 | USE_DEVFSD(APPLET(devfsd, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 121 | USE_DEVFSD(APPLET(devfsd, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 122 | USE_DEVMEM(APPLET(devmem, _BB_DIR_SBIN, _BB_SUID_NEVER)) | ||
| 122 | USE_DF(APPLET(df, _BB_DIR_BIN, _BB_SUID_NEVER)) | 123 | USE_DF(APPLET(df, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 123 | USE_APP_DHCPRELAY(APPLET(dhcprelay, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 124 | USE_APP_DHCPRELAY(APPLET(dhcprelay, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
| 124 | USE_DIFF(APPLET(diff, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 125 | USE_DIFF(APPLET(diff, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
diff --git a/include/usage.h b/include/usage.h index 3c110132e..dbef9f6f5 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -690,6 +690,15 @@ | |||
| 690 | #define depmod_trivial_usage NOUSAGE_STR | 690 | #define depmod_trivial_usage NOUSAGE_STR |
| 691 | #define depmod_full_usage "" | 691 | #define depmod_full_usage "" |
| 692 | 692 | ||
| 693 | #define devmem_trivial_usage \ | ||
| 694 | "ADDRESS [WIDTH [VALUE]]" | ||
| 695 | |||
| 696 | #define devmem_full_usage "\n\n" \ | ||
| 697 | "Read/write from physical address\n" \ | ||
| 698 | "\n ADDRESS Address to act upon" \ | ||
| 699 | "\n WIDTH Width (8/16/...)" \ | ||
| 700 | "\n VALUE Data to be written" \ | ||
| 701 | |||
| 693 | #define devfsd_trivial_usage \ | 702 | #define devfsd_trivial_usage \ |
| 694 | "mntpnt [-v]" USE_DEVFSD_FG_NP("[-fg][-np]") | 703 | "mntpnt [-v]" USE_DEVFSD_FG_NP("[-fg][-np]") |
| 695 | #define devfsd_full_usage "\n\n" \ | 704 | #define devfsd_full_usage "\n\n" \ |
