Repository navigation
Conversation
|
Independent pre-review on Linux (full CI runs only happen on manual trigger, so recording one): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
|
|
Cross-reference: #3396 implements the same export ( CONTRIBUTING.md asks authors to "check that no open pull request already implements the same functions" before starting — both PRs are open, so flagging for the maintainers. The limitation this creates: only one of the two can be merged; the other gets closed as duplicate, and both currently cost review time in a 340+ queue. Evidence to help the choice (independent pre-review, Linux — CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
|
|
Superseded by #4046, whose branch contains this exact commit plus the wider coverage batch. Closing to stay within the open-PR limit; please review the equeue change there. |
What
Implements
sceKernelGetEventError(libkernel/Equeue): null event throws via the sharedrequireEventhelper (same as all sibling accessors); otherwise returns(int)datawhenEV_ERRORis set inflags, else 0. Uses the existing in-repoEV_ERROR(Equeue.hpp). Needed so titles readingkqueue/keventresults (cf.TechnicalDebt.mdkqueue/kevent titles) get the standard BSD error channel instead of a throw-on-any-call stub. Evidence: FreeBSDsys/sys/event.h(EV_ERROR 0x4000, data contains errno;struct keventlayout matchesKernelEvent). Generic behavior, one function, no new dependencies. Uncertainty: console errno values andEV_ERRORproduction sites unverified; emulator-generated events currently never carry it.Tested
python3 tools/check_conventions.py --base a11c8f7 --head HEAD→ pass.python3 -m unittest discover -s tools/tests→ 95 tests OK.python3 tools/progress.py→ 2904/3383 (85.84%), +1 implemented, not inert.cmakebuild /ctest/GuestEqueueEventsrun: not run — no toolchain (cmake/ninja/compiler absent) and submodules uninitialized. Test was written to fail if reverted but not executed here.Checklist
main; no other open PR implements the same functions (upstream/main=a11c8f7, branch base verified)//added; verified via conventions check)NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt (no new silent stub; this path is implemented).mdfiles or images added to the repositorykeventsemantics)