github.com/linuxboot/fiano@v1.2.0/pkg/intel/metadata/bg/svn.go (about) 1 // Copyright 2017-2023 the LinuxBoot Authors. All rights reserved 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:generate manifestcodegen 6 7 package bg 8 9 // SVN represents Security Version Number. 10 type SVN uint8 11 12 // SVN returns the Security Version Number of an SVN field 13 func (svn SVN) SVN() uint8 { 14 return uint8(svn) & 0x0f 15 }