iPXE
Functions
hidemem.h File Reference

Hidden memory regions. More...

#include <stdint.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
void hide_umalloc (physaddr_t start, physaddr_t end)
 Hide umalloc() region.

Detailed Description

Hidden memory regions.

Definition in file hidemem.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
void hide_umalloc ( physaddr_t  start,
physaddr_t  end 
)

Hide umalloc() region.

Definition at line 119 of file hidemem.c.

References _textdata, assert, hide_region(), hidemem_umalloc, and virt_to_phys().

Referenced by hide_etherboot(), and memtop_urealloc().

                                                       {
        assert ( end <= virt_to_phys ( _textdata ) );
        hide_region ( &hidemem_umalloc, start, end );
}