|
|
|
@ -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
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|