Re: [PATCH 3/5] arm64: change the prototype of image probe function

2023-05-05 Thread Pingfan Liu
On Fri, May 5, 2023 at 11:42 PM Simon Horman wrote: > > On Fri, May 05, 2023 at 10:54:35AM +0800, Pingfan Liu wrote: > > Changing the aarch64 probe's prototype from > > typedef int (probe_t)(const char *kernel_buf, off_t kernel_size); > > to > > typedef int (probe_t)(const char

Re: [PATCH 3/5] arm64: change the prototype of image probe function

2023-05-05 Thread Simon Horman
On Fri, May 05, 2023 at 10:54:35AM +0800, Pingfan Liu wrote: > Changing the aarch64 probe's prototype from > typedef int (probe_t)(const char *kernel_buf, off_t kernel_size); > to > typedef int (probe_t)(const char *kernel_buf, off_t kernel_size, struct > kexec_info *info); > >

[PATCH 3/5] arm64: change the prototype of image probe function

2023-05-04 Thread Pingfan Liu
Changing the aarch64 probe's prototype from typedef int (probe_t)(const char *kernel_buf, off_t kernel_size); to typedef int (probe_t)(const char *kernel_buf, off_t kernel_size, struct kexec_info *info); Later, info can be used to return both the file descriptor and parsed