![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
PMI Keywords
The following table lists the reserved identifiers, called Keywords, used
by the Protect Mode Interface (PMI).
+------------------------------+------------------------------+
|Name |Section |
+------------------------------+------------------------------+
|[Cleanup] |PMI sections |
+------------------------------+------------------------------+
|[Comment] |PMI sections |
+------------------------------+------------------------------+
|[Declarations] |PMI sections |
+------------------------------+------------------------------+
|[GetBank] |PMI sections |
+------------------------------+------------------------------+
|[Hardware] |PMI sections |
+------------------------------+------------------------------+
|[IdentifyAdapter] |PMI sections |
+------------------------------+------------------------------+
|[ModeInfo] |PMI sections |
+------------------------------+------------------------------+
|[MonitorModeInfo] |PMI sections |
+------------------------------+------------------------------+
|[PMIVersion] |PMI sections |
+------------------------------+------------------------------+
|[SetBank] |PMI sections |
+------------------------------+------------------------------+
|[SetMode] |PMI sections |
+------------------------------+------------------------------+
|[SetMemoryIOAddress] |PMI sections |
+------------------------------+------------------------------+
|[TrapRegs] |PMI sections |
+------------------------------+------------------------------+
|[TuneDisplay] |PMI sections |
+------------------------------+------------------------------+
|[UnLock] |PMI sections |
+------------------------------+------------------------------+
|ABOUTDW |PMI commands |
+------------------------------+------------------------------+
|ABOUTW |PMI commands |
+------------------------------+------------------------------+
|BINB |PMI commands |
+------------------------------+------------------------------+
|BOUTB |PMI commands |
+------------------------------+------------------------------+
|ENDWHILE |PMI constructs |
+------------------------------+------------------------------+
|GOTO |PMI constructs |
+------------------------------+------------------------------+
|IF |PMI constructs |
+------------------------------+------------------------------+
|INB |PMI commands |
+------------------------------+------------------------------+
|INDW |PMI commands |
+------------------------------+------------------------------+
|INW |PMI commands |
+------------------------------+------------------------------+
|MEMCMP |PMI constructs |
+------------------------------+------------------------------+
|OUTB |PMI commands |
+------------------------------+------------------------------+
|OUTDW |PMI commands |
+------------------------------+------------------------------+
|OUTW |PMI commands |
+------------------------------+------------------------------+
|READB |PMI commands |
+------------------------------+------------------------------+
|READDW |PMI commands |
+------------------------------+------------------------------+
|READW |PMI commands |
+------------------------------+------------------------------+
|RMWB |PMI commands |
+------------------------------+------------------------------+
|RMWBI |PMI commands |
+------------------------------+------------------------------+
|RMWW |PMI commands |
+------------------------------+------------------------------+
|STRCMP |PMI constructs |
+------------------------------+------------------------------+
|WHILE |PMI constructs |
+------------------------------+------------------------------+
|WRITEB |PMI commands |
+------------------------------+------------------------------+
|WRITEDW |PMI commands |
+------------------------------+------------------------------+
|WRITEW |PMI commands |
+------------------------------+------------------------------+
Variables are user-defined identifiers that symbolically represent a
hardware register in terms of its offset, in either the CPU's I/O space or
memory space. Use of variables is required for system architectures in
which dynamic configuration and multiple instances of the same hardware
are possible. A variable must be declared prior to being used. See
[Declarations] section in PMI Sections.
<memory-mapped variable> ::= <mmio variable> = 'MMIO{'<number>'}'
<port-variable declaration> ::= <pio variable> = 'PIO{'<number>'}'
<mmio variable> ::= <name>
<pio variable> ::= <name>
For example:
seq_address = PIO{0x3c4};
interrupt_en = MMIO{0x00000080}
Labels are user-defined identifiers that refer to code locations. The
scope of a label is its containing function (or section). A label name
within an adapter definition should be unique. The label must be declared
prior to its reference.
<label> ::= <name>':'
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs