equal
deleted
inserted
replaced
4945 OstTraceDefExt2( OST_TRACE_CATEGORY_RND, TRACE_DEMANDPAGING, LOCDRV_REGISTERPAGINGDEVICE4, "Paging device ECaps: i %d retval=%d", i, r); |
4945 OstTraceDefExt2( OST_TRACE_CATEGORY_RND, TRACE_DEMANDPAGING, LOCDRV_REGISTERPAGINGDEVICE4, "Paging device ECaps: i %d retval=%d", i, r); |
4946 } |
4946 } |
4947 |
4947 |
4948 if (r != KErrNone) |
4948 if (r != KErrNone) |
4949 { |
4949 { |
4950 OstTrace1(TRACE_FLOW, LOCRV_REGISTERPAGINGDEVICE_EXIT9, "< retval=%d",r); |
4950 OstTrace1(TRACE_FLOW, LOCRV_REGISTERPAGINGDEVICE_EXIT9, "< Caps::retval=%d - return KErrNotSupported",r); |
4951 return r; |
4951 // Media driver failure; media maybe recoverable after boot. |
|
4952 // Can't register any page drives so return not supported. |
|
4953 return KErrNotSupported; |
4952 } |
4954 } |
4953 |
4955 |
4954 TLocDrv* drive; |
4956 TLocDrv* drive; |
4955 for (i=0; i<KMaxLocalDrives; ++i) |
4957 for (i=0; i<KMaxLocalDrives; ++i) |
4956 { |
4958 { |
5010 Kern::Printf("iReadUnitShift 0x%x\n", pagingDevice->iReadUnitShift); |
5012 Kern::Printf("iReadUnitShift 0x%x\n", pagingDevice->iReadUnitShift); |
5011 Kern::Printf("iFirstLocalDriveNumber 0x%x\n", pagingDevice->iFirstLocalDriveNumber); |
5013 Kern::Printf("iFirstLocalDriveNumber 0x%x\n", pagingDevice->iFirstLocalDriveNumber); |
5012 Kern::Printf("iRomPagingDriveNumber 0x%x\n", pagingDevice->iRomPagingDriveNumber); |
5014 Kern::Printf("iRomPagingDriveNumber 0x%x\n", pagingDevice->iRomPagingDriveNumber); |
5013 Kern::Printf("iDataPagingDriveNumber 0x%x\n", pagingDevice->iDataPagingDriveNumber); |
5015 Kern::Printf("iDataPagingDriveNumber 0x%x\n", pagingDevice->iDataPagingDriveNumber); |
5014 Kern::Printf("iSwapSize 0x%x\n", pagingDevice->iSwapSize); |
5016 Kern::Printf("iSwapSize 0x%x\n", pagingDevice->iSwapSize); |
5015 #endif |
5017 #endif |
5016 |
5018 |
5017 |
5019 |
5018 // This table is indexed by DPagingDevice::TType |
5020 // This table is indexed by DPagingDevice::TType |
5019 const char* DeviceName[] = |
5021 const char* DeviceName[] = |
5020 { |
5022 { |