From e90b72ec3082588b296956730bd2930cf8d5d671 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Fri, 10 Jul 2026 11:31:46 +0800 Subject: refactor: promote new architecture to repository root Archive the deprecated implementation under lume-legacy, make the new kernel the default root-level build, and update repository entry points without changing kernel behavior. --- na/arch/riscv/lib/random.cc | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 na/arch/riscv/lib/random.cc (limited to 'na/arch/riscv/lib/random.cc') diff --git a/na/arch/riscv/lib/random.cc b/na/arch/riscv/lib/random.cc deleted file mode 100644 index afc0078..0000000 --- a/na/arch/riscv/lib/random.cc +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* Copyright (C) 2026 Richard Qin */ - -#include -#include - -namespace arch { - -bool get_hw_random(uint64& value) -{ - /* - * Real implementation would check for Zkr extension and execute: - * csrr x, seed - * - * Since QEMU virt doesn't guarantee Zkr, we return false to - * force the MI layer to use the timer fallback. - */ - return false; -} - -} // namespace arch -- cgit v1.2.3