Avoid double declarations, integer overflow, and use branch hints
authorDavide Libenzi <dlibenzi@google.com>
Fri, 16 Oct 2015 17:04:11 +0000 (10:04 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 30 Oct 2015 20:02:29 +0000 (16:02 -0400)
commit2a9b3cdc47dbde55f9d125fde3e11832ca4c0b91
tree025160e29e12b9145c4c65318efdb12035299f24
parent40ad9f1f5f489425165d0bb42657dc0dcc66e10b
Avoid double declarations, integer overflow, and use branch hints

Avoid double declarations, integer overflow, and use branch hints.

Signed-off-by: Davide Libenzi <dlibenzi@google.com>
[Kept the double declaration, added const for rwaddr]
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/umem.h