Skip to content

struct thread incorrect sizes #6

@codetwink

Description

@codetwink

struct thread also has some incorrect typedefs

u_char  td_rqindex; /* (t) Run queue index. */              // 0x360
u_char  td_base_pri;    /* (t) Thread base kernel priority. */
u_char  td_priority;    /* (t) Thread active priority. */           // 0x364
u_char  td_pri_class;   /* (t) Scheduling class. */
u_char  td_user_pri;    /* (t) User pri from estcpu and nice. */        // 0x368
u_char  td_base_user_pri; /* (t) Base user pri */

These should be u_short instead of u_char.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions