git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: use a more decent physical memory map
[lunaix-os.git]
/
lunaix-os
/
includes
/
hal
/
rnd.h
diff --git
a/lunaix-os/includes/hal/rnd.h
b/lunaix-os/includes/hal/rnd.h
index 8ab544a1e92d53a449803d193677af89daa1edaf..1b4a8e3b3b6a65042d0d93653c114427f9319cf4 100644
(file)
--- a/
lunaix-os/includes/hal/rnd.h
+++ b/
lunaix-os/includes/hal/rnd.h
@@
-13,7
+13,7
@@
rnd_fill(void* data, size_t len)
"subl $4, %1\n"
"jnz 1b" ::"r"((ptr_t)data),
"r"((len & ~0x3))
- : "%
al
");
+ : "%
eax
");
}
int