Overview

This part of the platform interface groups functions related to the CPU and its functional modules (interrupt controller, memory controller and others).

Functions

void platform_cpu_enable_interrupts();

Enable global interrupt on the CPU.

Arguments: none.

Returns: nothing.

void platform_cpu_disable_interrupts();

Disable global interrupts on the CPU.

Arguments: none.

Returns: nothing.

u32 platform_cpu_get_frequency();

Get the CPU frequency.

Arguments: none.

Returns: the CPU core frequency (in Hertz).