mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Stop using the alias pcb_ptd' for
pcb_tcc.tss_cr3'. Use the (existing)
alias `pcb_cr3' instead. That is still one alias too many, but is convenient for me since I've replaced the tss in the pcb by a few scalar variables in the pcb.
This commit is contained in:
parent
80b53b4fd5
commit
d85327d7bc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16215
@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
$Id: freebsd-nat.c,v 1.8 1996/05/02 09:42:45 phk Exp $
|
||||
$Id: freebsd-nat.c,v 1.9 1996/05/02 13:08:51 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -521,7 +521,7 @@ CORE_ADDR addr;
|
||||
PTD = kvtophys(fd, ksym_lookup("PTD"));
|
||||
current_ptd = PTD;
|
||||
} else
|
||||
current_ptd = pcb.pcb_ptd;
|
||||
current_ptd = pcb.pcb_cr3;
|
||||
|
||||
/*
|
||||
* Read the first-level page table (ptd).
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
$Id: freebsd-nat.c,v 1.8 1996/05/02 09:42:45 phk Exp $
|
||||
$Id: freebsd-nat.c,v 1.9 1996/05/02 13:08:51 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -521,7 +521,7 @@ CORE_ADDR addr;
|
||||
PTD = kvtophys(fd, ksym_lookup("PTD"));
|
||||
current_ptd = PTD;
|
||||
} else
|
||||
current_ptd = pcb.pcb_ptd;
|
||||
current_ptd = pcb.pcb_cr3;
|
||||
|
||||
/*
|
||||
* Read the first-level page table (ptd).
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.190 1996/05/10 19:28:44 wollman Exp $
|
||||
* $Id: machdep.c,v 1.191 1996/05/18 03:36:07 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -937,7 +937,7 @@ boot(howto)
|
||||
if (howto & RB_DUMP) {
|
||||
if (!cold) {
|
||||
savectx(&dumppcb);
|
||||
dumppcb.pcb_ptd = rcr3();
|
||||
dumppcb.pcb_cr3 = rcr3();
|
||||
dumpsys();
|
||||
}
|
||||
|
||||
@ -1646,7 +1646,7 @@ init386(first)
|
||||
|
||||
/* setup proc 0's pcb */
|
||||
proc0.p_addr->u_pcb.pcb_flags = 0;
|
||||
proc0.p_addr->u_pcb.pcb_ptd = IdlePTD;
|
||||
proc0.p_addr->u_pcb.pcb_cr3 = IdlePTD;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.190 1996/05/10 19:28:44 wollman Exp $
|
||||
* $Id: machdep.c,v 1.191 1996/05/18 03:36:07 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -937,7 +937,7 @@ boot(howto)
|
||||
if (howto & RB_DUMP) {
|
||||
if (!cold) {
|
||||
savectx(&dumppcb);
|
||||
dumppcb.pcb_ptd = rcr3();
|
||||
dumppcb.pcb_cr3 = rcr3();
|
||||
dumpsys();
|
||||
}
|
||||
|
||||
@ -1646,7 +1646,7 @@ init386(first)
|
||||
|
||||
/* setup proc 0's pcb */
|
||||
proc0.p_addr->u_pcb.pcb_flags = 0;
|
||||
proc0.p_addr->u_pcb.pcb_ptd = IdlePTD;
|
||||
proc0.p_addr->u_pcb.pcb_cr3 = IdlePTD;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user