Osd I/O interfaces now use pointer-width I/O addresses

date	99.11.09.23.11.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:43:50 +00:00
parent c6aa1d375b
commit be1357076d

View File

@ -124,8 +124,8 @@
#include <events.h>
#define _THIS_MODULE "ieregion.c"
#define _COMPONENT INTERPRETER
MODULE_NAME ("ieregion");
/*****************************************************************************
@ -294,15 +294,15 @@ AmlSystemIoSpaceHandler (
/* I/O Port width */
case 8:
*Value = (UINT32) OsdIn8 ((UINT16) Address);
*Value = (UINT32) OsdIn8 (Address);
break;
case 16:
*Value = (UINT32) OsdIn16 ((UINT16) Address);
*Value = (UINT32) OsdIn16 (Address);
break;
case 32:
*Value = OsdIn32 ((UINT16) Address);
*Value = OsdIn32 (Address);
break;
default:
@ -323,15 +323,15 @@ AmlSystemIoSpaceHandler (
{
/* I/O Port width */
case 8:
OsdOut8 ((UINT16) Address, (UINT8) *Value);
OsdOut8 (Address, (UINT8) *Value);
break;
case 16:
OsdOut16 ((UINT16) Address, (UINT16) *Value);
OsdOut16 (Address, (UINT16) *Value);
break;
case 32:
OsdOut32 ((UINT16) Address, *Value);
OsdOut32 (Address, *Value);
break;
default: