[ros-dev] NDK
Samuel Serapión
samdwise51 at gmail.com
Thu Sep 29 19:24:58 UTC 2011
Thanks a lot for the report! We accept patches(tm). I have a deep
interest in 64bit reactos. I would gladly help determine further
issues and commit fixes as necessary, but I don't have trunk access.
Hopefully, we can get some helpful dev to commit them.
On Thu, Sep 29, 2011 at 1:34 AM, dmex <dmex04 at gmail.com> wrote:
> The NDK has allot of 64bit alignment issues mostly from omitted SIZE_T
> fields, There's at least 20 or so other structures with issues but here's
> two corrected structures below:
>
> typedef struct _SYSTEM_VERIFIER_INFORMATION
> {
> ULONG NextEntryOffset;
> ULONG Level;
> UNICODE_STRING DriverName;
> ULONG RaiseIrqls;
> ULONG AcquireSpinLocks;
> ULONG SynchronizeExecutions;
> ULONG AllocationsAttempted;
> ULONG AllocationsSucceeded;
> ULONG AllocationsSucceededSpecialPool;
> ULONG AllocationsWithNoTag;
> ULONG TrimRequests;
> ULONG Trims;
> ULONG AllocationsFailed;
> ULONG AllocationsFailedDeliberately;
> ULONG Loads;
> ULONG Unloads;
> ULONG UnTrackedPool;
> ULONG CurrentPagedPoolAllocations;
> ULONG CurrentNonPagedPoolAllocations;
> ULONG PeakPagedPoolAllocations;
> ULONG PeakNonPagedPoolAllocations;
> SIZE_T PagedPoolUsageInBytes;
> SIZE_T NonPagedPoolUsageInBytes;
> SIZE_T PeakPagedPoolUsageInBytes;
> SIZE_T PeakNonPagedPoolUsageInBytes;
> } SYSTEM_VERIFIER_INFORMATION, *PSYSTEM_VERIFIER_INFORMATION;
>
> // Class 22
> typedef struct _SYSTEM_POOLTAG
> {
> union
> {
> UCHAR Tag[4];
> ULONG TagUlong;
> };
> ULONG PagedAllocs;
> ULONG PagedFrees;
> SIZE_T PagedUsed;
> ULONG NonPagedAllocs;
> ULONG NonPagedFrees;
> SIZE_T NonPagedUsed;
> } SYSTEM_POOLTAG, *PSYSTEM_POOLTAG;
>
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
>
More information about the Ros-dev
mailing list