mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 07:39:49 -04:00
kern: enforce end of dram == end of partitions (move our probably outdated KTraceBuffer to new location)
This commit is contained in:
parent
8cb3cfd835
commit
24739f245e
6 changed files with 29 additions and 31 deletions
|
@ -28,6 +28,7 @@ namespace ams::kern {
|
|||
constexpr inline size_t KTraceBufferSize = IsKTraceEnabled ? 16_MB : 0;
|
||||
|
||||
static_assert(IsKTraceEnabled || !IsKTraceEnabled);
|
||||
static_assert((IsKTraceEnabled) ^ (KTraceBufferSize == 0));
|
||||
|
||||
class KTrace {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue