摘要:
在操作系统里,有时候需要从保护模式转换为实模式来调用BIOS一些功能。因此在硬件抽象层里,就需要提供这样的函数支持,这个函数代码如下:#001 BOOLEAN#002 NTAPI#003 HalpBiosDisplayReset(VOID)#004 {#005 ULONG Flags = 0;#006 保存CPU所有状态寄存器,然后关闭中断。#007 /* Disable interrupts */#008 Ke386SaveFlags(Flags);#009 _disable();#010 映射内存到虚拟8086的实模式。#011 /* Map memory available to the 阅读全文
posted @ 2009-02-02 22:38
ajuanabc
阅读(116)
评论(0)
推荐(0)
摘要:
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.spri 阅读全文
posted @ 2009-02-02 09:09
ajuanabc
阅读(200)
评论(0)
推荐(0)