NAME

arena_set_clock_tick

SYNOPSIS

#include <charm.h>

typedef void (*NotifiyFn)();

Status arena_set_clock_tick( int arena_id, Cap arena_cap, Vaddr ep )

PARAMETERS

arena_id specifies the arena whose activation point is being set.

arena_cap a management capability for the arena being managed.

ep specifies the entry point for handling clock ticks

DESCRIPTION

The arena_set_clock_tick() function is used to specify the function that is called when a clock tick occurs.

The entry-point address specified must be a valid code address in user space.

RETURN VALUES

Upon the successful completion, the arena_set_clock_tick( ) function returns [SUCCEED].

ERRORS

[NO_SUCH_ARENA] The arena_id parameter is not valid (out of range).

[ARENA_CAP_INVALID] The arena_cap parameter specifies a capability that does not match the current authorisation capability associated with the arena.

[ILLEGAL_ENTRY_POINT] Entry point specified is not a legal code address. All entry points must be <= the kernel constant max_user_va.

RELATED INFORMATION

last updated: 11/2/99