#include "vbox_drv.h"
#include "vboxvideo_vbe.h"
#include "hgsmi_defs.h"
static u32 hgsmi_hash_process(u32 hash, const u8 *data, int size)
{ … }
static u32 hgsmi_hash_end(u32 hash)
{ … }
static u32 hgsmi_checksum(u32 offset,
const struct hgsmi_buffer_header *header,
const struct hgsmi_buffer_tail *tail)
{ … }
void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size,
u8 channel, u16 channel_info)
{ … }
void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf)
{ … }
int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf)
{ … }