/SPARTAN/trunk/include/fpu_context.h |
---|
26,8 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#ifndef fpu_context_h |
#define fpu_context_h |
#ifndef __FPU_CONTEXT_H__ |
#define __FPU_CONTEXT_H__ |
#include <arch/fpu_context.h> |
40,5 → 40,5 |
extern void fpu_disable(void); |
#endif /*fpu_context_h*/ |
#endif /* __FPU_CONTEXT_H__ */ |
/SPARTAN/trunk/include/mm/heap.h |
---|
37,8 → 37,8 |
struct chunk { |
int used; |
struct chunk *next; |
struct chunk *prev; |
chunk_t *next; |
chunk_t *prev; |
__u32 size; |
__native data[0]; |
}; |
/SPARTAN/trunk/include/mm/buddy.h |
---|
34,7 → 34,7 |
#define BUDDY_SYSTEM_INNER_BLOCK 0xff |
struct buddy_operations { |
struct buddy_system_operations { |
link_t *(* find_buddy)(link_t *); |
link_t *(* bisect)(link_t *); |
link_t *(* coalesce)(link_t *, link_t *); |
45,10 → 45,10 |
struct buddy_system { |
__u8 max_order; |
link_t *order; |
buddy_operations_t *op; |
buddy_system_operations_t *op; |
}; |
extern buddy_system_t *buddy_system_create(__u8 max_order, buddy_operations_t *op); |
extern buddy_system_t *buddy_system_create(__u8 max_order, buddy_system_operations_t *op); |
extern link_t *buddy_system_alloc(buddy_system_t *b, __u8 i); |
extern void buddy_system_free(buddy_system_t *b, link_t *block); |
/SPARTAN/trunk/include/typedefs.h |
---|
64,7 → 64,7 |
typedef struct chunk chunk_t; |
typedef struct buddy_system buddy_system_t; |
typedef struct buddy_operations buddy_operations_t; |
typedef struct buddy_system_operations buddy_system_operations_t; |
typedef struct zone zone_t; |
typedef struct frame frame_t; |