misc/kforth: Restart the world.

This commit is contained in:
2018-03-02 17:03:32 -08:00
parent a1149654d4
commit 7a2ed45857
12 changed files with 362 additions and 37 deletions

View File

@@ -1,14 +1,11 @@
#ifndef __KF_PLATFORM_PC_H__
#define __KF_PLATFORM_PC_H__
#ifndef __KF_PC_DEFS_H__
#define __KF_PC_DEFS_H__
#include <stdint.h>
typedef int32_t KF_INT;
typedef int32_t KF_INT;
typedef uintptr_t KF_ADDR;
constexpr static size_t STACK_SIZE = 65535;
constexpr static size_t DICT_SIZE = 65535;
constexpr static size_t ARENA_SIZE = 65535;
static const size_t DSTACK_SIZE = 65535;
static const size_t RSTACK_SIZE = 65535;
static const size_t DICT_SIZE = 65535;
#endif // __KF_PLATFORM_PC_H__
#endif /* __KF_PC_DEFS_H__ */