equal
deleted
inserted
replaced
3292 |
3292 |
3293 TInt DemandPaging::DoInstallPagingDevice(DPagingDevice* aDevice, TInt aId) |
3293 TInt DemandPaging::DoInstallPagingDevice(DPagingDevice* aDevice, TInt aId) |
3294 { |
3294 { |
3295 NKern::LockSystem(); |
3295 NKern::LockSystem(); |
3296 SPagingDevice* device = &iPagingDevices[aId]; |
3296 SPagingDevice* device = &iPagingDevices[aId]; |
3297 if(device->iInstalled) |
3297 if((device->iInstalled) && !(aDevice->iType & DPagingDevice::EMediaExtension)) |
3298 { |
3298 { |
3299 __KTRACE_OPT2(KPAGING,KBOOT,Kern::Printf("**** Attempt to install more than one ROM paging device !!!!!!!! ****")); |
3299 __KTRACE_OPT2(KPAGING,KBOOT,Kern::Printf("**** Attempt to install more than one ROM paging device !!!!!!!! ****")); |
3300 //Panic(EDeviceAlreadyExists); |
3300 //Panic(EDeviceAlreadyExists); |
3301 NKern::UnlockSystem(); |
3301 NKern::UnlockSystem(); |
3302 return KErrNone; |
3302 return KErrNone; |