package genconfig

configuration conf {
	include embox.arch.system(core_freq=100000000)
	include embox.arch.mips.locore
	include embox.arch.mips.cpu_idle
	include embox.arch.mips.context
	include embox.arch.mips.ipl
	include embox.arch.mips.libarch
	include embox.arch.mips.vfork
	include embox.arch.mips.stackframe

	include embox.driver.serial.ns16550(reg_width=1)
	include embox.driver.serial.ns16550_diag(base_addr=0x1ff70000)
	include embox.driver.serial.ns16550_ttyS0(base_addr=0x1ff70000, irq_num=20)
	include embox.driver.serial.ns16550_ttyS1(base_addr=0x1ff70008, irq_num=21)
	include embox.driver.diag(impl="embox__driver__serial__ns16550_diag")

	include embox.driver.interrupt.niisi.sc64_intc_v2

	@Runlevel(2) include embox.driver.clock.niisi.sc64_timer_v2
	include embox.kernel.time.jiffies(cs_name="sc64_timer_v2", period=100)

	@Runlevel(2) include embox.driver.gpio.niisi.sc64_gpio

	include embox.driver.spi.niisi.sc64_spi
	include embox.driver.serial.xr20m1172_ttySPI0

	@Runlevel(2) include embox.driver.net.sc64_tulip
	@Runlevel(2) include embox.driver.net.loopback

	include embox.lib.debug.whereami

	include embox.kernel.stack(stack_size=0x2000)
	include embox.kernel.irq
	include embox.kernel.critical

	include embox.kernel.timer.sys_timer
	include embox.kernel.time.kernel_time

	include embox.kernel.task.multi
	include embox.kernel.task.resource.idesc_table(idesc_table_size=16)
	include embox.kernel.task.resource.sig_table(sig_table_size=20)
	include embox.kernel.task.resource.env(env_per_task=4,env_str_len=64)

	include embox.kernel.thread.thread_local_none
	include embox.kernel.thread.thread_cancel_disable
	include embox.kernel.thread.signal.siginfoq(siginfo_pool_sz=4)
	include embox.kernel.timer.sleep
	include embox.kernel.sched.sched
	include embox.kernel.sched.idle_light
	include embox.kernel.lthread.lthread
	include embox.kernel.thread.core(thread_stack_size=0x2000,thread_pool_size=4)

	/* tty requires */
	include embox.kernel.thread.mutex

	@Runlevel(0) include embox.mem.phymem
	@Runlevel(2) include embox.mem.static_heap(heap_size=0x10000)
	include embox.mem.heap_bm(heap_size=0x10000)
	include embox.mem.pool_adapter
	include embox.mem.bitmask

	include embox.compat.libc.all
	include embox.compat.libc.stdio.asprintf
	include embox.compat.libc.math_simple

	include embox.compat.posix.pthreads
	include embox.compat.posix.semaphore
	include embox.compat.posix.proc.atexit_stub
	include embox.compat.atomic.pseudo_atomic

	include embox.lib.libds
	include embox.framework.LibFramework

	include embox.framework.mod(
		use_mod_depends=false,
		use_mod_labels=false,
		use_mod_logger=false,
		use_mod_names=true,
		use_cmd_details=true)

	include embox.fs.dvfs.core
	include embox.fs.rootfs_dvfs(fstype="initfs")
	include embox.fs.driver.initfs_dvfs(file_quantity=32)
	include embox.fs.driver.devfs_dvfs
	// include embox.fs.driver.fat_dvfs(log_level="LOG_ERR")
	// include embox.fs.syslib.perm_stub
	include embox.compat.posix.file_system_dvfs

	include embox.compat.posix.net.gai_strerror
	include embox.compat.posix.net.getaddrinfo
	// include embox.compat.posix.net.socket

	include embox.net.core
	include embox.net.skbuff(amount_skb=32)
	include embox.net.skbuff_data(amount_skb_data=32,data_size=1518,data_align=1,data_padto=1,ip_align=false)
	include embox.net.socket
	include embox.net.dev
	include embox.net.af_inet
	include embox.net.af_packet
	include embox.net.ipv4
	include embox.net.arp
	include embox.net.rarp
	include embox.net.icmpv4
	include embox.net.udp
	include embox.net.tcp
	include embox.net.udp_sock
	include embox.net.tcp_sock
	include embox.net.raw_sock
	include embox.net.net_entry

	include embox.init.system_start_service(log_level="LOG_INFO", tty_dev="ttyS0")

	include embox.cmd.sh.tish(
		prompt="%h:%w%$",
		rich_prompt_support=1,
		builtin_commands="exit logout cd export mount umount")

	include embox.cmd.service
	include embox.cmd.source_cmd
	include embox.cmd.help
	include embox.cmd.man
	include embox.cmd.lsmod
	include embox.cmd.test

	include embox.cmd.sys.uname
	include embox.cmd.sys.env
	include embox.cmd.sys.export
	include embox.cmd.sys.version

	include embox.cmd.proc.thread
	include embox.cmd.proc.top

	include embox.cmd.testing.ticker

	include embox.cmd.fs.dd
	include embox.cmd.fs.cat
	include embox.cmd.fs.ls
	include embox.cmd.fs.mount
	include embox.cmd.fs.umount
	include embox.cmd.fs.stat
	include embox.cmd.fs.echo
	include embox.cmd.fs.touch
	include embox.cmd.fs.mkdir

	include embox.cmd.net.netmanager
	include embox.cmd.net.ifconfig
	include embox.cmd.net.route
	include embox.cmd.net.ping
	include embox.cmd.net.telnetd
	include embox.cmd.net.ntpdate


}
