Comments (1)
There is no such support at the moment, though I think in general it wouldn't be too hard to add, depending on which architecture the intended use case is.
A) It probably only makes sense on architectures with an MMU, which reduces the use case to x86-32/64, riscv32 and 64, and arm32 and arm64.
B) The system would need to be compiled position independent but some self-relocation would probably need to be done at boot, though that may be handled by whatever bootloader is in use.
C) getting access to early entropy enough to randomly decide would be a fairly problematic thing to do generically, so it'd have to be solved on a per device basis.
However if the bootloader and device has the required support it wouldn't e a tremendously difficult thing to add at the kernel level.
from lk.
Related Issues (20)
- newlib - unknown type name 'clock_t' HOT 7
- GCC 12.1.0 x86-64 build is broken HOT 2
- How to use timer HOT 1
- [libm] some missing float functions
- stm32-f4xx Display HOT 2
- Touchscreen HOT 2
- Goldfish_RTC Timer support
- [request] WASM as build target? HOT 1
- [arch][mmu] align the return of arch_mmu_map and arch_mmu_unmap of all the arches HOT 1
- Rust HOT 4
- The lk coding style question HOT 3
- [Feature] Dual boot support HOT 4
- [libc][printf] limited number of characters support
- arch_in_int_handler not working on multicore ARCH HOT 1
- riscv sifive_u qemu port doesn't seem to have working timers/interrupts
- printf("%zd") of ssize_t variables results in a warning
- Exception occurs when SVE instructions used on aarch64
- [lib][console] unused with_history parameter when creating a new console
- Adding the `-mgeneral-regs-only` flag breaks variadic functions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lk.