From: Vladimir Serbinenko <phcoder@gmail.com>
To: grub-devel@gnu.org
Cc: Vladimir Serbinenko <phcoder@gmail.com>
Subject: [PATCH v2 1/4] smbios: Export grub_smbios_get_eps3 function
Date: Fri, 17 May 2024 10:45:37 +0300 [thread overview]
Message-ID: <20240517074540.2576-1-phcoder@gmail.com> (raw)
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
---
grub-core/commands/smbios.c | 2 +-
include/grub/smbios.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/grub-core/commands/smbios.c b/grub-core/commands/smbios.c
index 1a9086ddd..8d9b2e548 100644
--- a/grub-core/commands/smbios.c
+++ b/grub-core/commands/smbios.c
@@ -51,7 +51,7 @@ grub_smbios_get_eps (void)
}
/* Locate the SMBIOS3 entry point structure depending on the hardware. */
-static struct grub_smbios_eps3 *
+struct grub_smbios_eps3 *
grub_smbios_get_eps3 (void)
{
static struct grub_smbios_eps3 *eps = NULL;
diff --git a/include/grub/smbios.h b/include/grub/smbios.h
index 15ec260b3..0dfa7c348 100644
--- a/include/grub/smbios.h
+++ b/include/grub/smbios.h
@@ -65,5 +65,6 @@ extern struct grub_smbios_eps *grub_machine_smbios_get_eps (void);
extern struct grub_smbios_eps3 *grub_machine_smbios_get_eps3 (void);
extern struct grub_smbios_eps *EXPORT_FUNC (grub_smbios_get_eps) (void);
+extern struct grub_smbios_eps3 *grub_smbios_get_eps3 (void);
#endif /* ! GRUB_SMBIOS_HEADER */
--
2.39.2
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
next reply other threads:[~2024-05-17 7:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 7:45 Vladimir Serbinenko [this message]
2024-05-17 7:45 ` [PATCH v2 2/4] loader/bsd: Improve loading of *BSD on EFI platforms Vladimir Serbinenko
2024-05-17 7:45 ` [PATCH v2 3/4] Do NULL memory quirk workaround only when explicitly requested Vladimir Serbinenko
2024-05-17 7:45 ` [PATCH v2 4/4] loader/bsd: Add missing zeros Vladimir Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240517074540.2576-1-phcoder@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.