mirror of
https://github.com/containers/skopeo.git
synced 2025-04-27 19:05:32 +00:00
14 lines
358 B
ArmAsm
14 lines
358 B
ArmAsm
// Copyright 2025 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
#include "textflag.h"
|
|
|
|
// func get_cpucfg(reg uint32) uint32
|
|
TEXT ·get_cpucfg(SB), NOSPLIT|NOFRAME, $0
|
|
MOVW reg+0(FP), R5
|
|
// CPUCFG R5, R4 = 0x00006ca4
|
|
WORD $0x00006ca4
|
|
MOVW R4, ret+8(FP)
|
|
RET
|