Harlequin RIP SDK

Implementation of the preboot device type. More...

#include "skinkit.h"
#include "hqmemcpy.h"
#include "swdevice.h"
#include "skindevs.h"
#include "kitdevs.h"
#include "mem.h"
#include "file.h"
#include "paths.h"

Functions

static HqBool platform_ps_copy (const uint8 *platfile, uint8 **psfile, size_t *pslen)
 

Variables

static DEVICEPARAM preboot_device_params [4]
 

Detailed Description

Implementation of the preboot device type.

This device is responsible for informing the core which devices must be mounted and configured before the RIP can boot. It is primarily intended to prepare the %os% device.

The protocol for this device type requires that it will only ever be called through the DEVICETYPE::device_init(), DEVICETYPE::start_param(), DEVICETYPE::get_param(), and DEVICETYPE::device_dismount() methods.

Function Documentation

◆ platform_ps_copy()

static HqBool platform_ps_copy ( const uint8 platfile,
uint8 **  psfile,
size_t *  pslen 
)
static

Convert a platform filename to PS form, allocate memory for it and copy

Variable Documentation

◆ preboot_device_params

DEVICEPARAM preboot_device_params[4]
static

The number preboot device params are determined by how the SW folder is mounted. This array must be large enough to contain the largest number of devices used.