setup CI/CD for kernel development - added CodeQL for code scanning - every pr is built as an image and is available for 30days on https://oklinux.dev - tagged and released on github for now Signed-off-by: sevki <s@sevki.io>
13 lines
317 B
C
13 lines
317 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
#include <linux/kbuild.h>
|
|
#include <nvhe/memory.h>
|
|
#include <nvhe/pkvm.h>
|
|
|
|
int main(void)
|
|
{
|
|
DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page));
|
|
DEFINE(PKVM_HYP_VM_SIZE, sizeof(struct pkvm_hyp_vm));
|
|
DEFINE(PKVM_HYP_VCPU_SIZE, sizeof(struct pkvm_hyp_vcpu));
|
|
return 0;
|
|
}
|