summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/core/ngx_palloc.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2012-11-13 23:36:17 +0000
committerkettenis <kettenis@openbsd.org>2012-11-13 23:36:17 +0000
commit97a14b2d46d544e7bf0eed96f5318b06304e1d4d (patch)
tree44a0064bb15bfa61962e3670769d6f8f46a24885 /usr.sbin/nginx/src/core/ngx_palloc.c
parentpasto in log message (diff)
downloadwireguard-openbsd-97a14b2d46d544e7bf0eed96f5318b06304e1d4d.tar.xz
wireguard-openbsd-97a14b2d46d544e7bf0eed96f5318b06304e1d4d.zip
Writing a 1 to the MEF bit of the ERRSTS0 register of the 82443LX host bridge
when it is already cleared will trigger an NMI if the corresponding bit ini the ERRCMD register is enabled. So instead of unconditionally writing 1 into some of the bits, simply read the register and write back the value that we just read. This will clear any status bits that were set (since they are R/WC) and leave all other bits alone. Tested by Karlis Mikelsons.
Diffstat (limited to 'usr.sbin/nginx/src/core/ngx_palloc.c')
0 files changed, 0 insertions, 0 deletions