mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-16 15:21:48 +00:00
Change-Id: I91f498b9ae98002bc86b78fce2a0836c508b3945 Tracked-On: #3123 Signed-off-by: Ying Liu <ying2.liu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
21 lines
276 B
C
21 lines
276 B
C
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <assert.h>
|
|
|
|
#include "gc.h"
|
|
|
|
struct gfx_ctx {
|
|
struct gfx_ctx_image *gc_image;
|
|
int raw;
|
|
};
|
|
|
|
struct gfx_ctx_image *
|
|
gc_get_image(struct gfx_ctx *gc)
|
|
{
|
|
if (gc == NULL)
|
|
return NULL;
|
|
|
|
return gc->gc_image;
|
|
}
|