Lines Matching refs:proc
51 The CONFIG_MTRR option creates a /proc/mtrr file which may be used
58 There are two interfaces to /proc/mtrr: one is an ASCII interface
67 % cat /proc/mtrr
72 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
74 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
77 % cat /proc/mtrr
100 in other words the X server will manipulate /proc/mtrr using the
106 %echo "base=0xfb000000 size=0x1000000 type=write-combining" >/proc/mtrr
107 %echo "base=0xfb000000 size=0x1000 type=uncachable" >/proc/mtrr
109 And the results: cat /proc/mtrr
122 % echo "disable=2" >! /proc/mtrr
124 % echo "disable=2" >| /proc/mtrr
154 This program will use an ioctl() on /proc/mtrr to show the current MTRR
155 settings. This is an alternative to reading /proc/mtrr.
194 if ( ( fd = open ("/proc/mtrr", O_RDONLY, 0) ) == -1 )
198 fputs ("/proc/mtrr not found: not supported or you don't have a PPro?\n",
202 fprintf (stderr, "Error opening /proc/mtrr\t%s\n", ERRSTRING);
250 This programme will use an ioctl() on /proc/mtrr to add an entry. The first
251 available mtrr is used. This is an alternative to writing /proc/mtrr.
307 if ( ( fd = open ("/proc/mtrr", O_WRONLY, 0) ) == -1 )
311 fputs ("/proc/mtrr not found: not supported or you don't have a PPro?\n",
315 fprintf (stderr, "Error opening /proc/mtrr\t%s\n", ERRSTRING);
326 fputs ("I've just closed /proc/mtrr so now the new entry should be gone\n",