feat: setup structure for block devices
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
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
* Author: rick
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include "libc.h"
|
||||
|
||||
int memcpy(char *dst, char *src, int amount) {
|
||||
int memcpy(u8 *dst, const u8 *src, int amount) {
|
||||
for (int i = 0; i < amount; i++) {
|
||||
dst[i] = src[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user