diff options
author | 2011-05-05 20:50:43 +0000 | |
---|---|---|
committer | 2011-05-05 20:50:43 +0000 | |
commit | 962a93d2eed65d456a607d839c61e7bea19611ce (patch) | |
tree | e7fc01d8157e01bd1ac01cc9f0c5274144b87cb0 | |
parent | The gateway page (which contains the system call entry point) needs to be (diff) | |
download | wireguard-openbsd-962a93d2eed65d456a607d839c61e7bea19611ce.tar.xz wireguard-openbsd-962a93d2eed65d456a607d839c61e7bea19611ce.zip |
Adjust comments on the statements in the various ITLB handlers that make sure
the gateway pages is mapped as a public page. The origional comment didn't
really explain what was happening here.
-rw-r--r-- | sys/arch/hppa/hppa/locore.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S index 12ccee81dfc..67465680f37 100644 --- a/sys/arch/hppa/hppa/locore.S +++ b/sys/arch/hppa/hppa/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.185 2011/04/16 21:55:49 kettenis Exp $ */ +/* $OpenBSD: locore.S,v 1.186 2011/05/05 20:50:43 kettenis Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -1249,7 +1249,7 @@ LEAF_ENTRY($itlb_s) ALTENTRY($itlb_t) TLB_STATS_PRE(itlb) TLB_PULL(0, TLABEL(all)) - extru,= r25, 5, 1, r0 /* gate needs a kernel pid */ + extru,= r25, 5, 1, r0 /* gateway page needs to be public */ depi 0, 30, 15, r25 mfsp sr1, r16 mtsp r8, sr1 @@ -1377,7 +1377,7 @@ EXIT($tlbd_l) LEAF_ENTRY($itlb_l) TLB_STATS_PRE(itlb) TLB_PULL_L(0, TLABEL(all)) - extru,= r25, 5, 1, r0 /* gate needs a kernel pid */ + extru,= r25, 5, 1, r0 /* gateway page needs to be public */ depi 0, 30, 15, r25 IITLBAF(17) IITLBPF(25) @@ -1500,7 +1500,7 @@ EXIT($tlbd_u) LEAF_ENTRY($itlb_u) TLB_STATS_PRE(itlb) TLB_PULL_L(0, TLABEL(all)) - extru,= r25, 5, 1, r0 /* gate needs a kernel pid */ + extru,= r25, 5, 1, r0 /* gateway page needs to be public */ depi 0, 30, 15, r25 TLB_PCX2PCXU iitlbt r17, r25 |