added ide block device added mbr block device driver started fat block device driver reordered boot start timer before pci/ide/etc. enable interrupts earlier fixed exception from ide controller cleanup code more printfs
26 lines
394 B
C
26 lines
394 B
C
/*
|
|
* libc.h
|
|
*
|
|
* Created on: Oct 11, 2018
|
|
* Author: rick
|
|
*/
|
|
|
|
#ifndef KERNEL_LIBC_LIBC_H_
|
|
#define KERNEL_LIBC_LIBC_H_
|
|
|
|
#include <types.h>
|
|
|
|
int memcpy(u8 *dst, const u8 *src, int amount);
|
|
|
|
int memset(char *dst, char data, int amount);
|
|
|
|
char *itoa(int value, char *buffer, int base);
|
|
|
|
int abs(int val);
|
|
|
|
int maxi(int a, int b);
|
|
|
|
int mini(int a, int b);
|
|
|
|
#endif /* KERNEL_LIBC_LIBC_H_ */
|