HomeFreeBSD

OR in the unsigned form of the MCAR lower register.

Description

OR in the unsigned form of the MCAR lower register.

When ORing in a register_t to a wider integer (vm_paddr_t), it gets sign
extended, so high addresses overwrite the upper word with all 0xf. Cast to the
unsigned form (u_register_t), to avoid this problem, and get correct addresses
printed.

Details

Provenance
jhibbitsAuthored on
Parents
rS298559: Init static compiled-in env when no metadata present.
Branches
Unknown
Tags
Unknown