www.pudn.com > MP3+JPEG.rar > BuddyStruct.h
//=========================================================================
// The information contained herein is the exclusive property of Sunplus
// Technology Co. And shall not be distributed, reproduced, or disclosed
// in whole in part without prior written permission.
// (C) Copyright 2003 Sunplus Technology Co. All rights reserved.
// The entire notice above must be reproduced on all authorized copies
//=========================================================================
//=========================================================================
// project name: u'nSP Buddy System
// Project Description:u'nSP Buddy System on MiniOS
// Environment: SPL16256 with 47.9232MHz
// SUNPLUS u'nSPTM IDE 1.8.1£¨or later£©
// Library Dependency: OS-Lib: SpOSA153.lib
//
// Author: wang quan
// Date: 2003.12.10
// E-mail: unsp@sunnorth.com.cn
// Revision history:
// ------------------------------------------------------------------------
// YYYY-MM-DD Modified By Description
// ------------------------------------------------------------------------
//==========================================================================
#ifndef __BUDDYSTRUCT_H__
#define __BUDDYSTRUCT_H__
// write your header here
/*************************************************/
typedef struct free_area_struct
{
struct free_area_struct *next;
int listnum;
}free_area;
/*************************************************/
typedef struct list_head
{
struct free_area_struct *first;
}free_list_head;
/*************************************************/
typedef struct Extfree_area_struct
{
unsigned long next;
int listnum;
}Extfree_area;
/*************************************************/
typedef struct Extlist_head
{
unsigned long frist; //by wq add 4.9
}Extfree_list_head;
/*************************************************/
typedef struct ExtRAM_NUM
{
unsigned long start_addr;
unsigned long end_addr;
}ExtRAM_list;
/*************************************************/
#endif