Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Unikraft

We are developing Unikraft, a fast, secure and opensource unikernel SDK for extreme specialization.
Collective - Host: opensource - https://opencollective.com/unikraft - Website: https://t.co/W6HHOLeiUN - Code: https://github.com/unikraft/unikraft

lib/syscall_shim: Add extern "C" linkage directive

Add extern "C" linkage directive to use syscall shim functions in C++
source code.

Signed-off-b...

github.com/unikraft/unikraft - e40a88cdf400a999705432d07bc773919c587d3b authored about 4 years ago
build: Fix "Argument list too long" problem

For libraries with lots of object files, such as musl, `make clean` was
failing with "make: exec...

github.com/unikraft/unikraft - e86e44a43e0b13285bfc0a46b442997780156a8b authored about 4 years ago
build: Always use -no-pie as part of LIBLDFLAGS

-no-pie is not configurable for LIBLDFLAGS. It is always part of
LIBLDFLAGS, as -Wl,-r enforces ...

github.com/unikraft/unikraft - 749378c689123bcb8ef7c707a723c29f49f98dac authored about 4 years ago
build: Remove --omagic flag from LIBLDFLAGS

The --omagic flag is required for the final linking step, as part of
LDFLAGS.

Signed-off-by: Ra...

github.com/unikraft/unikraft - 11624ce1da68b4894180be8fbabc0ef491128a88 authored about 4 years ago
build: Use -fno-PIC instead of -no-pie as compilation flag

-no-pie is used as a linking option to disable PIE (Position Independent
Executable). -fno-PIC i...

github.com/unikraft/unikraft - 96ee9cca120261d0e237dd4442f45cbd3cf218fd authored about 4 years ago
lib/vfscore: Add preadv tracepoints

Signed-off-by: Alexander Jung <[email protected]>
Reviewed-by: Sergiu Moga <sergiu.moga@p...

github.com/unikraft/unikraft - 8aa3e9cb8b157d5d7fa7021cabea70750ba090a2 authored about 4 years ago
lib/vfscore: Change preadv and pwritev fd error handling.

This commit discards the `has_error` method in favour of in-line checks against
the file descrip...

github.com/unikraft/unikraft - d04d5f4a10884844275af00e6605d595e3453e26 authored about 4 years ago
lib/vfscore: Reduce pread() and pwrite() to their -v() counterparts.

This commit reorganizes the pread() and pwrite() method such that they rely on
preadv() and pwri...

github.com/unikraft/unikraft - 87219d9e629a0cd941b5a8ecca3fd75f4e2b9abc authored about 4 years ago
lib/vfscore: Re-order methods to be in identical order.

This commit simply moves the preadv method such that it is
in the same order sequence as the wri...

github.com/unikraft/unikraft - 7a061bbe4dbb070bd8619928675afb5d2376261b authored about 4 years ago
lib/vfscore: Fix possible memleak in getcwd

If path is null and the memory is allocated by us then if size < len
we exit the call without fr...

github.com/unikraft/unikraft - 5b1e3afaf51cdbe9517a3d4ab242e0c83828975c authored about 4 years ago
lib/uklibparam: Add missing return value check

We add a check for the return value of kernel_args_set.

Signed-off-by: Constantin Raducanu <rad...

github.com/unikraft/unikraft - 096d7f749ba1504c0868f20794f4d46b20489f6d authored about 4 years ago
plat/drivers/virtio: Add error check for return value

If virtio_config_get returns an error then tag_len does
not get initialized and the next calloc ...

github.com/unikraft/unikraft - 0a4ff36a55c3580f53e33e08d9051ed77eeaf3de authored about 4 years ago
lib/vfscore: Add missing error value

When mp->m_root is null we don't set an error. We solve
this by setting error equal to ENOMEM.

...

github.com/unikraft/unikraft - f545e7e2f4cd783c0430d32d38ebd04d7430aacc authored about 4 years ago
lib/vfscore: Fix bug where newdp is freed before initialization

When vp->v_type == VDIR we jump to out where newdp is freed
via the drele call but newdp has yet...

github.com/unikraft/unikraft - fe5feeb32756ac3143b7156c8df315fed7caae72 authored about 4 years ago
lib/vfscore: Register `flock` to syscall_shim

Registers `flock` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - a33a1b8a42bee4c53715e3dd052cbe13f84b707a authored about 4 years ago
lib/vfscore: Register `lstat` to syscall_shim

