rcore-os / trapframe-rs Goto Github PK
View Code? Open in Web Editor NEWHandle TrapFrame across kernel and user space on multiple ISAs.
License: MIT License
Handle TrapFrame across kernel and user space on multiple ISAs.
License: MIT License
It seems that floating-point registers are not saved/restore, which may result in corruption on user register.
浮点寄存器似乎并没有被保存、恢复,这可能导致用户的寄存器值被污染。
trapframe-rs/src/arch/riscv/trap.rs
Line 44 in 0f27d58
This line just sets Direct-Mode and trap.S
does not support Vectored-Mode now. I suggest that this library support Vectored-Mode on RISC-V.
这行直接设置为了 Direct-Mode,而且 trap.S
目前也并不支持 Vectored-Mode。我建议本库支持 RISC-V 上的 Vectored-Mode。
Occasionally an error occurs when the x86 64 arch boot:
panicked at 'attempt to create unaligned or null slice'
The location of the error occurs in x86_64/gdt.rs
39 let old_gdt = core::slice::from_raw_parts(gdtp.base.as_ptr::<u64>(), entry_count);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.