Update map_driver.cpp

merge-requests/1/head
xerox 4 years ago
parent 0c884f5a78
commit 3b4605b22d

@ -12,11 +12,6 @@ namespace physmeme
physmeme::drv_image image(raw_driver);
physmeme::kernel_ctx ctx;
//
// we dont need the driver loaded anymore
//
physmeme::unload_drv();
//
// lambdas used for fixing driver image
//
@ -73,6 +68,8 @@ namespace physmeme
// zero driver headers
//
ctx.zero_kernel_memory(pool_base, image.header_size());
physmeme::unload_drv();
return !result; // 0x0 means STATUS_SUCCESS
}

Loading…
Cancel
Save