Registers `lstat` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - ed73c97970f00cf01947d59f2ddf02c746634928 authored about 4 years ago
lib/vfscore: Register `umask` to syscall_shim

Registers `umask` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - 34c27c6a8886e14d3ab367fe013bacdc70fb3a43 authored about 4 years ago
lib/vfscore: Register `preadv` to syscall_shim

Registers `preadv` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <rad...

github.com/unikraft/unikraft - 0f6685c81af6488ed77cea94d472e1a2efe39c97 authored about 4 years ago
lib/vfscore: Register `fsync` and `fdatasync` to syscall_shim

Registers `fsync` and `fdatasync` system calls to syscall_shim library.

Signed-off-by: Constant...

github.com/unikraft/unikraft - c721c5e6ba8fbbbf2ae8edc55b705256c6c27896 authored about 4 years ago
lib/vfscore: Register `rename` to syscall_shim

Registers `rename` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <rad...

github.com/unikraft/unikraft - 6dd9881f207ada86daed8a406904b10f614a24e7 authored about 4 years ago
lib/vfscore: Register `rmdir` to syscall_shim

Registers `rmdir` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - 0b4369462af8a9634236fd6735246103fb36bde0 authored about 4 years ago
lib/vfscore: Register `mknod` to syscall_shim

Registers `mknod` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - 999222ceec0056b34d1a0c37f11bd6dc5769e5b0 authored about 4 years ago
lib/vfscore: Register `utimes` to syscall_shim

Registers `utimes` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <rad...

github.com/unikraft/unikraft - 4de245b0010ccb8d1cbc0043dccbbe51cfcc568d authored about 4 years ago
lib/vfscore: Register `pwritev` to syscall_shim

Registers `pwritev` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <ra...

github.com/unikraft/unikraft - 14ab96550d1821f4b5ad9659965847565ce9c824 authored about 4 years ago
lib/vfscore: Register `dup2` to syscall_shim

Registers `dup2` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <raduc...

github.com/unikraft/unikraft - 51a16dbba7a3d711ff30d6885e0c28f3f157fe25 authored about 4 years ago
lib/vfscore: Register `dup3` to syscall_shim

Registers `dup3` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <raduc...

github.com/unikraft/unikraft - 2d574fdae2d6e37ff18f807a4cd81564a541653d authored about 4 years ago
lib/vfscore: Register `fchdir` to syscall_shim

Registers `fchdir` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <rad...

github.com/unikraft/unikraft - 78c946a5bbff26e62890d9b35c32bc2254b2ed1a authored about 4 years ago
lib/vfscore: Register `link` to syscall_shim

Registers `link` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <raduc...

github.com/unikraft/unikraft - 1650230318849fa1291cb72d95cbeefb386de585 authored about 4 years ago
lib/vfscore: Register `fchmod` to syscall_shim

Registers `fchmod` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <rad...

github.com/unikraft/unikraft - 126c0b614b84558f5524d8d5ce0a610774ceefec authored about 4 years ago
lib/vfscore: Register `chmod` to syscall_shim

Registers `chmod` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - f5c08e18a58ef5ff78b14ac55914e5116aea5c8e authored about 4 years ago
lib/vfscore: Register `chdir` to syscall_shim

Registers `chdir` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - c3689298bd5fa3db9224986ce7c970167cfe8d38 authored about 4 years ago
lib/vfscore: Register `fallocate` to syscall_shim

Registers `fallocate` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <...

github.com/unikraft/unikraft - 2366d8bd537712d6d08feee55937abf5b64c9620 authored about 4 years ago
lib/vfscore: Register `faccessat` to syscall_shim

Registers `faccessat` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <...

github.com/unikraft/unikraft - 399998fa811c3831cceabc2c9b06df8ee97cb0e1 authored about 4 years ago
lib/vfscore: Register `access` to syscall_shim

Registers `access` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <rad...

github.com/unikraft/unikraft - 8cee21298d956891b60de93b92146914ec20170f authored about 4 years ago
lib/vfscore: Register `truncate` to syscall_shim

Registers `truncate` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <r...

github.com/unikraft/unikraft - 97a1569a123c67944e69d4e426973fdf593870b9 authored about 4 years ago
lib/vfscore: Register `ftruncate` to syscall_shim

Registers `ftruncate` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <...

github.com/unikraft/unikraft - a504a0925e1728564f2012de2efe1132c644dd67 authored about 4 years ago
lib/vfscore: Register `lseek` to syscall_shim

