From nobody Sun Jan 28 20:05:10 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TNMqB6BH3z59CXF; Sun, 28 Jan 2024 20:05:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TNMqB43C5z3x7k; Sun, 28 Jan 2024 20:05:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706472310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=39ccBY3PBbYOt7UC4Hgs85RzLmGUnO/MUCBWRvsMAGA=; b=vF+MhcrcaUIspcSWRODabdXleSKcr2/Z0ix9eYzv5y0JWGQvoEXdVB+153zX7zueSPZ5F7 MVo9KDuzXQA4C9vvPNBjpMTKi8C/kpztjgOMZUHjmbgBN5D299jEcWd0v63EB1/mzLr9/C xKsZr48OpgVMHJKRwY/ezbIb7vP3/JCfnfiZXFlRNXELTRZogoxg2q686DvFG2I4NauCyh cOygacdBsX286XqBHKBCB1tPBb0bYBWRVYotOK5kh3OiZ2iKqpcugf47fgz2UTJGH5FV3f qtMCKD6UyqKSYltRTcxgDVWtHgTW3s4Pum+HX+LOLsWZoGxpDA7DLVy6XRhUQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706472310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=39ccBY3PBbYOt7UC4Hgs85RzLmGUnO/MUCBWRvsMAGA=; b=EcLTzP8tvgxnvJ/z2zI7rhJjzMHi75n3mhFqeFYc8dhJUxQwQ/kOg6QpK8lgymleY0wZ/J luykGiufUKjkbQE0xdy0su7I8/vq+EgGnLbz2Fwe3Izf3NfkqM7LjFnygiZYUdb42iMos+ J3W7bKOGc/RzTZRTAuMZ0wXVQZGSXWKxQuoQBQeP+NK2hH4111LLIuFnFSL5FBA8FNgL/h 6fNvuJzy08sg5QYuni4D+fZFyEzlDX0ZFr40vR+1KDmzT6/nBbJOHQ2ijlDL3zhqDbrTJT C8McD1Nzo1BsR6oPp0xSKTY+dR4HCOJyyQSfqJkAhwitkVSqJA90FhQoFVFuSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706472310; a=rsa-sha256; cv=none; b=v1ZcgAd1C1JGVko9TMAq1LELE5vVFs4Vb8Fw/q5kMZeTK6uShtS1RL96o4aTbzxdht1bCw SEPNwbWjIN1RzKCPHaIW2Yk/8FJXPEr+YEmJAYUi0oI3DPu0X/TkqYhrRpYlVBd8yurpq7 kyg8wJHXHHBmue6fn8g0fZbliqoaGpgwqVp2J0+7aYoxFM/S9XrvS/07uynbct6D/FE02W 1hhucyR8xT8a/SD8XczmBQ9/SY/djeY5tvDzSSzeoL+YS9GGebbeyfP9QDA9yhyHu1bOQh rg0nLE67YLV4XZzb+k9aw/iQO071hGa/rzglbh8IzvdApRwyQ1DYR5Vq/Mm6AQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TNMqB2sfmzM0V; Sun, 28 Jan 2024 20:05:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40SK5ANv032684; Sun, 28 Jan 2024 20:05:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40SK5Afv032680; Sun, 28 Jan 2024 20:05:10 GMT (envelope-from git) Date: Sun, 28 Jan 2024 20:05:10 GMT Message-Id: <202401282005.40SK5Afv032680@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 36ef238cb604 - main - kboot: Move termios to libkboot List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 36ef238cb604c827c696e975281f63d90641005f Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=36ef238cb604c827c696e975281f63d90641005f commit 36ef238cb604c827c696e975281f63d90641005f Author: Warner Losh AuthorDate: 2024-01-28 19:28:30 +0000 Commit: Warner Losh CommitDate: 2024-01-28 20:04:31 +0000 kboot: Move termios to libkboot Sponsored by: Netflix --- stand/kboot/{kboot => include}/arch/aarch64/termios_arch.h | 0 stand/kboot/{kboot => include}/arch/amd64/termios_arch.h | 0 stand/kboot/{kboot => include}/arch/powerpc64/termios_arch.h | 0 stand/kboot/{kboot => include}/termios.h | 0 stand/kboot/{kboot => include}/termios_gen.h | 0 stand/kboot/kboot/Makefile | 1 - stand/kboot/libkboot/Makefile | 3 ++- stand/kboot/{kboot => libkboot}/termios.c | 0 8 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stand/kboot/kboot/arch/aarch64/termios_arch.h b/stand/kboot/include/arch/aarch64/termios_arch.h similarity index 100% rename from stand/kboot/kboot/arch/aarch64/termios_arch.h rename to stand/kboot/include/arch/aarch64/termios_arch.h diff --git a/stand/kboot/kboot/arch/amd64/termios_arch.h b/stand/kboot/include/arch/amd64/termios_arch.h similarity index 100% rename from stand/kboot/kboot/arch/amd64/termios_arch.h rename to stand/kboot/include/arch/amd64/termios_arch.h diff --git a/stand/kboot/kboot/arch/powerpc64/termios_arch.h b/stand/kboot/include/arch/powerpc64/termios_arch.h similarity index 100% rename from stand/kboot/kboot/arch/powerpc64/termios_arch.h rename to stand/kboot/include/arch/powerpc64/termios_arch.h diff --git a/stand/kboot/kboot/termios.h b/stand/kboot/include/termios.h similarity index 100% rename from stand/kboot/kboot/termios.h rename to stand/kboot/include/termios.h diff --git a/stand/kboot/kboot/termios_gen.h b/stand/kboot/include/termios_gen.h similarity index 100% rename from stand/kboot/kboot/termios_gen.h rename to stand/kboot/include/termios_gen.h diff --git a/stand/kboot/kboot/Makefile b/stand/kboot/kboot/Makefile index 475f863b77bd..055027b85eb2 100644 --- a/stand/kboot/kboot/Makefile +++ b/stand/kboot/kboot/Makefile @@ -29,7 +29,6 @@ SRCS= \ kbootfdt.c \ main.c \ seg.c \ - termios.c \ util.c \ vers.c diff --git a/stand/kboot/libkboot/Makefile b/stand/kboot/libkboot/Makefile index 33674da83661..d9ce08cb0856 100644 --- a/stand/kboot/libkboot/Makefile +++ b/stand/kboot/libkboot/Makefile @@ -8,7 +8,8 @@ CFLAGS+=-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} SRCS= crt1.c \ host_syscall.S \ - host_syscalls.c + host_syscalls.c \ + termios.c .sinclude "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" diff --git a/stand/kboot/kboot/termios.c b/stand/kboot/libkboot/termios.c similarity index 100% rename from stand/kboot/kboot/termios.c rename to stand/kboot/libkboot/termios.c