diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2003-02-23 09:45:50 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2003-02-23 09:45:50 +0000 |
commit | e29632c9e12dabb912a35bba6e8a86646d38cf75 (patch) | |
tree | d129cc11dbffdef2925938f896dae380c4b5502c /sys/amd64/amd64/locore.s | |
parent | 73657eba917a13e7cf01316c75bf4cf987ae23f7 (diff) | |
download | src-test2-e29632c9e12dabb912a35bba6e8a86646d38cf75.tar.gz src-test2-e29632c9e12dabb912a35bba6e8a86646d38cf75.zip |
Notes
Diffstat (limited to 'sys/amd64/amd64/locore.s')
-rw-r--r-- | sys/amd64/amd64/locore.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s index 7623f10827f1..afd9a662788a 100644 --- a/sys/amd64/amd64/locore.s +++ b/sys/amd64/amd64/locore.s @@ -190,13 +190,13 @@ pc98_system_parameter: * prot = protection bits */ #define fillkpt(base, prot) \ - shll $2,%ebx ; \ + shll $PTESHIFT,%ebx ; \ addl base,%ebx ; \ orl $PG_V,%eax ; \ orl prot,%eax ; \ 1: movl %eax,(%ebx) ; \ addl $PAGE_SIZE,%eax ; /* increment physical address */ \ - addl $4,%ebx ; /* next pte */ \ + addl $PTESIZE,%ebx ; /* next pte */ \ loop 1b /* |