diff --git a/config.h b/config.h new file mode 100644 index 0000000..5c778ee --- /dev/null +++ b/config.h @@ -0,0 +1,8 @@ +/* + * Number of CPU's For now, this is hard-coded here. It will likely be + * dynamically discovered in the future. + */ +#define NCPU 3 + +/* Maximum number of files open */ +#define NOFILE 10 diff --git a/start.c b/start.c index e07633f..27ef439 100644 --- a/start.c +++ b/start.c @@ -1,12 +1,6 @@ #include #include -/* - * Number of CPU's For now, this is hard-coded here. It will likely be in a - * header, or dynamically discovered in the future - */ -#define NCPU 3 - /* QEMU memory maps a UART device here. */ #define UART_BASE ((volatile char *)0x10000000)