X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/b60166b327a9108b07e3069fa6568a451529ffd9..7b8d4c08afde96dbfc24c7f91227b0fcafdf7ef7:/lunaix-os/hal/rng/rngx86.c diff --git a/lunaix-os/hal/rng/rngx86.c b/lunaix-os/hal/rng/rngx86.c index 0b8a586..b108740 100644 --- a/lunaix-os/hal/rng/rngx86.c +++ b/lunaix-os/hal/rng/rngx86.c @@ -1,5 +1,5 @@ #include -#include +#include #include @@ -19,8 +19,8 @@ rng_fill(void* data, size_t len) static int __rand_rd_pg(struct device* dev, void* buf, size_t offset) { - rng_fill(buf, PG_SIZE); - return PG_SIZE; + rng_fill(buf, PAGE_SIZE); + return PAGE_SIZE; } static int