sync with OpenBSD -current

This commit is contained in:
purplerain 2024-09-23 18:52:58 +00:00
parent 9d1bed226b
commit 569ffd723a
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
17 changed files with 59 additions and 43 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: machdep.c,v 1.296 2024/07/29 18:43:11 kettenis Exp $ */
/* $OpenBSD: machdep.c,v 1.297 2024/09/21 19:06:07 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@ -488,7 +488,7 @@ extern int amd64_has_xcrypt;
extern int need_retpoline;
const struct sysctl_bounded_args cpuctl_vars[] = {
{ CPU_LIDACTION, &lid_action, 0, 2 },
{ CPU_LIDACTION, &lid_action, -1, 2 },
{ CPU_PWRACTION, &pwr_action, 0, 2 },
{ CPU_CPUID, &cpu_id, SYSCTL_INT_READONLY },
{ CPU_CPUFEATURE, &cpu_feature, SYSCTL_INT_READONLY },

View file

@ -1,4 +1,4 @@
/* $OpenBSD: cpu.c,v 1.131 2024/07/30 08:59:33 kettenis Exp $ */
/* $OpenBSD: cpu.c,v 1.132 2024/09/23 13:50:33 jsg Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
@ -87,6 +87,7 @@
#define CPU_PART_CORTEX_A520 0xd80
#define CPU_PART_CORTEX_A720 0xd81
#define CPU_PART_CORTEX_X4 0xd82
#define CPU_PART_NEOVERSE_V3AE 0xd83
#define CPU_PART_NEOVERSE_V3 0xd84
#define CPU_PART_CORTEX_X925 0xd85
#define CPU_PART_CORTEX_A725 0xd87
@ -177,6 +178,7 @@ struct cpu_cores cpu_cores_arm[] = {
{ CPU_PART_NEOVERSE_V1, "Neoverse V1" },
{ CPU_PART_NEOVERSE_V2, "Neoverse V2" },
{ CPU_PART_NEOVERSE_V3, "Neoverse V3" },
{ CPU_PART_NEOVERSE_V3AE, "Neoverse V3AE" },
{ 0, NULL },
};

View file

@ -1,4 +1,4 @@
/* $OpenBSD: efiboot.c,v 1.59 2024/09/20 19:12:50 kettenis Exp $ */
/* $OpenBSD: efiboot.c,v 1.60 2024/09/23 00:10:04 jsg Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@ -1129,6 +1129,8 @@ struct smbios_dtb {
"qcom/x1e80100-lenovo-yoga-slim7x.dtb" },
{ "SAMSUNG", "Galaxy Book4 Edge",
"qcom/x1e80100-samsung-galaxy-book4-edge.dtb" },
{ "HP", "HP Omnibook X Laptop 14-fe0xxx",
"qcom/x1e80100-hp-omnibook-x14.dtb" },
};
void *