Registers `lseek` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - 670a8110a4438d7efebbdbef7b5d1a6f873c636d authored about 4 years ago
lib/syscall_shim: Avoid warning about unused system call arguments

Some system call implementations may not use all arguments which causes
a compiler warning. This...

github.com/unikraft/unikraft - ea8af6bc237387c77d2a28fe119eda56e224d6cc authored about 4 years ago
lib/vfscore: Register `close` to syscall_shim

Registers `close` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <radu...

github.com/unikraft/unikraft - 62916390e733acddd0b73d72ae5427538e216cd6 authored about 4 years ago
plat/xen: Automatically enable blkfront, 9pfront

Automatically enables drivers in the configuration when according backend
libraries are enabled....

github.com/unikraft/unikraft - 7e8c54336ded402413a3499941986a3d3780acdf authored about 4 years ago
lib/ukboot: Provide option to initialize TLSF

Provides the option to initialize TLSF as allocator. The option is only made
available when `LIB...

github.com/unikraft/unikraft - b28d9ae1d33399a565ef8781970ed78e0683a486 authored about 4 years ago
plat/xen: x86: Maximum command line length from Xen headers

Instead of defining an own maximum size for the command line, in this
commit we use `MAX_GUEST_C...

github.com/unikraft/unikraft - cd496cb8aac9b9140987499cda3a3df98318ede0 authored about 4 years ago
lib/ukdebug: uk_asmdumpk(), uk_asmdumpn(): Stop decoding on errors

Checks for errors that may occur during instruction decoding with
libzydis.

Signed-off-by: Simo...

github.com/unikraft/unikraft - 395170360ce6fee03a33ccac2bcaab82ddcec9a5 authored about 4 years ago
lib/ukboot: ANSI-colored Unikraft banners

Provide two ANSI-colored versions (blue, gray) for each of the
"Powered by" banners.

Signed-off...

github.com/unikraft/unikraft - 3ed5b81c4eb56374a76b2021195703783b51ea23 authored about 4 years ago
lib/ukboot: Additional Unikraft banners

Adds additional Unikraft banners to choose from. The "Powered by" banners are
intended to be the...

github.com/unikraft/unikraft - 1e0b0f26ea1ead67ca7835db329ad5e067fb8822 authored about 4 years ago
lib/ukdebug: Option for colored output format

Colors! This commit makes use of ANSI control sequences to color console
output when activated b...

github.com/unikraft/unikraft - edd3a6f0bf1e8644f9af9f67238ab69c0c762014 authored about 4 years ago
lib/ukdebug: Option to hide source code locations from messages

Provides an option to hide the source code location of each ukdebug
message.

Signed-off-by: Sim...

github.com/unikraft/unikraft - 9f81fbac0d8d4e4c163d69369589a46e3fd94157 authored about 4 years ago
include: Provide ANSI control sequence helper

Provide ANSI control sequence helper macros with <uk/plat/console.h>. Those
helpers and definiti...

github.com/unikraft/unikraft - d6cdb2e64439f7b74495d2343be183f0e546f764 authored about 4 years ago
lib/posix-sysinfo: Fix limits.h header confusion

Use specific 'limits.h' file rather than '<limits.h>' which
may come from another library before...

github.com/unikraft/unikraft - f368d0478c1d8b2433a48c6190411707675f2011 authored over 4 years ago
plat/linuxu: Use PIC in entry64.S

Use RIP-relative addressing for position independent code (PIC).

Signed-off-by: Razvan Deacones...

