Partager via


Snapshot Boot Functions (Compact 2013)

3/28/2014

This topic describes the support snapshot boot functions, and provides a description of each.

Note

The functions described in this topic, except SnapRestore and SnapChkSum, are implemented by the OEM.

Function

Description

GetSnapshotState

This function returns the stage of the taking a snapshot process.

OEMGetSnapshotRegions

This optional function specifies OEM-specific regions of RAM to include in the memory snapshot that is taken by snapshot boot.

OEMCompressSnapshot

This optional function compresses the snapshot image before the image is written to storage.

OEMPrepareSnapshot

Prepares enough storage space to save the snapshot memory image.

OEMReadSnapshot

Reads data from the snapshot storage at the specified offset.

OEMSnapshotResume

Initializes the platform and re-initializes all CPU-specific hardware as if the system had just cold-booted.

OEMTakeCPUSnapshot

Saves all CPU registers, including control registers, which need to be restored when booting from a snapshot.

OEMWriteSnapshot

Writes the snapshot image to non-volatile storage.

SnapChkSum

This sample code function computes a checksum for a given range of memory.

SnapRestore

This sample code function restores a snapshot image by using an OEM-provided snapshot reader function.

Remarks

See Also

Reference

Snapshot Boot Reference

Other Resources

Snapshot Boot Development