访问实际硬件(卡)寄存器的代码现在应该进行一些修改,访问模拟设备寄存器的本地变量。
The code that accesses the actual card registers should now be changed to access the local variables that mimic the device's registers.
这样就可以有效地对设备寄存器和位于SRAM中的某些标志位提供存取接口,而不再需要完整的布尔逻辑运算过程。
This allows efficient access to peripheral registers and flags located in SRAM memory without the need for a full Boolean processor.
例如,在驱动程序与硬件进行通信时,它操纵寄存器以便请求一些所需的设备操作。
For example, when a driver communicates with hardware, it manipulates registers to request some desired operation of the device.
很多设备都有配置寄存器,BIOS可以基于系统可写内存中的设置向其中写入合理或正确的值。
Many devices have configuration registers to which the BIOS can write reasonable or correct values, based on Settings located in the system's writeable memory.
实际上应该复制这些设备的寄存器的值。
通过标准的Modbus命令请求测试设备上的Modbus寄存器的内容。
Request the contents of Modbus registers on the device under test through standard Modbus commands.
setup_arch还需要对闪存存储库、系统寄存器和其它特定设备执行内存映射。
The setup_arch also needs to perform any memory mappings for flash Banks, system registers, and other specific devices.
以0b和0c开头的后续命令对分别是请求和验证规则命令,用于提取和检查从测试设备上的Modbus寄存器提取的值。
Subsequent command pairs starting with 0b and 0c are request and verification rule commands, respectively, used to extract and check values extracted from Modbus registers on the device under test.
kdb允许用户控制内核代码的执行(包括内核扩展和设备驱动器),并观察和修改变量和寄存器。
KDB allows the user to control execution of kernel code (including kernel extensions and device drivers), and to observe and modify the variables and register.
在来宾操作系统的驱动程序窥探内存和硬件寄存器时,软件存在于下面来仿真设备(参见图2)。
When the guest operating system's driver peeks and pokes at the memory and hardware registers, software exists underneath to emulate the device (see Figure 2).
如果设备和目标体系结构允许,还可以通过调试器来访问这个设备的寄存器。
If the device and the target architecture permit, you could access the device's register through the debugger.
底层网络包的数据或消息区域封装了一个请求命令,它请求设备中包含设备信号数据的寄存器的内容。
A request command is enclosed in the data or message section of the underlying network packet. It requests the contents of registers in the device containing signal data of a device.
在这种策略中,我们将采用与策略1中相同的方法来访问设备的寄存器,也就是使用本地寄存器变量。
In this strategy, you'll access the device's register the same way as in strategy 1 — using local register variables.
它还规定在存储设备与一组32位矢量寄存器(Vector Register,VR)之间存取和储存的字节、半字、字和四字操作数。
It also provides for byte, halfword, word, and quadword operand fetches and stores between storage and a set of 32 Vector Registers (VRs).
第二种方法:“分布式dma”,允许将“对82c37寄存器的读取和写入”分发给其它PCI设备。
The second method, distributed DMA, allows reads and writes to 82c37 registers to be distributed to other PCI devices.
因为大多数设备是分开的CPU总线,慢得多的发送数据跨比写信给CPU寄存器或内存(缓存)。
Because most devices are separated from the CPU by a bus, which is much slower to send data across than it is to write to CPU registers or (cached) memory.
一种硬件交互方法,不断读状态寄存器,直到设备进入等待状态。
A method of interfacing with hardware that involves repeatedly reading a status register until the device has reached the awaited state.
当然,这些寄存器的内容已由程序员针对每个设备加以规定了。
Naturally, the contents of these registers have been specified by the programmer for each device.
在总线上的每个控制器可以被CPU所单独寻址,这是软件设备驱动程序能写入寄存器并能控制这些控制器的原因。
Each controller on a bus can be individually addressed by the CPU, this is why the software device driver can write to its registers and thus control it.
一种硬件交互方法,一直读状况寄存器,直到设备进入等候状态。
A method of interfacing with hardware that involves repeatedly reading a status register until the device has reached the awaited state.
MAI管理设备控制器内的所有状态寄存器,并且通过8位并行数据线与设备端mcu进行数据交换。
MAI, which manages all the control status registers, exchange data with MCU through 8-bit data bus.
从设备的观点看,例如软盘控制器,它只能看见其控制寄存器所在的(ISA)空间的地址,不能看到系统主存。
From the point of view of the device, say the floppy disk controller, it will see only the address space that its control registers are in (ISA), and not the system memory.
之后,驾驶员命令设备来完成其工作(通过操纵其寄存器)和直接在设备传送输出数据在存储器中分配的缓冲区。
Then the driver commands the device to do its job (by manipulating its registers) and the device transfers output data directly to the allocated buffer in the memory.
本寄存器是只读的,被用来标识该设备类属的功能,而且在有些情况下,是一个寄存器级的编程接口。
Class Code the Class Code register is read-only and is used to identify the generic function of the device and, in some cases, a specific register-level programming interface.
本寄存器是只读的,被用来标识该设备类属的功能,而且在有些情况下,是一个寄存器级的编程接口。
Class Code the Class Code register is read-only and is used to identify the generic function of the device and, in some cases, a specific register-level programming interface.
应用推荐