Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Interface «api::ProcessorRegisters»

A central processing unit registers resource interface.

public: virtual ~ProcessorRegisters();

Destructor.

public: virtual void* getRegisters();

Returns a pointer to the first register of CPU registers context.

Returns:
memory address of registers order, or NULL if error has been occurred.

public: virtual bool isConstructed() const;

Tests if this object has been constructed.

public: static bool isObject(const Type* obj);

Tests if given object has been constructed object.

public: virtual void setInitialization(api::Stack<int64>& stack, void* entry, int32 argument);

Initializes the CPU registers.

The method is mostly used for restoring from an interrupt service routine.

Parameters:
stack — a routine stack.
entry — a routine entry address.
argument — a routine argument.

Back to class list