HomeFreeBSD

Changed the type used to represent the user stack pointer from `long *'
rS55141Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Changed the type used to represent the user stack pointer from `long *'
to `register_t *'. This fixes bugs like misplacement of argc and argv
on the user stack on i386's with 64-bit longs. We still use longs to
represent "words" like argc and argv, and assume that they are on the
stack (and that there is stack). The suword() and fuword() families
should also use register_t.

Details

Provenance
bdeAuthored on
Parents
rS55140: Fixed some type mismatches. p_retval[0] in struct proc has type
Branches
Unknown
Tags
Unknown

Event Timeline