NAME
arena_change_caps - change the capability associated with an arena.
SYNOPSIS
#include <charm.h>
Status arena_change_caps( int arena_id, Cap newcap, Cap oldcap );
PARAMETERS
arena_ia specifies the arena whose capabilities are being changed.
newcap The new capability to associate with the arena arena_id.
oldcap The current capability associated with the arena arena_id.
DESCRIPTION
This function changes the capabilities associated with an arena.
RETURN VALUES
Upon the successful completion, the arena_change_caps() function returns [SUCCESS] to indicate that the capability associated with arena has been changed.
ERRORS
[ARENA_CAP_INVALID] the capability presented in parameter oldcap is invalid.
[NO_SUCH_ARENA] the arena specified is invalid.