7 lines
157 B
Bash
Executable File
7 lines
157 B
Bash
Executable File
#!/bin/sh
|
|
if [ ! -n "$3" ] ; then
|
|
echo "Usage: $0 <hexaddr> <val> <length>: Write halfwords to a memory region"
|
|
else
|
|
echo w $1 $2 $3 h > /proc/bcmlog
|
|
fi
|