mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 04:04:22 -04:00
kern: use variable-count parameter arrays for DebugEvents
This commit is contained in:
parent
db510f96c3
commit
8db22967bf
7 changed files with 125 additions and 98 deletions
|
@ -38,7 +38,7 @@ namespace ams::kern {
|
|||
ams::svc::DebugException exception_type;
|
||||
s32 exception_data_count;
|
||||
uintptr_t exception_address;
|
||||
uintptr_t exception_data[4];
|
||||
uintptr_t exception_data[std::max<size_t>(4, cpu::NumCores)];
|
||||
};
|
||||
|
||||
struct InfoSystemCall {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue