/* $NetBSD: uvmm.h,v 1.2 2021/12/18 23:45:41 riastradh Exp $ */ #ifndef __NVKM_UVMM_H__ #define __NVKM_UVMM_H__ #define nvkm_uvmm(p) container_of((p), struct nvkm_uvmm, object) #include <core/object.h> #include "vmm.h" struct nvkm_uvmm { struct nvkm_object object; struct nvkm_vmm *vmm; }; int nvkm_uvmm_new(const struct nvkm_oclass *, void *argv, u32 argc, struct nvkm_object **); #endif |