1 .\" $NetBSD: elanpar.4,v 1.3 2008/04/08 20:30:16 dyoung Exp $
4 .\" Copyright (c) 2008 David Young. All rights reserved.
6 .\" Written by David Young.
8 .\" Redistribution and use in source and binary forms, with or
9 .\" without modification, are permitted provided that the following
10 .\" conditions are met:
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above
14 .\" copyright notice, this list of conditions and the following
15 .\" disclaimer in the documentation and/or other materials
16 .\" provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY DAVID YOUNG ``AS IS'' AND ANY
19 .\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20 .\" THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
21 .\" PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DAVID
22 .\" YOUNG BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 .\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
24 .\" TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 .\" POSSIBILITY OF SUCH DAMAGE.
36 .Nd AMD Elan SC520 Programmable Address Regions
38 .Cd "elansc* at mainbus? bus ?"
39 .Cd "elanpar* at elansc?"
43 driver supports the write-protect feature of the AMD
44 Elan SC520 microcontroller's integrated Programmable Address Regions.
47 protects the kernel text from being overwritten by the CPU or errant DMA.
50 .It elanpar0: cpu violated write-protect window %u
51 .It elanpar0: gp violated write-protect window %u
52 .It elanpar0: pci violated write-protect window %u
55 A Programmable Address Region stopped
56 either the CPU, the general-purpose bus
58 or a PCI bus master from writing to the indicated window of
59 write-protected memory.
61 .It elanpar0: %u bytes of kernel text are unprotected
65 has not write-protected
67 bytes of the kernel text.
76 leaves as many as 65535 bytes unprotected at the beginning and
80 is not compatible with setting breakpoints
86 .Ic drvctl Fl d Ar elanpar0
87 before setting a breakpoint with
92 device first appeared in
98 .An David Young Aq dyoung@NetBSD.org .