forderud / BatterySimulator

Driver to simulate multi-battery setups and test Windows power management
MIT License
14 stars 1 forks source link

Stop making many of the functions pageable to simplify #15

Closed forderud closed 8 months ago

forderud commented 8 months ago

Done to simplify the driver by removing a lot of preprocessor flags and PAGED_CODE() calls that does not affect the functionality.

The only downside of the changes is that the driver will end up consuming a few more kilobytes of RAM when loaded. The entire driver is 24kB large when built in release-mode, so the maximum RAM impact have to be less than that.