lkml.org 
[lkml]   [2022]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/16] x86/boot: Make console interface more abstract
On 2022-10-19 10:23, Ard Biesheuvel wrote:
> On Tue, 6 Sept 2022 at 12:42, Evgeniy Baskov <baskov@ispras.ru> wrote:
>>
>> To be able to extract kernel from EFI, console output functions
>> need to be replaceable by alternative implementations.
>>
>> Make all of those functions pointers.
>> Move serial console code to separate file.
>>
>
> What does kernel_add_identity_map() have to do with the above? Should
> that be a separate patch?

It used to be dependent, but no longer is.
I'll split making kernel_add_identity_map() a function pointer
out into separate patch.

>
>> Signed-off-by: Evgeniy Baskov <baskov@ispras.ru>
>> ---
>> arch/x86/boot/compressed/Makefile | 2 +-
>> arch/x86/boot/compressed/ident_map_64.c | 15 ++-
>> arch/x86/boot/compressed/misc.c | 109 +--------------------
>> arch/x86/boot/compressed/misc.h | 13 ++-
>> arch/x86/boot/compressed/putstr.c | 124
>> ++++++++++++++++++++++++
>> 5 files changed, 146 insertions(+), 117 deletions(-)
>> create mode 100644 arch/x86/boot/compressed/putstr.c
...

\
 
 \ /
  Last update: 2022-10-20 14:11    [W:0.239 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site