Re: EFI_PXE_BASE_CODE_PROTOCOL

2019-08-06 Thread Leif Lindholm
+Peter Jones (sorry Peter) On Tue, Aug 06, 2019 at 08:34:58AM +0200, Heinrich Schuchardt wrote: > iPXE uses the EFI simple network protocol to execute DHCP. OK. > Can GRUB already do the same when the EFI_PXE_BASE_CODE_PROTOCOL is not > present? Yes. As of very recently (proper* DHCP support wa

Re: EFI_PXE_BASE_CODE_PROTOCOL

2019-08-06 Thread Peter Jones
On Tue, Aug 06, 2019 at 09:44:14AM +0100, Leif Lindholm wrote: > +Peter Jones (sorry Peter) + Javier Martinez Canillas > On Tue, Aug 06, 2019 at 08:34:58AM +0200, Heinrich Schuchardt wrote: > > iPXE uses the EFI simple network protocol to execute DHCP. > > OK. > > > Can GRUB already do the same

Re: EFI_PXE_BASE_CODE_PROTOCOL

2019-08-06 Thread Heinrich Schuchardt
On 8/6/19 7:02 PM, Peter Jones wrote: On Tue, Aug 06, 2019 at 09:44:14AM +0100, Leif Lindholm wrote: +Peter Jones (sorry Peter) + Javier Martinez Canillas On Tue, Aug 06, 2019 at 08:34:58AM +0200, Heinrich Schuchardt wrote: iPXE uses the EFI simple network protocol to execute DHCP. OK.

Re: EFI_PXE_BASE_CODE_PROTOCOL

2019-08-06 Thread Leif Lindholm
On Tue, Aug 06, 2019 at 08:52:09PM +0200, Heinrich Schuchardt wrote: > > > > EFI_PXE_BASE_CODE_PACKET DhcpAck is a union: > > > > > > > > typedef union { > > > > UINT8 Raw[1472]; > > > > EFI_PXE_BASE_CODE_DHCPV4_PACKET Dhcpv4; > > > > EFI_PXE_BASE_CODE_DHCPV6_PA

How can I debug the function of malloc_in_range?

2019-08-06 Thread Zhang
Hi All, I want to study the function malloc_in_range of the grub2.02. So I set the followings in the grub.cfg. serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 terminal_input serial console terminal_output serial console set debug=all But when I add some grub_printf to the functi