Make PCB structure binary compatible for old and new PMAP on ARM
authorzbb <zbb@FreeBSD.org>
Tue, 17 Nov 2015 13:09:51 +0000 (13:09 +0000)
committerzbb <zbb@FreeBSD.org>
Tue, 17 Nov 2015 13:09:51 +0000 (13:09 +0000)
commitc110bf7495a493b00333e8ad61aeff8e0d7fbffb
tree54e470e88ab982e4257f9ba59c96ccdb66d42a74
parentd3dc28086bfce7dd945b52de6217bbbda422545d
Make PCB structure binary compatible for old and new PMAP on ARM

This structure must be binary compatible regardless of PMAP
version being used. Create reserved section for NEW_PMAP to
make other variables be placed exactly in the same memory
addresses. This fixes kgdb/gdb behavoiur, which uses pcb.h stuctures.
The NEW_PMAP is kernel flag, so it does not propagate to the buildworld,
what makes the tools using pcb.h unable to parse PCB data.

Reviewed by:   mmel, kib
Submitted by:  Wojciech Macek <wma@semihalf.com>
Obtained from: Semihalf
Sponsored by:  Juniper Networks Inc.
Differential Revision: https://reviews.freebsd.org/D4011
sys/arm/include/pcb.h