Thomas Weidenmueller wrote:
Hartmut Birr wrote:
Do you know the error status? IoStatusBlock doesn't need a alignment of 4 bytes.
This actually applies to many other things, most pointers to variables <= 4 bytes don't need any alignment, i made some tests a month or so ago. Since the ProbeForRead/Write functions are for general purpose, we might add some probe functions that don't do alignment checks to improve performance. Unfortunately, there are many Probe calls that'd have to be fixed.
Best Regards, Thomas _______________________________________________ Ros-diffs mailing list Ros-diffs@reactos.com http://reactos.com:8080/mailman/listinfo/ros-diffs
Most of our probe calls should indeed be replaced by a simple if (Ptr > MM_USER_PROBE_ADDRESS (or whatever the name is)) then FAIL. But someone needs to change them all ;)
Best regards, Alex Ionescu