[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6258.1479901869@warthog.procyon.org.uk>
Date: Wed, 23 Nov 2016 11:51:09 +0000
From: David Howells <dhowells@...hat.com>
To: Ard Biesheuvel <ard.biesheuvel@...aro.org>
Cc: dhowells@...hat.com, Lukas Wunner <lukas@...ner.de>,
"linux-efi@...r.kernel.org" <linux-efi@...r.kernel.org>,
linux-security-module <linux-security-module@...r.kernel.org>,
keyrings@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/6] arm/efi: Allow invocation of arbitrary runtime services [ver #2]
Ard Biesheuvel <ard.biesheuvel@...aro.org> wrote:
> > What I've changed the ARM and ARM64 things to is:
> >
> > #define efi_call_runtime(f, ...) ((efi_##f##_t *)sys_table_arg->runtime->f)(__VA_ARGS__)
> >
>
> Could we please instead fix the definition of efi_runtime_services_t,
> given that we have typedefs already for all its members?
Okay, I've pulled in your patch and removed the cast.
I would like to provide wrapper static inlines for things like
efi_get_variable() to get the parameter checking, but the sys_table_arg
behind-the-scenes parameter is tricky to deal with in that case.
David
Powered by blists - more mailing lists