#include <bmk/types.h>
#include <bmk/kernel.h>
-#include <bmk/sched.h>
#include <bmk-core/sched.h>
#define ENTRY(x) .text; .globl x; .type x,@function; x:
#define END(x) .size x, . - x
+#define PAGE_SHIFT 12
+#define PAGE_SIZE (1<<PAGE_SHIFT)
+
+#define BMK_THREAD_STACK_PAGE_ORDER 4
+#define BMK_THREAD_STACKSIZE ((1<<BMK_THREAD_STACK_PAGE_ORDER) * PAGE_SIZE)
+
#ifndef _LOCORE
struct region_descriptor;
void bmk_cpu_lidt(struct region_descriptor *);
extern unsigned long bmk_memsize, bmk_membase;
-#define PAGE_SHIFT 12
-#define PAGE_SIZE (1<<PAGE_SHIFT)
-#define STACK_SIZE 0x2000
-
#define round_page(x) (((x) + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1))
#define trunc_page(x) ((x) & ~(PAGE_SIZE-1))
+++ /dev/null
-#include <bmk-core/types.h>
-#include <bmk-core/sched.h>
-
-#define BMK_THREAD_STACK_PAGE_ORDER 4
-#define BMK_THREAD_STACKSIZE ((1<<BMK_THREAD_STACK_PAGE_ORDER) * PAGE_SIZE)
-
-bmk_time_t bmk_cpu_clock_now(void);
*/
#include <bmk/kernel.h>
-#include <bmk/sched.h>
#include <bmk-core/memalloc.h>
#include <bmk-core/printf.h>
#include <bmk-core/queue.h>
+#include <bmk-core/sched.h>
#define LIBRUMPUSER
#include "rumpuser_int.h"
#include <bmk/types.h>
#include <bmk/multiboot.h>
#include <bmk/kernel.h>
-#include <bmk/sched.h>
#include <bmk/app.h>
#include <bmk-core/core.h>
#include <bmk-core/platform.h>
#include <bmk-core/printf.h>
#include <bmk-core/queue.h>
+#include <bmk-core/sched.h>
unsigned long bmk_membase;
unsigned long bmk_memsize;
#include <bmk/types.h>
#include <bmk/multiboot.h>
#include <bmk/kernel.h>
-#include <bmk/sched.h>
#include <bmk-core/core.h>
#include <bmk-core/printf.h>
#include <bmk/types.h>
#include <bmk/kernel.h>
-#include <bmk/sched.h>
#include <bmk-core/core.h>
#include <bmk-core/printf.h>