mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-26 05:15:29 +00:00
docs: Document the cutmem command
The command is not present in the docs/grub.texi user documentation. Reported-by: Daniel Kiper <daniel.kiper@oracle.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
parent
9c5565135f
commit
f05e79a014
@ -3981,6 +3981,7 @@ you forget a command, you can run the command @command{help}
|
|||||||
* cpuid:: Check for CPU features
|
* cpuid:: Check for CPU features
|
||||||
* crc:: Compute or check CRC32 checksums
|
* crc:: Compute or check CRC32 checksums
|
||||||
* cryptomount:: Mount a crypto device
|
* cryptomount:: Mount a crypto device
|
||||||
|
* cutmem:: Remove memory regions
|
||||||
* date:: Display or set current date and time
|
* date:: Display or set current date and time
|
||||||
* devicetree:: Load a device tree blob
|
* devicetree:: Load a device tree blob
|
||||||
* distrust:: Remove a pubkey from trusted keys
|
* distrust:: Remove a pubkey from trusted keys
|
||||||
@ -4139,6 +4140,8 @@ this page is to be filtered. This syntax makes it easy to represent patterns
|
|||||||
that are often result of memory damage, due to physical distribution of memory
|
that are often result of memory damage, due to physical distribution of memory
|
||||||
cells.
|
cells.
|
||||||
|
|
||||||
|
The command is similar to @command{cutmem} command.
|
||||||
|
|
||||||
Note: The command is not allowed when lockdown is enforced (@pxref{Lockdown}).
|
Note: The command is not allowed when lockdown is enforced (@pxref{Lockdown}).
|
||||||
This prevents removing EFI memory regions to potentially subvert the
|
This prevents removing EFI memory regions to potentially subvert the
|
||||||
security mechanisms provided by the UEFI secure boot.
|
security mechanisms provided by the UEFI secure boot.
|
||||||
@ -4303,6 +4306,24 @@ modules (@var{luks}, @var{luks2} and @var{geli}) have to be loaded manually
|
|||||||
before this command can be used.
|
before this command can be used.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
@node cutmem
|
||||||
|
@subsection cutmem
|
||||||
|
|
||||||
|
@deffn Command cutmem from[K|M|G] to[K|M|G]
|
||||||
|
Remove any memory regions in specified range.
|
||||||
|
@end deffn
|
||||||
|
|
||||||
|
This command notifies the memory manager that specified regions of RAM ought to
|
||||||
|
be filtered out. This remains in effect after a payload kernel has been loaded
|
||||||
|
by GRUB, as long as the loaded kernel obtains its memory map from GRUB. Kernels
|
||||||
|
that support this include Linux, GNU Mach, the kernel of FreeBSD and Multiboot
|
||||||
|
kernels in general.
|
||||||
|
|
||||||
|
The command is similar to @command{badram} command.
|
||||||
|
|
||||||
|
Note: The command is not allowed when lockdown is enforced (@pxref{Lockdown}).
|
||||||
|
This prevents removing EFI memory regions to potentially subvert the
|
||||||
|
security mechanisms provided by the UEFI secure boot.
|
||||||
|
|
||||||
@node date
|
@node date
|
||||||
@subsection date
|
@subsection date
|
||||||
|
Loading…
Reference in New Issue
Block a user