Comments (3)
All SBI calls should be assumed to clobber a0. This should be reflected in the spec.
from riscv-sbi-doc.
Thanks. I will update the doc
from riscv-sbi-doc.
IIRC just documenting this as being the same as the system call interface (which aside from a7 the same as the function call interface) should cover all these sorts of edge cases. The intent is that they're all the same to avoid confusion.
That's already documented in the spec, so I'm going to close this. Feel free to re-open it if my assumption is not actually the case.
from riscv-sbi-doc.
Related Issues (20)
- [RFC] Syscall to obtain the misa? HOT 1
- Add SBI call to disable SBI HOT 6
- Timer Extension Clarification HOT 3
- Progress of RISC-V SBI calling convention maps to the ARM PSCI calling convention HOT 3
- Clarification on `SBI_SUCCESS` return value from the `sbi_system_suspend` function HOT 1
- Is `sbi_cppc_read_hi` allowed to ignore reserved/unimplemented register IDs? HOT 1
- No SBI way for supervisor to change SXLEN HOT 2
- Is shared memoy exclusive for the setting hart? HOT 1
- Is there any spec to support Sdtrig extension? HOT 2
- Regarding Unofficial hartid Transmission from Machine Mode HOT 4
- [RFC] SBI Implementation IDs experimental space HOT 1
- Improve error handling in sbi pmu
- Clarification needed for sbi_pmu_counter_start
- Change branch from "master" to "main"
- SBI 3.0 work? HOT 1
- SBI Watchdog extension? HOT 1
- Type ambiguities/incosistencies HOT 4
- `sbi_pmu_*` functions take the `counter_mask` arguments in opposite order compared to functions that use `hart_mask` HOT 1
- `sbi_hart_start` doesn't return `SBI_ERR_ALREADY_STARTED` when a hart is already started HOT 3
- Unspecified interactions between HSM and other extensions HOT 25
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 riscv-sbi-doc.