/** * @file * * this functions need to be provided and linked against the fool stack. * * * memcpy(dst,src,x); - copy x bytes of memory to dst from src * * klog(...); - printf style logger * * addr=kballoc(x); - allocate x 4096 byte pages of memory * * kbfree(addr); - free memory allocated with kballoc * * You only need to provide this functions, check the provided * implementations for examples: * * * net_sys_linux - linux userspace * * net_sys_foolos_kernel.h - standalone fool-os in-kernel */ #ifdef FOOLOS_KERNEL #include "net_sys_foolos_kernel.h" #endif #ifdef PLATFORM_LINUX #include "net_sys_linux.h" #endif