Lines Matching refs:kernel
8 # This is a little script to patch a 5.5 or 5.5.1 kernel to get around
15 # Patching a kernel can render a machine unbootable; do not run this
31 kernel=/platform/sun4u/kernel/unix
34 kernel=$2
37 if [ ! -w $kernel ]; then
38 echo "$0: Cannot open $kernel for writing."
42 arch=`echo utsname+404?s | adb $kernel | cut -d: -f2`
49 rel=`echo utsname+202?s | adb $kernel | cut -d: -f2`
60 instr=`echo setcpudelay+34?X | adb $kernel | cut -d: -f 2 | nawk '{ print $1 }'`
71 if ! echo setcpudelay+34?W $nop | adb -w $kernel 1> /dev/null
79 if ! echo cpu_tick_freq?W 0t$cpu_tick_freq | adb -w $kernel 1> /dev/null; then
84 echo "$kernel successfully patched."