Turnstone Operating System
Loading...
Searching...
No Matches
frame_allocator_t Struct Reference

frame allocator class More...

#include <frame.h>

Public Attributes

void * context
 internal struct for frame allocator
 
fa_allocate_frame_by_count_f allocate_frame_by_count
 allocate frame with count
 
fa_allocate_frame_f allocate_frame
 allocate frame with given reference frame, ref frame not used in anywhere as is. it is only for reference.
 
fa_release_frame_f release_frame
 release frame with given reference frame, ref frame not used in anywhere as is. it is only for reference.
 
fa_get_reserved_frames_of_address_f get_reserved_frames_of_address
 returns the frame that address resides or null
 
fa_cleanup_f cleanup
 cleans old reserved frames
 
fa_reserve_system_frames_f reserve_system_frames
 reserve frames for mmio
 
fa_release_acpi_reclaim_memory_f release_acpi_reclaim_memory
 release frames with attribute FRAME_TYPE_ACPI_RECLAIM_MEMORY
 
fa_get_total_frame_count_f get_total_frame_count
 returns total frame count
 
fa_get_allocated_frame_count_f get_allocated_frame_count
 returns used frame count
 
fa_get_free_frame_count_f get_free_frame_count
 returns free frame count
 

Detailed Description

frame allocator class


The documentation for this struct was generated from the following file: