mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 22:15:17 -04:00
htcs: implement virtual socket collection
This commit is contained in:
parent
ec643789ab
commit
f7fcb54622
9 changed files with 1204 additions and 1 deletions
|
@ -33,7 +33,7 @@ namespace ams::htc::server::rpc {
|
|||
private:
|
||||
/* htcs::ReceiveSmallTask/htcs::ReceiveSendTask are the largest tasks, containing an inline 0xE000 buffer. */
|
||||
/* We allow for ~0x100 task overhead from the additional events those contain. */
|
||||
/* NOTE: Nintnedo hardcodes a maximum size of 0xE1D8, despite SendSmallTask being 0xE098 as of latest check. */
|
||||
/* NOTE: Nintendo hardcodes a maximum size of 0xE1D8, despite SendSmallTask being 0xE098 as of latest check. */
|
||||
static constexpr size_t MaxTaskSize = 0xE100;
|
||||
using TaskStorage = typename std::aligned_storage<MaxTaskSize, alignof(void *)>::type;
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue