contributed by <leoyehx>
RVOS is a 32-bit real-time multitasking operating system built from scratch. It is designed to run on QEMU with RISC-V.
Development Environment
$ system_profiler SPHardwareDataType
Hardware:
Hardware Overview:
Presenter: YangYeh-PD
video
:::info
My Question List
Are Scheduling Classes specified by the source program or identified by the scheduler?
Why SCHED_IDLE does belong to idle_sched_class, what is the difference?
What is sleep process doing in Early Linux Scheduler? Why the process is to do with ==interactivity==?
:::
contributed by < YangYeh-PD >
Problem 1: Computing the Square Root
How it works
Suppose that
$$
N^2 = (000a_na_{n-1}a_{n-2}...a_1a_0)^2, \textrm{where }a_m = 2^m.
$$
then