|
@@ -9,6 +9,7 @@
|
|
#define HEAP_H
|
|
#define HEAP_H
|
|
|
|
|
|
#include <stdint.h>
|
|
#include <stdint.h>
|
|
|
|
+#include <stddef.h> // For size_t support
|
|
#include <stdbool.h>
|
|
#include <stdbool.h>
|
|
|
|
|
|
#include "dmm_config.h"
|
|
#include "dmm_config.h"
|
|
@@ -71,12 +72,12 @@ typedef struct dmmknobs_s {
|
|
float empty_threshold; /**< FIXME Need to find explanation \brief Empty
|
|
float empty_threshold; /**< FIXME Need to find explanation \brief Empty
|
|
Threshold */
|
|
Threshold */
|
|
uint32_t percentage; // FIXME to be investigated what it is
|
|
uint32_t percentage; // FIXME to be investigated what it is
|
|
- knob_state_t frag_state;
|
|
+ knob_state_t frag_state; /**< \brief The current state of fragmentation. */
|
|
knob_state_t foot_state;
|
|
knob_state_t foot_state;
|
|
} dmmknobs_t;
|
|
} dmmknobs_t;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * \brief A structure to store heap information.
|
|
+ * A structure to store heap information.
|
|
*/
|
|
*/
|
|
typedef struct heap_s {
|
|
typedef struct heap_s {
|
|
maptable_node_t *maptable_head; /**< \brief The head of the maptable list. */
|
|
maptable_node_t *maptable_head; /**< \brief The head of the maptable list. */
|