![Xycom XVME-654 Manual Download Page 60](http://html1.mh-extra.com/html/xycom/xvme-654/xvme-654_manual_3839507060.webp)
Chapter 4 – Programming
4-9
calling environment that must be met. The CS code segment selector and the DS data
segment selector must be set up to encompass the physical page holding the entry point
as well as the immediately following physical page. They must also have the same base.
The SS stack segment selector must be 32 bit and provide at least 1 Kbyte of stack space.
The calling environment must also allow access to I/O space.
The BIOS32 Service Directory provides a single function call to locate the PCI BIOS
service. All parameters to the function are passed in registers. Parameter descriptions are
provided below. Three values are returned by the call. The first is the base physical
address of the PCI BIOS service; the second is the length of the service; and the third is
the entry point to the service encoded as an offset from the base. The first and second
values can be used to build the code segment selector and data segment selector for
accessing the service.
ENTRY:
[EAX] Service Identifier = “$PCI” (049435024h)
[EBX] Set to Zero
EXIT:
[AL]
Return Code:
00h = Successful
80h = Service Identifier not found
81h = Invalid value in [BL]
[EBX] Physical address of the base of the PCI BIOS service
[ECX] Length of the PCI BIOS service
[EDX] Entry point into the PCI BIOS Service. This is an offset from the base
provided in [EBX].
PCI BIOS Function Calls
The available function calls are used to identify the location of resources and to access
configuration space of the VMEbus interface. Special functions allow the reading and
writing of individual bytes, words, and dwords in the configuration space.
PCI BIOS routines (for both 16- and 32-bit callers) must be invoked with appropriate
privilege so that interrupts can be enabled/disabled and the routines can access I/O space.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Summary of Contents for XVME-654
Page 5: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 76: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 77: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 78: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 79: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 80: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 81: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 82: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 83: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 84: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 85: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 86: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 87: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 88: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 89: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 90: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 91: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 92: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 93: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 94: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...