diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-09-08 22:24:36 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-09-08 22:24:36 +0200 |
commit | 97a2e35a0c4a408285f2e94667f6ae069bb462e8 (patch) | |
tree | 54d5f8402dba5e29d3ec363bce91edd916b50bfb /sys/src/libmach/map.c | |
parent | a3d8481bb628ce254b43198f78a9f14617fa5bf9 (diff) |
devarch: fix /dev/msr (thanks joe9, aiju)
the end condition port < offset+n could never become
false when offset truncated to 32 bit signed port is
negative. change the condition variables to unsigned
int.
msr's are not byte addressible, so advance reads by
one instead of 8.
Diffstat (limited to 'sys/src/libmach/map.c')
0 files changed, 0 insertions, 0 deletions