mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
move more marcos (CONFIG_VGA etc) to config.h
This commit is contained in:
parent
0508470d4e
commit
84e0c3f7f6
4 changed files with 15 additions and 3 deletions
8
configure
vendored
8
configure
vendored
|
@ -1764,6 +1764,14 @@ $as_echo "#define MAX_ISLE 8" >>confdefs.h
|
|||
$as_echo "#define MAX_FNAME 128" >>confdefs.h
|
||||
|
||||
|
||||
$as_echo "#define VIDEO_MEM_ADDR 0xB8000" >>confdefs.h
|
||||
|
||||
#AC_DEFINE(CONFIG_VGA, 1, Use the VGA interface as output device)
|
||||
|
||||
$as_echo "#define DYNAMIC_TICKS 1" >>confdefs.h
|
||||
|
||||
#AC_DEFINE(SAVE_FPU, 1, Set task switched flag during a context switch);
|
||||
|
||||
CROSSDIR=`pwd`/usr/x86/bin
|
||||
|
||||
|
||||
|
|
|
@ -25,6 +25,10 @@ AC_DEFINE(HAVE_ARCH_STRCPY, 1, Define to use machine specific version of strcpy)
|
|||
AC_DEFINE(HAVE_ARCH_STRNCPY, 1, Define to use machine specific version of strncpy)
|
||||
AC_DEFINE(MAX_ISLE, 8, Define the maximum number of isles / numa nodes)
|
||||
AC_DEFINE(MAX_FNAME, 128, Define the maximum length of a file name)
|
||||
AC_DEFINE(VIDEO_MEM_ADDR, 0xB8000, Definition of the VGA address)
|
||||
#AC_DEFINE(CONFIG_VGA, 1, Use the VGA interface as output device)
|
||||
AC_DEFINE(DYNAMIC_TICKS, 1, Use a dynamic tick instead of a static)
|
||||
#AC_DEFINE(SAVE_FPU, 1, Set task switched flag during a context switch);
|
||||
|
||||
CROSSDIR=`pwd`/usr/x86/bin
|
||||
AC_SUBST(CROSSDIR)
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
#undef MAX_TASKS
|
||||
#undef MAX_ISLE
|
||||
#undef MAX_FNAME
|
||||
#undef SAVE_FPU
|
||||
#undef CONFIG_VGA
|
||||
#undef VIDEO_MEM_ADDR
|
||||
|
||||
/* Define to use machine specific version of memcpy */
|
||||
#undef HAVE_ARCH_MEMCPY
|
||||
|
|
|
@ -44,7 +44,6 @@ extern "C" {
|
|||
|
||||
#define TIMER_FREQ 100 /* in HZ */
|
||||
#define CLOCK_TICK_RATE 1193182 /* 8254 chip's internal oscillator frequency */
|
||||
#define VIDEO_MEM_ADDR 0xB8000 /* the video memory address */
|
||||
#define CACHE_LINE 64
|
||||
#define HEAP_START (PAGE_2M_FLOOR((size_t)&kernel_end) + 4*PAGE_SIZE)
|
||||
#define HEAP_SIZE (1ULL << 32)
|
||||
|
@ -52,8 +51,6 @@ extern "C" {
|
|||
#define INT_SYSCALL 0x80
|
||||
#define MAILBOX_SIZE 128
|
||||
//#define WITH_PCI_IDS
|
||||
//#define SAVE_FPU
|
||||
//#define CONFIG_VGA
|
||||
|
||||
#define BYTE_ORDER LITTLE_ENDIAN
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue