X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/b60166b327a9108b07e3069fa6568a451529ffd9..69777bdcab284335651a8002e2896f3862fa423d:/lunaix-os/hal/rng/rngx86.c?ds=sidebyside 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