gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/ring0/BUILD (about) 1 load("//tools:defs.bzl", "go_library") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 licenses = ["notice"], 6 ) 7 8 go_library( 9 name = "ring0", 10 srcs = [ 11 "aarch64.go", 12 "defs.go", 13 "defs_amd64.go", 14 "defs_arm64.go", 15 "entry_amd64.go", 16 "entry_amd64.s", 17 "entry_arm64.go", 18 "entry_arm64.s", 19 "kernel.go", 20 "kernel_amd64.go", 21 "kernel_arm64.go", 22 "kernel_unsafe.go", 23 "lib_amd64.go", 24 "lib_amd64.s", 25 "lib_arm64.go", 26 "lib_arm64.s", 27 "ring0.go", 28 "x86.go", 29 ], 30 visibility = ["//pkg/sentry:internal"], 31 deps = [ 32 "//pkg/abi/linux", 33 "//pkg/cpuid", 34 "//pkg/hostarch", 35 "//pkg/ring0/pagetables", 36 "//pkg/sentry/arch", 37 "//pkg/sentry/arch/fpu", 38 ], 39 )