Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 61 → Rev 60

/shark/trunk/include/drivers/parport.h
44,10 → 44,11
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* CVS : $Id: parport.h,v 1.2 2003-02-28 12:05:43 pj Exp $
* CVS : $Id: parport.h,v 1.1 2002-10-28 07:52:11 pj Exp $
*/
 
#include <kernel/kern.h>
#include <drivers/glib.h>
#include <drivers/keyb.h>
#include <time.h>
#include <stdio.h>
/shark/trunk/include/drivers/gd.h
20,11 → 20,11
 
/**
------------
CVS : $Id: gd.h,v 1.2 2003-02-28 12:05:44 pj Exp $
CVS : $Id: gd.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
 
File: $File$
Revision: $Revision: 1.2 $
Last update: $Date: 2003-02-28 12:05:44 $
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:51 $
------------
 
**/
88,7 → 88,7
DWORD gd_getmem(void);
void gd_showmodeinfo(void);
int gd_modenum(WORD x, WORD y, BYTE depth);
int gd_getmodeinfo(grx_vga_modeinfo *m);
int gd_getmodeinfo(vga_modeinfo *m);
 
void Load_Write_Bank_256(BYTE bank);
 
/shark/trunk/include/drivers/comp.h
20,11 → 20,11
 
/**
------------
CVS : $Id: comp.h,v 1.2 2003-02-28 12:05:44 pj Exp $
CVS : $Id: comp.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
 
File: $File$
Revision: $Revision: 1.2 $
Last update: $Date: 2003-02-28 12:05:44 $
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:51 $
------------
**/
 
81,7 → 81,7
select a memory page */
void *extensions; /* points to copy of eeprom for mach32 */
/* depends from actual driver/chiptype.. etc. */
} grx_vga_modeinfo;
} vga_modeinfo;
 
#ifdef __cplusplus
}
/shark/trunk/include/stdlib.h
20,11 → 20,11
 
/**
------------
CVS : $Id: stdlib.h,v 1.2 2003-02-28 12:05:44 pj Exp $
CVS : $Id: stdlib.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
 
File: $File$
Revision: $Revision: 1.2 $
Last update: $Date: 2003-02-28 12:05:44 $
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:51 $
------------
 
stdlib.h
55,10 → 55,7
 
#include <ll/stdlib.h>
#include <sys/types.h>
#include <stddef.h>
 
#define qsort _quicksort
 
void abort(void);
int atexit(void (*function)(void));
void *calloc(size_t nelt, size_t eltsize);
72,15 → 69,10
void _exit(int status);
 
/* to implement!! */
//char *getenv(const char *);
char *getenv (const char *);
 
/* not standard but required! */
long strtol (const char *, char **, int);
unsigned long strtoul (const char *, char **, int);
 
/* StdLib QSort */
typedef int (*__compar_fn_t) (const void *, const void *);
extern void _quicksort (void *const pbase, size_t total_elems, size_t size, __compar_fn_t cmp);
extern void * bsearch (const void *key, const void *base, size_t nmemb, size_t size, int (*compar) (const void *, const void *));
 
#endif