summaryrefslogtreecommitdiffstats
path: root/src/usr/devicefw/driverif.C
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-06-20 12:21:57 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-06-21 17:59:56 -0500
commit5611dd07de1fa342f487d49f57259639c2b0529a (patch)
tree163d0c0f88ce2238ebe9af5c34940b2e5bcef9da /src/usr/devicefw/driverif.C
parent91c0fe55a63a9d420e851534354f1058a9189743 (diff)
downloadtalos-hostboot-5611dd07de1fa342f487d49f57259639c2b0529a.tar.gz
talos-hostboot-5611dd07de1fa342f487d49f57259639c2b0529a.zip
Migrate device framework to use targeting.
Change-Id: I1ae855406e3061f10505eeccbcb2766a15581189 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/153 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Diffstat (limited to 'src/usr/devicefw/driverif.C')
-rw-r--r--src/usr/devicefw/driverif.C14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/devicefw/driverif.C b/src/usr/devicefw/driverif.C
index 3e7a50113..8977ea0f8 100644
--- a/src/usr/devicefw/driverif.C
+++ b/src/usr/devicefw/driverif.C
@@ -34,14 +34,14 @@ namespace DeviceFW
template <>
void deviceRegisterRoute<>(OperationType i_opType,
AccessType i_accessType,
- TargetType_t i_targetType,
+ TARGETING::TYPE i_targetType,
deviceOp_t i_regRoute)
__attribute__((alias("DeviceFW_deviceRegisterRoute")));
template <>
void deviceRegisterRoute<>(OperationType i_opType,
AccessType_DriverOnly i_accessType,
- TargetType_t i_targetType,
+ TARGETING::TYPE i_targetType,
deviceOp_t i_regRoute)
__attribute__((alias("DeviceFW_deviceRegisterRoute")));
@@ -62,14 +62,14 @@ namespace DeviceFW
template <>
void deviceRegisterRoute<>(DriverSpecial i_opType,
AccessType i_accessType,
- TargetType_t i_targetType,
+ TARGETING::TYPE i_targetType,
deviceOp_t i_regRoute)
__attribute__((alias("DeviceFW_deviceRegisterRoute")));
template <>
void deviceRegisterRoute<>(DriverSpecial i_opType,
AccessType_DriverOnly i_accessType,
- TargetType_t i_targetType,
+ TARGETING::TYPE i_targetType,
deviceOp_t i_regRoute)
__attribute__((alias("DeviceFW_deviceRegisterRoute")));
@@ -95,7 +95,7 @@ namespace DeviceFW
*/
extern "C"
errlHndl_t DeviceFW_deviceOp(OperationType i_opType,
- TargetHandle_t i_target,
+ TARGETING::Target* i_target,
void* io_buffer, size_t& io_buflen,
int64_t i_accessType, ...)
{
@@ -119,14 +119,14 @@ namespace DeviceFW
// AccType - AccessType, AccessType_DriverOnly (no WILDCARD).
template <>
errlHndl_t deviceOp<>(OperationType i_opType,
- TargetHandle_t i_target,
+ TARGETING::Target* i_target,
void* io_buffer, size_t& io_buflen,
AccessType i_accessType, ...)
__attribute__((alias("DeviceFW_deviceOp")));
template <>
errlHndl_t deviceOp<>(OperationType i_opType,
- TargetHandle_t i_target,
+ TARGETING::Target* i_target,
void* io_buffer, size_t& io_buflen,
AccessType_DriverOnly i_accessType, ...)
__attribute__((alias("DeviceFW_deviceOp")));
OpenPOWER on IntegriCloud