github.com/unikraft/unikraft - 89d9008f7dd864f33d1e9b565b627525488c4666 authored over 4 years ago
plat/*: Use PIC in thread_start.S

Use RIP-relative addressing for position independent code (PIC).

Signed-off-by: Razvan Deacones...

github.com/unikraft/unikraft - 3dbd2d7492c7a3b574354a91d550a06f71f7b748 authored over 4 years ago
lib/uknetdev: netbuf: Metadata at the end of an allocation

Place the netbuf metadata (`struct netbuf`) at the end of an allocation.
This enables forwarding...

github.com/unikraft/unikraft - 3559d8748f957c0245fe945d4601f0048436efdb authored over 4 years ago
lib/uknetdev: `uk_netbuf_alloc_buf()`: Introduce alignment

The API function `uk_netbuf_alloc_buf()` gets an alignment parameter which
can be used to reques...

github.com/unikraft/unikraft - c11471575a3a614cb3bb6ce18cdc16bd03b60d21 authored over 4 years ago
lib/uknetdev: Introduce ioalign

Similar to lib/ukblkdev, we introduce a device info parameter (`struct
uk_netdev_info`) to query...

github.com/unikraft/unikraft - ad4ba1e9d3f5850c1c078535e1eaf67eae93d12a authored over 4 years ago
lib/uknetdev: netbuf: Store allocation base

In order to support flexible location of meta data (`struct uk_netbuf`) as
part of a correspondi...

github.com/unikraft/unikraft - 5aaf826ad31d3fc972773112739c40a16e791c63 authored over 4 years ago
lib/syscall_shim: Force evaluation order of syscall arguments

The file gen_uk_syscall.awk is used to generate the file uk_syscall.c.
The generated code calls ...

github.com/unikraft/unikraft - 9acbeacedc916afaafee1bf7220b17c5c86c4117 authored over 4 years ago
include: Include string.h in uk/bitmap.h

The string.h header was not included in uk/bitmap.h and was generating
compiler warnings for imp...

github.com/unikraft/unikraft - 5debb1d64e8c73ca32bcbaea9b93cfa9e6e070e3 authored over 4 years ago
plat/kvm: Support non-executable pages on x86

Setting this bit enables page table entries to have the NX bit set, to
have the ability to map p...

github.com/unikraft/unikraft - 855284cfb937c9fa6f1f8a3d3be5b31e99750e11 authored over 4 years ago
plat/drivers/virtio: Fill MTU and queues alignments when retrieving information

This patch sets the max MTU value when retrieving device information and the
alignments used whe...

github.com/unikraft/unikraft - a52168588f8a0bbd7e0c4e8a52cc1662e8cd93fe authored over 4 years ago
lib/uknetdev: UK_ETH_FRAME_8021AD_MAXLEN: Fix typo

This commit fixes a typo in the `UK_ETH_FRAME_8021AD_MAXLEN`
definition that causes also a compi...

github.com/unikraft/unikraft - a95eae90795ee00e43babe29990089edd413543a authored over 4 years ago
Update README.md

Update README.md, make it ready for GitHub ✨

Signed-off-by: Alexander Jung <alexander.jung@necl...

github.com/unikraft/unikraft - b611117f5ac8868b7e679e002092d39fd9d352a6 authored over 4 years ago
include: uk/page.h: Include arch instead of asm

This patch allows to use the uk/arch/limits.h instead of uk/asm/limits.h
since asm/limits.h cann...

github.com/unikraft/unikraft - 1c90c01eec614196222c6495ff13c638d2fa9a03 authored over 4 years ago
lib/uknetdev: Provide IEEE 802.1q, 802.1ad, Jumbo frame definitions

This commit includes support for IEEE 802.1q and IEEE 802.1ad tagged
frames to the recently intr...

github.com/unikraft/unikraft - d3666feadb38597b28958b172e438d57eeebb41b authored over 4 years ago
lib/uknetdev: netdev register fails on lib param

einfo returns error when the user does not provide the library
parameters.

Signed-off-by: Shara...

github.com/unikraft/unikraft - 01fa23496b732df6bc12fbd8c64d56144979b434 authored over 4 years ago
lib/uknetdev: Make Ethernet macros visible to all network devices

Both Ethernet header and payload sizes have the same values for all
network devices.

Signed-off...

github.com/unikraft/unikraft - 703acea6c719b7db1d6914298e17d85ce0e38f8c authored over 4 years ago
lib/uk9p, 9pfs: Change file mode from uint8_t to uint32_t

At least UK_9P_OEXCL(0x1000) is uint8_t overflowed. To avoid potential
file mode undesigned trun...

github.com/unikraft/unikraft - 3dc8dd368f8e6300b4d825221234c26574fc8fe8 authored over 4 years ago
plat/kvm/x86/tscclock: fix potentially uninitialized tsc_base

tsc_base might remain uninitialized if the TSC clock frequency is retrieved
from the hypervisor....

github.com/unikraft/unikraft - 632020e0221e5a160b8424a7f8205b00d7638a4e authored over 4 years ago
plat/kvm/x86/tscclock: start from zero

The starting point of our monotonic clock is currently the initial value
of the TSC, converted t...

github.com/unikraft/unikraft - dfa138ab0420499b825093372a603382551e8df6 authored over 4 years ago
lib/uksched: Add to error message for stack alloc failure.

The reason for failing to allocate the stack is caused by lack of
memory. This patch adds this i...

github.com/unikraft/unikraft - da180de0e05660efd719279c58be7f15a6cdae1f authored over 4 years ago
include: Move UK_NARGS into essentials.h

This macro counts the number of arguments passed into a macro and
is useful outside of the ukdeb...

github.com/unikraft/unikraft - b1c7ed16751eff4637dff339c81631534814dfcf authored over 4 years ago
lib/uksp: Introduce uksp library

This library provides the necessary functionalities for the stack
protector.

A make clean is re...

github.com/unikraft/unikraft - 831b3ba88ad4944299b4379f1c236a8f4ea4080a authored over 4 years ago
build: Add option to toggle the stack protection

This patch adds build option to select different stack protection
levels.

Signed-off-by: Vlad-A...

github.com/unikraft/unikraft - c960a128e8ba72f39cb0dc95c4b48de71ef7a44d authored over 4 years ago
lib/ukboot: Initialize the canary value at boot

We initialize the canary value right after all the internal libraries
have loaded.

Signed-off-b...

github.com/unikraft/unikraft - 6d34000a20c7ba0f6190433c862e1d7cab07495b authored over 4 years ago
lib/ukalloc: add ifmalloc compatibility interface

Add ifmalloc, the malloc compatibility interface. This interface
implements a POSIX compliant al...

github.com/unikraft/unikraft - ae40a2b7e308104cb554893e992e1f9069e0a77f authored over 4 years ago
lib/uknetdev: Get feature supported on uk_netdev

The uk_netdev_info provides a way to forward information on netdevice
to the network stack. We e...

github.com/unikraft/unikraft - c4ccb33ea2c002bca300b5d4db948e97bda714b4 authored over 4 years ago
lib/uknetdev: Save nw_stack data in a netdevice

We extend the uk_netdev to store network stack specific data into
uk_netdev. The size of the of ...

github.com/unikraft/unikraft - 095cefa15a40ccc2d115cf7277218ab8f2ea0cdc authored over 4 years ago
build: Enable secondary expansion

Enable second expansion of the make variables. The build variables
are expanded on execution of ...

github.com/unikraft/unikraft - e48f9653922679cb6ae230faa90c22f989a0bbbb authored over 4 years ago
lib/uknetdev: Get the ipaddr, gw_addr and subnet

The user of uknetdev can pass the ipaddr, gw_addr and subnet as a
library argument. The library ...

github.com/unikraft/unikraft - 763e4c6915ad39f4dcaa9d31cc37d6328b79a576 authored over 4 years ago
lib/uknetdev: Add ipaddr, netmask & gwaddr as arg

The patch adds ip address, netmask and the gateway address as library
argument. The parameters a...

github.com/unikraft/unikraft - 953151d593996de7e7c9214a5a5dbd309be6be32 authored over 4 years ago
lib/ukboot: initialize ukallocregion

Add menuconfig bindings to select a system-wide allocator.
Initialize the selected allocator in ...

github.com/unikraft/unikraft - ead765dbfdf72230c53524f73f010725a0d64f1e authored over 4 years ago
lib/ukallocregion: add region-based allocator

Add ukallocregion, a minimalist region-based allocator.

Note that deallocation is not supported...

github.com/unikraft/unikraft - 344989c70347d2f41e0277482bdfbb6a59091bd8 authored over 4 years ago
lib/nolibc: Provide _SC_OPEN_MAX with unistd.h

Populates _SC_OPEN_MAX with nolibc. lib/posix-sysinfo uses it with
commit f587ed23 "lib/vfscore:...

github.com/unikraft/unikraft - 4f160195813638c9eb880f847c3c4568472d41f3 authored over 4 years ago
include: uk/page.h: Provide __PAGE_SIZE

Provides __PAGE_SIZE with the uk/page.h header.

Signed-off-by: Simon Kuenzer <simon.kuenzer@nec...

github.com/unikraft/unikraft - 405398ebf848978d95806098a4153201be4d68f8 authored over 4 years ago
lib/ukalloc: make uk_alloc_get_default static inline

Every allocation done through the libc malloc wrapper triggers a function
call to uk_alloc_get_d...

github.com/unikraft/unikraft - d522fe5d16c2faf6c00d43012c0298bf74d92be2 authored over 4 years ago
lib/ukdebug: expose trace buffer size to the menuconfig

Signed-off-by: Hugo Lefeuvre <[email protected]>
Reviewed-by: Daniel Dinca <dincadaniel97@...

github.com/unikraft/unikraft - 81222153714be7c5542179cabc3df6515a64cd14 authored over 4 years ago
plat/*: pci_bus: implement recursive PCI bus enumeration

The PCI bus was previously enumerated in a brute-force manner, scanning
all device on all buses ...

github.com/unikraft/unikraft - ea8496f36ce51762cdf696a85a904e0f62484fec authored over 4 years ago
lib/syscall_shim: Enable UK_LIBC_SYSCALLS when library is unselected

Always enables UK_LIBC_SYSCALLS as soon as syscall_shim is
disabled. This enables all libc-style...

github.com/unikraft/unikraft - 079aacd8199d871c00b459a81c7979366a2d134f authored over 4 years ago
lib/syscall_shim: Add option to enable debugging

Adds an option to enable debug messages for the syscall_shim library only.

Signed-off-by: Simon...

github.com/unikraft/unikraft - 40772f7f15d05a7821035987adebb61d229f1d1e authored over 4 years ago
lib/syscall_shim: Provide 'print-syscalls' build target

Provides 'print-syscalls' target that lists currently activated
system calls.

Signed-off-by: Si...

github.com/unikraft/unikraft - bc587c8e28f4a451a81a0158c962a325131ad709 authored over 4 years ago
lib/syscall_shim: Include processing of $(UK_PROVIDED_SYSCALLS)

Equivalent to the Unikraft build variables scheme we include
$(UK_PROVIDED_SYSCALLS) as another ...

github.com/unikraft/unikraft - 822cfc63154e1735d672600f05d8fafe38194821 authored over 4 years ago
lib/syscall_shim: Provide `uk_syscall6()`, `uk_syscall6_r()`

`uk_syscall6()` and `uk_syscall6_r()` are a variant of `uk_syscall()` and
`uk_syscall_r()` that ...

github.com/unikraft/unikraft - 78be4ea5e820a627e4c7933bb288f511472a0405 authored over 4 years ago
lib/syscall_shim: handler: Take only required number of arguments

Improves the `uk_syscall()`, `uk_syscall_r()`, `uk_vsyscall()`, and
`uk_vsyscall_r()` implement...

github.com/unikraft/unikraft - 4681179ac6b046fe7da5a7c428c5848fe7b13346 authored over 4 years ago
lib/syscall_shim: Provide `uk_syscall_r_fn()`

`uk_syscall_r_fn()` returns a the raw system call handler as function
pointer for a given system...

github.com/unikraft/unikraft - 463bb740659b2d68aacb8a506172c6eef4727598 authored over 4 years ago
lib/syscall_shim: Support system calls without arguments

The macros `UK_SYSCALL_DEFINE()`, `UK_SYSCALL_R_DEFINE()`,
`UK_LLSYSCALL_DEFINE()`, and `UK_LLSY...

github.com/unikraft/unikraft - 002b84013d448e323ed93fc015590aa79bcc1278 authored over 4 years ago
driver/virtio: fix virtqueue_vring allocation

virtqueue_create() allocates virtqueue_vring structures dynamically, but
the amount of memory re...

github.com/unikraft/unikraft - e013b06418c82d63f788e35e32a1b360422047ca authored over 4 years ago
lib/ukring: Register ukring with Unikraft

This commit registers the ring buffer implementation micro-library
with Unikraft by including it...

github.com/unikraft/unikraft - 56c725ca4738f17b1d930e32b48ea0f732125bea authored over 4 years ago
lib/ukring: Re-prefix methods and structs from buf_ to uk_

Signed-off-by: Alexander Jung <[email protected]>
Reviewed-by: Costin Lupu <costin.lupu@c...

github.com/unikraft/unikraft - 7f212b4df81d54fca4b647e09f2c52082875f707 authored over 4 years ago
lib/ukring: Adapt {ring.c, ring.h} to Unikraft

This includes Unikraft-centric headers and types.

Signed-off-by: Alexander Jung <alexander.jung...

github.com/unikraft/unikraft - c064e0c206f82670c75673a61dc331d699731b4e authored over 4 years ago
lib/ukring: Fix formatting issues {ring.c, ring.h}

This commit addresses issues found using checkpatch:

* return is not a function, parentheses ar...

github.com/unikraft/unikraft - c9d337e72247caf8af93770ef05542c13d12b2ef authored over 4 years ago
lib/ukring: Import ring buffer from FreeBSD

Copied as it is from the official FreeBSD git mirror.

Commit: c45cce178ce658f81901a45c741b7f3c4...

github.com/unikraft/unikraft - 1a578e953dc32a13dd13dc86c07317819c5bc951 authored over 4 years ago