Debian Codegraph @

MAKEDEV-cpuid-msr

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 msr_major=202
3 cpuid_major=203
4 n=0
5 while [scip-shell system . . `[`. $n -lt 32 ]; do
6 mkdirscip-shell system . . mkdir. -m 0755 -p /dev/cpu/$n
7 mknodscip-shell system . . mknod. /dev/cpu/$n/msr -m 0600 c $msr_major $n
8 mknodscip-shell system . . mknod. /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n
9 n=`exprscip-shell system . . expr. $n + 1`
10 done
11