nn::os::StackMemoryAutoStackManager

nn::os::StackMemoryAutoStackManager Class

Syntax

class StackMemoryAutoStackManager :public nn::os::SimpleAutoStackManagerBase

Description

Implementation of AutoStackManager using StackMemory.

Uses the specified nn::fnd::IAllocator derived class instance to allocate memory for the stack, partitions the allocated memory region using StackMemory, and then uses it as the stack.

If this class instance is used by the Thread::SetAutoStackManager function, the stack size specified by Thread::StartUsingAutoStack or Thread::TryStartUsingAutoStack must be a multiple of 0x1000 bytes. Also note that the bottom part of the stack stores management information. The area that can be actually used as a stack is slightly smaller than this size.

Member Functions

StackMemoryAutoStackManager Constructor.
V ~StackMemoryAutoStackManager Destructor.
Initialize Performs initialization.
Finalize Releases resources.
V Construct Implements AutoStackManager::Construct.
V Destruct Implements AutoStackManager::Destruct.

Class Hierarchy

nn::os::AutoStackManager
  nn::os::SimpleAutoStackManagerBase
    nn::os::StackMemoryAutoStackManager

Revision History

2011/10/27
Initial version.

CONFIDENTIAL