-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Similar to what we have in other applications, add a default minimal config file that can be used by `make defconfig` to generate a proper full configuration. Also update the Makefile to match the new directory layout. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> Tested-by: Unikraft CI <monkey@unikraft.io> GitHub-Closes: #22
- Loading branch information
1 parent
6106b36
commit cd24a31
Showing
2 changed files
with
243 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,241 @@ | ||
# | ||
# Automatically generated file; DO NOT EDIT. | ||
# Unikraft/0.13.1~21ce1acf Configuration | ||
# | ||
CONFIG_UK_FULLVERSION="0.13.1~21ce1acf" | ||
CONFIG_UK_CODENAME="Atlas" | ||
CONFIG_UK_ARCH="x86_64" | ||
CONFIG_UK_BASE="/tmp/usoc/app-elfloader/.unikraft/unikraft" | ||
CONFIG_UK_APP="/tmp/usoc/app-elfloader" | ||
CONFIG_UK_DEFNAME="app-elfloader" | ||
|
||
# | ||
# Architecture Selection | ||
# | ||
CONFIG_ARCH_X86_64=y | ||
CONFIG_MARCH_X86_64_GENERIC=y | ||
|
||
# | ||
# Processor Features | ||
# | ||
# end of Processor Features | ||
|
||
CONFIG_STACK_SIZE_PAGE_ORDER=4 | ||
# end of Architecture Selection | ||
|
||
# | ||
# Platform Configuration | ||
# | ||
CONFIG_PLAT_KVM=y | ||
CONFIG_KVM_BOOT_PROTO_MULTIBOOT=y | ||
CONFIG_KVM_VMM_QEMU=y | ||
|
||
# | ||
# Console Options | ||
# | ||
CONFIG_KVM_KERNEL_SERIAL_CONSOLE=y | ||
CONFIG_KVM_KERNEL_VGA_CONSOLE=y | ||
CONFIG_KVM_DEBUG_SERIAL_CONSOLE=y | ||
CONFIG_KVM_DEBUG_VGA_CONSOLE=y | ||
|
||
# | ||
# Serial console configuration | ||
# | ||
CONFIG_KVM_SERIAL_BAUD_115200=y | ||
# end of Serial console configuration | ||
# end of Console Options | ||
|
||
CONFIG_KVM_MAX_IRQ_HANDLER_ENTRIES=8 | ||
CONFIG_KVM_PCI=y | ||
CONFIG_VIRTIO_BUS=y | ||
|
||
# | ||
# Virtio | ||
# | ||
CONFIG_VIRTIO_PCI=y | ||
CONFIG_VIRTIO_NET=y | ||
CONFIG_VIRTIO_9P=y | ||
# end of Virtio | ||
|
||
CONFIG_UKPLAT_ALLOW_GIC=y | ||
|
||
# | ||
# Platform Interface Options | ||
# | ||
CONFIG_UKPLAT_LCPU_MAXCOUNT=1 | ||
CONFIG_PAGING=y | ||
CONFIG_HAVE_PAGING=y | ||
CONFIG_HAVE_PAGING_DIRECTMAP=y | ||
# end of Platform Interface Options | ||
|
||
CONFIG_HZ=100 | ||
# end of Platform Configuration | ||
|
||
# | ||
# Library Configuration | ||
# | ||
CONFIG_LIB9PFS=y | ||
CONFIG_LIBISRLIB=y | ||
CONFIG_LIBNOLIBC=y | ||
CONFIG_LIBNOLIBC_UKDEBUG_ASSERT=y | ||
CONFIG_LIBPOSIX_EVENT=y | ||
CONFIG_LIBPOSIX_FUTEX=y | ||
CONFIG_LIBPOSIX_MMAP=y | ||
CONFIG_LIBPOSIX_PROCESS=y | ||
CONFIG_LIBPOSIX_PROCESS_PIDS=y | ||
CONFIG_LIBPOSIX_PROCESS_MAX_PID=31 | ||
CONFIG_LIBPOSIX_PROCESS_CLONE=y | ||
CONFIG_LIBPOSIX_SOCKET=y | ||
CONFIG_LIBPOSIX_SYSINFO=y | ||
CONFIG_LIBPOSIX_TIME=y | ||
CONFIG_LIBPOSIX_USER=y | ||
CONFIG_LIBSYSCALL_SHIM=y | ||
CONFIG_LIBSYSCALL_SHIM_HANDLER=y | ||
CONFIG_LIBSYSCALL_SHIM_HANDLER_ULTLS=y | ||
|
||
# | ||
# Debugging | ||
# | ||
CONFIG_LIBSYSCALL_SHIM_LEGACY_VERBOSE=y | ||
# end of Debugging | ||
|
||
CONFIG_LIBUK9P=y | ||
CONFIG_LIBUK9P_ERRATUM_WSTAT_FSYNC_ZERO=y | ||
CONFIG_LIBUKALLOC=y | ||
CONFIG_LIBUKALLOCBBUDDY=y | ||
CONFIG_LIBUKARGPARSE=y | ||
CONFIG_LIBUKBOOT=y | ||
CONFIG_LIBUKBOOT_BANNER_POWEREDBY=y | ||
CONFIG_LIBUKBOOT_MAXNBARGS=60 | ||
CONFIG_LIBUKBOOT_INITBBUDDY=y | ||
CONFIG_LIBUKBOOT_HEAP_BASE=0x400000000 | ||
CONFIG_LIBUKBOOT_INITSCHEDCOOP=y | ||
CONFIG_LIBUKBUS=y | ||
CONFIG_LIBUKDEBUG=y | ||
CONFIG_LIBUKDEBUG_PRINTK=y | ||
CONFIG_LIBUKDEBUG_PRINTK_ERR=y | ||
CONFIG_LIBUKDEBUG_REDIR_PRINTD=y | ||
CONFIG_LIBUKDEBUG_PRINT_TIME=y | ||
CONFIG_LIBUKDEBUG_PRINT_SRCNAME=y | ||
CONFIG_LIBUKDEBUG_ENABLE_ASSERT=y | ||
CONFIG_LIBUKFALLOC=y | ||
CONFIG_LIBUKFALLOCBUDDY=y | ||
CONFIG_LIBUKFALLOCBUDDY_MAX_ALLOC_ORDER=30 | ||
CONFIG_LIBUKLIBPARAM=y | ||
CONFIG_LIBUKLOCK=y | ||
CONFIG_LIBUKLOCK_SEMAPHORE=y | ||
CONFIG_LIBUKLOCK_MUTEX=y | ||
CONFIG_LIBUKLOCK_RWLOCK=y | ||
CONFIG_LIBUKMPI=y | ||
CONFIG_LIBUKMPI_MBOX=y | ||
CONFIG_LIBUKNETDEV=y | ||
CONFIG_LIBUKNETDEV_MAXNBQUEUES=1 | ||
CONFIG_LIBUKNETDEV_DISPATCHERTHREADS=y | ||
CONFIG_LIBUKSCHED=y | ||
CONFIG_LIBUKSCHEDCOOP=y | ||
CONFIG_LIBUKSGLIST=y | ||
CONFIG_LIBUKSTREAMBUF=y | ||
CONFIG_LIBUKSWRAND=y | ||
CONFIG_LIBUKSWRAND_CHACHA=y | ||
CONFIG_LIBUKSWRAND_INITIALSEED_TIME=y | ||
CONFIG_LIBUKTIMECONV=y | ||
CONFIG_LIBUKVMEM=y | ||
CONFIG_LIBUKVMEM_DEMAND_PAGE_IN_SIZE=12 | ||
CONFIG_LIBUKVMEM_PAGEFAULT_HANDLER_PRIO=4 | ||
CONFIG_LIBUKVMEM_DEFAULT_BASE=0x0000001000000000 | ||
CONFIG_LIBVFSCORE=y | ||
|
||
# | ||
# vfscore: Configuration | ||
# | ||
CONFIG_LIBVFSCORE_PIPE_SIZE_ORDER=16 | ||
CONFIG_LIBVFSCORE_AUTOMOUNT_ROOTFS=y | ||
CONFIG_LIBVFSCORE_ROOTFS_9PFS=y | ||
CONFIG_LIBVFSCORE_ROOTFS="9pfs" | ||
CONFIG_LIBVFSCORE_ROOTDEV="fs0" | ||
CONFIG_LIBVFSCORE_ROOTFLAGS=0x0 | ||
CONFIG_LIBVFSCORE_ROOTOPTS="" | ||
# end of vfscore: Configuration | ||
|
||
CONFIG_HAVE_BOOTENTRY=y | ||
CONFIG_HAVE_TIME=y | ||
CONFIG_HAVE_SCHED=y | ||
CONFIG_HAVE_NW_STACK=y | ||
CONFIG_HAVE_SYSCALL=y | ||
CONFIG_LIBELF=y | ||
CONFIG_LIBLWIP=y | ||
CONFIG_LWIP_UNIKRAFT21X=y | ||
|
||
# | ||
# Netif drivers | ||
# | ||
CONFIG_LWIP_UKNETDEV=y | ||
CONFIG_LWIP_UKNETDEV_SCRATCH=64 | ||
# end of Netif drivers | ||
|
||
CONFIG_LWIP_AUTOIFACE=y | ||
CONFIG_LWIP_THREADS=y | ||
CONFIG_LWIP_STACKTHREAD_MBOX_SIZE_256=y | ||
CONFIG_LWIP_STACKTHREAD_MBOX_SIZE=256 | ||
CONFIG_LWIP_HEAP=y | ||
CONFIG_LWIP_NETIF_EXT_STATUS_CALLBACK=y | ||
CONFIG_LWIP_NETIF_STATUS_PRINT=y | ||
CONFIG_LWIP_LOOPBACK=y | ||
CONFIG_LWIP_IPV4=y | ||
|
||
# | ||
# IP Configuration | ||
# | ||
CONFIG_LWIP_IP_REASS_MAX_PBUFS=10 | ||
# end of IP Configuration | ||
|
||
CONFIG_LWIP_UDP=y | ||
CONFIG_LWIP_TCP=y | ||
CONFIG_LWIP_TCP_MSS=1460 | ||
CONFIG_LWIP_WND_SCALE=y | ||
CONFIG_LWIP_NUM_TCPCON=64 | ||
CONFIG_LWIP_NUM_TCPLISTENERS=64 | ||
CONFIG_LWIP_ICMP=y | ||
CONFIG_LWIP_DNS=y | ||
CONFIG_LWIP_DNS_MAX_SERVERS=2 | ||
CONFIG_LWIP_DNS_TABLE_SIZE=32 | ||
CONFIG_LWIP_SOCKET=y | ||
CONFIG_LWIP_UDP_RECVMBOX_FACTOR=2 | ||
CONFIG_LWIP_TCP_RECVMBOX_FACTOR=2 | ||
# end of Library Configuration | ||
|
||
# | ||
# Build Options | ||
# | ||
CONFIG_OPTIMIZE_PERF=y | ||
|
||
# | ||
# Hint: Specify a CPU type to get most benefits from performance optimization | ||
# | ||
CONFIG_OPTIMIZE_NOOMITFP=y | ||
CONFIG_DEBUG_SYMBOLS_LVL3=y | ||
CONFIG_OPTIMIZE_COMPRESS=y | ||
CONFIG_CROSS_COMPILE="" | ||
CONFIG_LLVM_TARGET_ARCH="" | ||
# end of Build Options | ||
|
||
# | ||
# Application Options | ||
# | ||
CONFIG_APPELFLOADER_DEPENDENCIES=y | ||
CONFIG_APPELFLOADER_VFSEXEC=y | ||
CONFIG_APPELFLOADER_CUSTOMAPPNAME=y | ||
CONFIG_APPELFLOADER_VFSEXEC_EXECBIT=y | ||
|
||
# | ||
# System call implementations | ||
# | ||
CONFIG_APPELFLOADER_BRK=y | ||
CONFIG_APPELFLOADER_BRK_NBPAGES=512 | ||
CONFIG_APPELFLOADER_ARCH_PRCTL=y | ||
# end of System call implementations | ||
|
||
CONFIG_APPELFLOADER_STACK_NBPAGES=32 | ||
# end of Application Options | ||
|
||
CONFIG_UK_NAME="elfloader" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters