enable_cache()

Updated: April 19, 2023

Enable the cache

Synopsis:

#include <sys/platform.h>
#include <sys/startup.h>

enable_cache

Arguments:

None.

Description:

The enable_cache() function takes no parameters. The function is meant to be called before an x86 processor is switched to protected mode. Note that the function is for a system without a BIOS or UEFI.

Returns:

0
Success
-1
Error