]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: macroify copyin/copyout and provide erms variants, follow up
authormjg <mjg@FreeBSD.org>
Thu, 20 Sep 2018 20:32:08 +0000 (20:32 +0000)
committermjg <mjg@FreeBSD.org>
Thu, 20 Sep 2018 20:32:08 +0000 (20:32 +0000)
commit253328ab5c47970f74d87f223102fb10401c69d5
treefca497dd0259c81e205743f2e889ae803dea4aab
parent8ff5f080508b7888eee54f10b9af74f00ce520d5
amd64: macroify copyin/copyout and provide erms variants, follow up

Fix a fat-fingered typo with a "funny" side-effect: when doing copyin on a
cpu without ERMS and with size being a multiply of 8 a page fault would be
triggered resulting in EFAULT.

Pointy hat: mjg
Approved by: re (implicit)
sys/amd64/amd64/support.S