equal
deleted
inserted
replaced
3240 |
3240 |
3241 TInt DemandPaging::DoInstallPagingDevice(DPagingDevice* aDevice, TInt aId) |
3241 TInt DemandPaging::DoInstallPagingDevice(DPagingDevice* aDevice, TInt aId) |
3242 { |
3242 { |
3243 NKern::LockSystem(); |
3243 NKern::LockSystem(); |
3244 SPagingDevice* device = &iPagingDevices[aId]; |
3244 SPagingDevice* device = &iPagingDevices[aId]; |
3245 if(device->iInstalled) |
3245 if((device->iInstalled) && !(aDevice->iType & DPagingDevice::EMediaExtension)) |
3246 { |
3246 { |
3247 __KTRACE_OPT2(KPAGING,KBOOT,Kern::Printf("**** Attempt to install more than one ROM paging device !!!!!!!! ****")); |
3247 __KTRACE_OPT2(KPAGING,KBOOT,Kern::Printf("**** Attempt to install more than one ROM paging device !!!!!!!! ****")); |
3248 //Panic(EDeviceAlreadyExists); |
3248 //Panic(EDeviceAlreadyExists); |
3249 NKern::UnlockSystem(); |
3249 NKern::UnlockSystem(); |
3250 return KErrNone; |
3250 return KErrNone; |