summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-01-06 22:34:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-01-06 22:34:25 +0000
commitd8d9c1f508be20f16525b20d93a9cea637560164 (patch)
tree6c6774942579990bfe072a6dd13904ac24b98621 /sys
parentcdfc9a807efd94d50ca3d27bfb9e395f679c4ea0 (diff)
document random buffer must be multiple of 4 in size
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/stand/libsa/random_i386.S3
-rw-r--r--sys/arch/i386/stand/libsa/random_i386.S3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/arch/amd64/stand/libsa/random_i386.S b/sys/arch/amd64/stand/libsa/random_i386.S
index 568c8bb4daf..a2bb35ffeb0 100644
--- a/sys/arch/amd64/stand/libsa/random_i386.S
+++ b/sys/arch/amd64/stand/libsa/random_i386.S
@@ -19,6 +19,9 @@
#include <machine/psl.h>
#include <machine/specialreg.h>
+/*
+ * Buffer size must be multiple of 4
+ */
ENTRY(mdrandom)
pushal
diff --git a/sys/arch/i386/stand/libsa/random_i386.S b/sys/arch/i386/stand/libsa/random_i386.S
index 568c8bb4daf..a2bb35ffeb0 100644
--- a/sys/arch/i386/stand/libsa/random_i386.S
+++ b/sys/arch/i386/stand/libsa/random_i386.S
@@ -19,6 +19,9 @@
#include <machine/psl.h>
#include <machine/specialreg.h>
+/*
+ * Buffer size must be multiple of 4
+ */
ENTRY(mdrandom)
pushal