Ecosyste.ms: OpenCollective

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

github.com/unikraft/unikraft

A next-generation cloud native kernel designed to unlock best-in-class performance, security primitives and efficiency savings.
https://github.com/unikraft/unikraft

doc/*: Update directory structure in documentation

As noted in https://wiki.xenproject.org/wiki/Unikraft_Incubation_Project_Proposal,
the project i...

277f413a34143932ad1bfd4890e12eeb99886de5 authored almost 6 years ago by Juan Picca <[email protected]>
lib/uklock: Disable debug logging for semaphores

When debug logging is enabled, semaphores messages logging can get
very aggressive and flood the...

ad55179c66fdf0e1321fb12cf13271a4dd7ab22e authored almost 6 years ago by Costin Lupu <[email protected]>
lib/uklock: Use timeout equal to 0 for trying down a semaphore

Until now, timeout equal to 0 meant waiting until the semaphore counter
would have got greater t...

a48d634f6bbff89953fc6878643eff2c2d2c0fbd authored almost 6 years ago by Costin Lupu <[email protected]>
lib/nolibc: Implement clock_gettime()

Signed-off-by: Florian Schmidt <[email protected]>
Reviewed-by: Felipe Huici <felipe.hui...

d2faa544adc363ffbe6ec1c1dec4969183468d54 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/xen: Dummy implementation of ukplat_wall_clock() for arm32

Signed-off-by: Florian Schmidt <[email protected]>
Reviewed-by: Felipe Huici <felipe.hui...

640d57df0c4f27f6167f8f07d964d8b443b4b2f5 authored almost 6 years ago by Florian Schmidt <[email protected]>
lib/nolibc: Implement gettimeofday()

Signed-off-by: Florian Schmidt <[email protected]>
Reviewed-by: Felipe Huici <felipe.hui...

dda7952017bbc1ce813bdc0fd9bb275185e6671c authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/xen: Implement ukplat_wall_clock() for x86

Signed-off-by: Florian Schmidt <[email protected]>
Reviewed-by: Felipe Huici <felipe.hui...

40efb7d5feb0617946acc7d616fface3bbd3638a authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/linuxu: Implement ukplat_wall_clock()

Signed-off-by: Florian Schmidt <[email protected]>
Reviewed-by: Felipe Huici <felipe.hui...

c9f0fa80dd2b3f04351a8d1f222b731d44cad9d5 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/kvm: Rename ukplat_clock_wall() to ukplat_wall_clock()

This naming follows the naming of ukplat_monotonic_clock().

Signed-off-by: Florian Schmidt <flo...

13d4ae9af291ddf3451cca2041eae63ebd35bd62 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat: Add declaration of ukplat_wall_clock() to time.h

Signed-off-by: Florian Schmidt <[email protected]>
Reviewed-by: Felipe Huici <felipe.hui...

bc8be3dba59c0899f17c6cf2214cf634af297427 authored almost 6 years ago by Florian Schmidt <[email protected]>
Release: 0.3.1 Iapetus

Release: 0.3.1 Iapetus

Signed-off-by: Florian Schmidt <[email protected]>
Signed-off-by...

94e6454ede6bf4acc047474f73fe0de2a80a3696 authored almost 6 years ago by Florian Schmidt <[email protected]>
build: properly separate UK_EXTRAVERSION in version string

Signed-off-by: Florian Schmidt <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kue...

a3d1c3c69350705e73141ce00a7868a5b1760667 authored almost 6 years ago by Florian Schmidt <[email protected]>
lib/nolibc: add definition for pid_t

Some headers already defined __NEED_pid_t, but the actual definition in
shareddefs.h didn't make...

1724a4937435d2e519e17683f25f8699e9c1e9d0 authored almost 6 years ago by Florian Schmidt <[email protected]>
lib/vfscore: fix conflicts with newlib

Consists of multiple tiny fixes:
- syscalls.c: include dirent.h after unistd.h, because it req...

1830f6a6b6499adbb0a7de89030a739a4e27188d authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: mark stdio as a character device

Newlib implements printf via writing to stdout. I does a couple of
checks before writing into th...

05e302c727b87f2252c6c7846a67f29729fc815d authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: tabify fs.h

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Florian Schmidt <florian.sch...

84264b1dada5f204d8d82e6a27fd8572989dca4a authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: prefix defines conflicting with Newlib

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Florian Schmidt <florian.sch...

390cc3e7321454233253e7416fc00626c13ce212 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: fix checkpatch issues for uio.h and statfs.h

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Florian Schmidt <florian.sch...

22e226bc3b86626cf8e4aa988b93d25770ab6dc7 authored almost 6 years ago by Yuri Volchkov <[email protected]>
plat/kvm: Invalidate D-Cache that may have been modified for Arm64

DTB, TEXT and RODATA would not be modified while booting, so we just
need to invalidate and clea...

4e44ac08fa7f68df4cc683fc312956454adbe74c authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: arm64: Calculate pagetable size dynamically by image size

The previous L3 page table size is a fixed value based on the
assumption that, image size will n...

941406903ea381f4e719461c93f6f65db3e3f9fa authored almost 6 years ago by Wei Chen <[email protected]>
plat/common: Clean and invalidate D-Cache only when boot for Arm64

The boot code will not rewrite itself, and we don't have any relocation
operation for code area....

de9369fee79f487eb0b9af7d4aff2eb430077eab authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: arm64: Clear pagetable memory with boot stack

The pagetable memory and boot stack are contiguous, so we can
clear these two areas at the same ...

202ab37c69ae2ac9a42086667b36c4b7f5b30b41 authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: arm64: Support build L3 table for large image size

We have updated the L3 table build function to support large memory
range. In this case, we can ...

b2572e4a302542bb0be20be94c0ea0a126a1eceb authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: arm64: Remove needless semicolons in assembly

Some semicolons are needless in assembly source code. So we remove
them from code.

Signed-off-b...

03ae0079d6ea7f2ab428521c334079f489f4ad87 authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: arm64: Ensure there is no stall data in cache when boot

We will disable MMU and CACHE before pagetable is ready. This
means we will change memory with c...

143bcddb6c38d777b488c02e08c47a4a5f556078 authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: Force align the stack pointer for Arm64 EL1 exceptions

If we enable the SCTLR_ELx.SA, Arm64 stack pointer must be aligned to
16-byte before being used ...

520e697de05ab82301345e05d84db0ccee5a1b43 authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: arm64: Remove superfluous blank line

There is superfluous blank line before _dtb_get_cmdline,
we remove it in passing.

Signed-off-by...

2b227afcc541f5e4839306b24b227d5bcce2d81b authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: arm64: Build L3 page table for range greater than 2MB

Current L3 table build function only supports to build L3 table for
memory range not exceeded th...

28e6a26721c3cb4acbe63120c892fd8fcc196576 authored almost 6 years ago by Wei Chen <[email protected]>
arch/include: Add a _regs member to save origial stack pointer

There is a issue about stack alignment check in url[1]. There
might be case where the stack poin...

1159707c3b9980b935937803abe50c793a768a1d authored almost 6 years ago by Wei Chen <[email protected]>
plat/common: Use correct dsb operation flag for Arm64

Before MMU turn on, the DSB operation only need to apply out
to the point of unification.

Signe...

6c7d42e5a93fa96f3b47ba6470e3b84d2236b3bb authored almost 6 years ago by Wei Chen <[email protected]>
plat/common: Move global variables defined in link scripts to a header

The global variables defined in link scripts like _text, _etext and _end
are declared in multipl...

b329b5143b2d8b2fb5ec7a43058adcd381399751 authored almost 6 years ago by Wei Chen <[email protected]>
plat/include: Use macro-ed helper to simplify ioreg_read/write for Arm64

As discussed in mailing list [1], we can use macro-ed helpers to avoid
having to write 4 times o...

06dcc260a06857e27baf55f99c9f6c53c3fced49 authored almost 6 years ago by Wei Chen <[email protected]>
plat/common: Add referred source code URL for cache operation

We'd better to mention where our code comes from, this helps to
check whether code has been upda...

747122c2e78bcdbf32a6eb3b66a357099e221182 authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: Get VIRT_BITS from id_aa64mmfr0_el1.PARange for Arm64

As we use VA == PA mapping, so the VIRT_BITS must be the same as
PA_BITS. We can get PA_BITS fro...

21658bafebb78612e099cd0a2125951ecb7d3a61 authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: Correct invalid indent character for Arm64

Using tab to replace spaces for the indent before ukplat_entry_argp.

Signed-off-by: Wei Chen <w...

2ffcf526eccf0a0d742a40a1d9ef6dbc45cfcec2 authored almost 6 years ago by Wei Chen <[email protected]>
build: Remove the check of '--enable-default-pie' in Makefile.uk

As discussed in mailing list [1], the check for '--enable-default-pie'
is unnecessary, because G...

cc944d511f3394dd8032382bea04542b1826bc0b authored almost 6 years ago by Wei Chen <[email protected]>
plat/common: Remove earlycloberr from SYSREG_READ32 for Arm64

As the operand will not be written before the instruction has finished.
So, we don't need the ea...

632c26dbce28c3bc1bbb495d61f111a10c37770d authored almost 6 years ago by Wei Chen <[email protected]>
plat: Clean up kernel image symbols

There is a potential undefined behaviour for pointer comparision.
How to avoid this gcc optimiza...

a554f82f3a036c6dc6eb9bafd7d7861ec4ae72a3 authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: Rename pagetable.S to pagetable64.S for Arm64

This file is for Arm64 only, so we rename it to pagetable64.S.

Signed-off-by: Wei Chen <wei.che...

eddefb9fc7614168ecc6e7d1d2e21d4b7322db2d authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: Remove redundant space while entering trap for Arm

Remove redundant space while entering trap.

Signed-off-by: Wei Chen <[email protected]>
Signed-o...

ee47fdacd68f85d7ae8bc184abcab6fff3f123d1 authored almost 6 years ago by Wei Chen <[email protected]>
plat/kvm: Add __TRAP_STACK_SIZE for stack pointer while exiting trap

We have subtract the __TRAP_STACK_SIZE from sp while entering the tarp,
but while exiting the tr...

b880a99d77dd2fdf49dc276025a8edef85ce3055 authored almost 6 years ago by Wei Chen <[email protected]>
support/build: Add support for the tar.xz and .txz format

This patch adds the .txz and tar.xz formats into the build system.
This is needed for the C++ li...

82233299b3d658161305c31da7094d91185e2552 authored almost 6 years ago by Vlad Badoiu <[email protected]>
Release: 0.3 Iapetus

Release: 0.3 Iapetus

Signed-off-by: Simon Kuenzer <[email protected]>
Signed-off-by: Shar...

0d8fe73efba35506fa4ae3f2eb15481b1aaa3118 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/vfscore: fix memory leak at sys_write

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

e6afa23e8f9711586cfcbb15538afa7beea76e27 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/ramfs: fix debug printouts

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

229c2fb056d9ca5919a313d726f86ff6ce56d3e6 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/ramfs: update license header for imported files

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

2c70e2c250b5f7602d83bd369a21ab9bb098c499 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/ramfs: fix style issues

The non-negative return codes types of check-patch complains are
ignored for now, because this w...

79cad478d71f2d6dd37c745f997ebb5294de6b75 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/ramfs: adapt imported ramfs to Unikraft

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

d79b589ea2dbf9bc597e9f2a1987f2634a9a700f authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/ramfs: tabify imported ramfs code

To comply with Unikraft coding style, indents must be tabs, not
spaces. Imported code was a mixt...

4ce03e1df9055f8f4bcc921e61fb713e4b41beca authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/ramfs: initial import from OSv

git tag: v0.52.0
commit: 00299190414e4c7c5b0f2d74cd11763dac34e5b9

Signed-off-by: Yuri Volchkov ...

83fee282a19fa3c7fb1f376cc8ea1138c9e19ff2 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: Introduce `vfscore_put_file`

As counterpart to `vfscore_get_file`, we export `vfscore_put_file`
as a way to release the refco...

b1b69f30fbcfe9d63038e65fb1aacb6f0a65ef95 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/nolibc: Provide stdbool.h

Introduce a minimal `stdbool.h` header that provides definitions
of `bool`, `true`, and `false`....

a4aec59e2d2a006ff72dfd704dcc29609a7fa66c authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/vfscore: remove sys prefix from vfs api functions

Fucntions sys(mount|umount|umount2|sync) are complete function
calls. User applications should u...

db11d2369fa646490924c60b8ec4bfbae98ecef4 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: prefix exported functions

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

12dcc39769412dd4a15205262747320870a4168e authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: re-implement stdio and enable new code

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

e47023b0ebf18a57dfbe1a253558556f24ce3dc7 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc: add prototypes for functions from vfscore

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

69b8e5d5ceede8dadb1583a798f7da2d7abbc284 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: add utility funcs&defs to support imported

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

d80fa69c4da819bcc3e74044ac1ecaa805d462ad authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: add necessary internal prototypes

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

7a3ba4f8c3cadef5f4bf913e6825fd2ba1d67e4c authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: fix compiler complains

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

5174154f07b95b5c15533c4868da94512871be87 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: add main constructor

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

7069a836b374c2a547eea69fba5ef4a1c15c4aa8 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: introduce fget, fdrop, fdalloc

These functions are used in the imported code, which is not enabled
yet. This required to expand...

c0bbac59aaf99cfd4095e075e6fbc211a2baddee authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: remove _KERNEL ifdefs

All this code is running in kernel

Signed-off-by: Yuri Volchkov <[email protected]>
Revie...

e6521779e2ce5c09c55dc5775e035a29955e1d34 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: introduce fdclose

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

1e9a33ba586a16911b2903bf87c34f227cffb60d authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: use Unikraft types and functions

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

e1e18e9d2c804744e5c37a7a11579fa041c786e4 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: introduce UK_FS_REGISTER

The macro registers the filesystem in the static array

Signed-off-by: Yuri Volchkov <yuri.volch...

971555512940ee1e566398fa3400665aa6bc9741 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: add necessary field in vfscore_file

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...

2fdde04f3e38356fcc2f5b843bab44c455bbaaee authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk: introduce __weak_alias macro

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

ca47fc51aef9ca0d8c75648e0b5d91df8665f4c0 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc: adapt mount.h to Unikraft

Style problems and proper includes

Signed-off-by: Yuri Volchkov <[email protected]>
Revie...

b12043da4c7d18095e1ab0486cb8274292983489 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc: import mount.h

tag: v1.1.20
commit: 0fa1e638e87cf257e9f96b4019b2076afd674a19

Signed-off-by: Yuri Volchkov <yur...

baa066af676ff3754191b668ae542b5381c52588 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: Initial import of OSv vfs

The code is imported as is.

Commit f1f42915a33bebe120e70af1f32c1a4d92bac780

Signed-off-by: Yur...

54e65bbb61ba8123682aac59dd3f14384c41ed6b authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: use Unikraft includes

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

b84b3da24a7ce540ba39470be5c7bd35a06f751a authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: tabify imported vfs code

To comply with Unikraft coding style, indents must be tabs, not
spaces. Imported code was a mixt...

3dfa00cb5f0423c3d6a42b236ce5770e4f8d68dd authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: update license header for imported files

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

00b652b414c62b81a9e30bd355b0403e95ebf56c authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/vfscore: remove obvious c++isms and irrelevant code

Some c++isms are keep because bigger pieces needed to be redone around
them.

Some code is just ...

c45e7b74d5849f49341eeb6e1156593721ea61fe authored almost 6 years ago by Yuri Volchkov <[email protected]>
plat/linuxu: Acknowledge all interrupts on controller

Like on plat/kvm, we acknowledge interrupts even in the
case when there was no handler for it. W...

762bc346325d1536ee80268289a5560b1cd63c77 authored almost 6 years ago by Simon Kuenzer <[email protected]>
plat/kvm: Acknowledge all interrupts

Acknowledge interrupts even in the case when there was no
handler for it. We do this to (1) comp...

0b3ea2007cf3ad892dc4dd46023c4f6156f3a5c9 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/ukdebug: Align hexdump with print system

With the recent update of the print system, the hexdump functionality
was not adopted. This made...

739b363dc95bb705b442ee884d23c962215d9f05 authored almost 6 years ago by Simon Kuenzer <[email protected]>
plat/xen: Arm32, x86_64: Unify linker scripts

Unify linker scripts of both architectures of the Xen platform.
For simplicity, the layout and l...

ff9b3596b1a81012450f18a302961e6a5a85c2c4 authored almost 6 years ago by Simon Kuenzer <[email protected]>
plat/xen: arm: Initialize the bss section to 0

Clear the bss section during boot so that it is initialized with 0.
Additonally, we make sure wi...

113bcd7a0cad8a02f8dbde70ec8584cec4affbee authored almost 6 years ago by Dafna Hirschfeld <[email protected]>
plat/xen: CPU definition for Arm32

Introduce minimal CPU definitons to enable compiling for Arm32.
This commits also removes x86 sp...

219c2021f6fb9c37f8898ab743f0ebd164fd81f5 authored almost 6 years ago by Simon Kuenzer <[email protected]>
plat/xen: Split emergency and hypervisor console

Splits the two console implemetations (hvc, emergency) from each other.
Similar to plat/kvm, a c...

feb2805216bfc3645b12fe0d27aeeed52ad81489 authored almost 6 years ago by Simon Kuenzer <[email protected]>
plat/xen: Grant table support as menu option

Introduces a menu option to enable or disable grant table support.
The reason is that our grant ...

d0878863fc3e9697963c459b9adc0790705ff7e9 authored almost 6 years ago by Simon Kuenzer <[email protected]>
build: Add HAVE_NW_STACK feature symbol

Provide HAVE_NW_STACK feature symbol in lib/Config.uk.
When liblwip is used, it is set.

Signed-...

3cc2c729aa635a7df2003eb4cd3a0b9683f838f0 authored almost 6 years ago by Simon Kuenzer <[email protected]>
build: Notice user when to do `make clean`

The little helper script `configupdate` did not detect any config changes
with `.config` anymore...

d02e26feb65b45b223493028cef534d5c92a5c6a authored almost 6 years ago by Simon Kuenzer <[email protected]>
plat/common: Add cpu.h for Arm32

Adds a minimal cpu.h for Arm32 so that linux user space
can be built again.

Signed-off-by: Simo...

06cb4527f392d33130dd805f37e9a0db95bc34f1 authored almost 6 years ago by Simon Kuenzer <[email protected]>
arch/arm: Correct source paths in libarmmath

The source files of libarmmath were moved to a subdirectory
without modifiying the corresponding...

462e8bd917b33e8664461887b57cde125081cd70 authored almost 6 years ago by Dafna Hirschfeld <[email protected]>
lib/ukboot: include uk/essentials.h in weak_main

In case of compiling with newlib enabled, essentials.h is not getting
included. Because of that,...

120b2ee78cfb0998290f5b4b538cd6e8f3b60f6e authored almost 6 years ago by Yuri Volchkov <[email protected]>
plat/kvm: Disconnect console options from ukdebug

Like on the other platforms, the console options for debugging
messages should not be hidden whe...

3b24c7bca714558819ad61c0635e5b89c80bced0 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/ukboot: move weak main in separate sub-lib

Link Time Optimization does not work well with incremental linking (ld
-r), which is heavily use...

45475bfa52aa9fbfea264318985e33303d10296e authored almost 6 years ago by Yuri Volchkov <[email protected]>
build: limit gcc version to 6.1 if LTO is enabled

Unikraft is using incremental linking, which is not supported by lto
in gcc earlier then 6.1.

S...

e111fbbc7f4c374acdfb23b29d032d0d30769725 authored almost 6 years ago by Yuri Volchkov <[email protected]>
build: mark LTO as experimental

Currently LTO during incremental linking is not supported well enough
by gcc.

Signed-off-by: Yu...

b874a5db550e19319af9c2316a97b8efcd1fdf64 authored almost 6 years ago by Yuri Volchkov <[email protected]>
support: don't throw error message when not in a git repo

The gitsha1 script is used to create a version string for unikraft that
includes the git hash. H...

0a8ee83071e70151466389fb0725ec27195393f5 authored almost 6 years ago by Florian Schmidt <[email protected]>
build: `print-vars` target is a `null_targets`

Include the `print-vars` target to the `null_targets` variable. This
is done for consistency.

S...

aca388f7da622f90bf158866ecba5ddc2bc457fb authored almost 6 years ago by Simon Kuenzer <[email protected]>
build: `print-libs`, `print-objs`, `print-srcs` depend on `.config`

As soon as no configuration `.config` is available, the Make targets
`print-libs`, `print-objs`,...

45824f51003be8abfa3a1196d0a17c2be6450bc3 authored almost 6 years ago by Simon Kuenzer <[email protected]>
build: `distclean`, `properclean` independent of `.config`

Until now, the targets `distclean` and `properclean` were not
available if `.config` file is not...

d0cbdb67e4c45dfd5659546478edccaf06ce8239 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/nolibc/string: import strlcpy and strlcat from musl

git tag v1.1.20
commit <0fa1e638e87cf257e9f96b4019b2076afd674a19>

Signed-off-by: Yuri Volchkov ...

acf4dab9b19032cd18954caeafbca2b8bd09e1de authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc/string: fix underflow in strnlen

The memchr return NULL if it did not find '\0' character. The strnlen
did not take this into acc...

00b9a93a92c80367cfc1ae6c2ae1ca3acc5d4d55 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc/string: fix checkpatch issues in strlcpy and strlcat

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

aff114c032d753deef2248eaab1053ca3b1a005d authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/ukdebug: Fix spelling in configuration menu

The help text of LIBUKDEBUG_PRINTK was speaking about debug messages
although the option configu...

761004d62efaef8ca355b9e77b611e6840d3ce73 authored almost 6 years ago by Simon Kuenzer <[email protected]>
include/uk: introduce ukarch_dec

This is a function symmetric to ukarch_inc, which we already have. The
ukarch_dec does atomic de...

d7c8daa1d82ee4804482dc9cd2f6ce68e499c74a authored almost 6 years ago by Yuri Volchkov <[email protected]>