bond/miscellaneous/balloc/inc/balloc.h
secXsQuared e53e396556 [RUNNING] Structural and boot change:
1. Changed to multiboot2 complaint
2. Separated modules (hal, kernel, test, common)
3. Rewrite makefile/linker script/ grub.cfg to adapt changes.
2016-06-04 02:41:56 -07:00

20 lines
282 B
C

#ifndef _BALLOC_H_
#define _BALLOC_H_
#include "linked_list.h"
#include "k_def.h"
#include "bit_ops.h"
#include "k_type.h"
typedef struct
{
void* base;
uint32_t size;
uint32_t granularity;
linked_list_t* free_list;
uint32_t* bit_map;
} balloc_desc_t;
#endif