Works for me (tm)
Reviewed-by: Benoît Canet
2016-08-25 18:46 GMT+02:00 Nadav Har'El :
> This is a trivial hello-world Free Pascal application.
> It does't currently work because of missing syscall instruction support.
> https://github.com/cloudius-systems/osv/issues/590
> Hopefully it will begi
This is a trivial hello-world Free Pascal application.
It does't currently work because of missing syscall instruction support.
https://github.com/cloudius-systems/osv/issues/590
Hopefully it will begin working when OSv adds syscall instruction support.
Stack trace we get in fpc initialization fun
On Thu, Aug 25, 2016 at 1:07 PM, Benoit Canet <
benoit.canet.cont...@gmail.com> wrote:
> The commented one will require manual work.
>
> Signed-off-by: Benoît Canet
> ---
> linux.cc | 56
> syscalls.h | 141 ++
>
Hi Benoit (and Pekka), thanks. Here are some comments and questions:
--
Nadav Har'El
n...@scylladb.com
On Thu, Aug 25, 2016 at 1:07 PM, Benoit Canet <
benoit.canet.cont...@gmail.com> wrote:
> Enable "fast system calls" via the 'syscall' instruction on OSv. The
> instruction is used by Go progra
I just sent another RFC patch which should cause osv_execve to wait until
app_runtime() is the new application's.
I haven't really tested it much beyond the usual "make check" - can you
please try it out?
Thanks,
Nadav.
--
Nadav Har'El
n...@scylladb.com
On Wed, Aug 24, 2016 at 7:21 AM, Justin C
This patch makes osv_execve() wait a little bit longer before returning -
until the thread id it returns is only set, but also this thread has a new
app_runtime set.
I thought of at least a dozen ways to do this, each uglier than the next,
so I ended up with the solution which I considered least u
The commented one will require manual work.
Signed-off-by: Benoît Canet
---
linux.cc | 56
syscalls.h | 141 +
2 files changed, 180 insertions(+), 17 deletions(-)
create mode 100644 syscalls.h
diff --git a/
Enable "fast system calls" via the 'syscall' instruction on OSv. The
instruction is used by Go programs on Linux/x86-64 for system calls.
Signed-off-by: Pekka Enberg
Signed-off-by: Benoît Canet
---
arch/x64/arch-setup.cc | 12
arch/x64/entry.S | 20
arch/