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
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);
>
>
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