search for: create_thread

Displaying 14 results from an estimated 14 matches for "create_thread".

2012 Nov 28
4
[minios] Add xenbus shutdown control support
...WN_crash; + wmb(); + do_shutdown = 1; + wmb(); + wake_up(&shutdown_queue); +} + + /* This should be overridden by the application we are linked against. */ __attribute__((weak)) int app_main(start_info_t *si) { @@ -126,6 +160,8 @@ /* Init XenBus */ init_xenbus(); + create_thread("shutdown", shutdown_thread, NULL); + /* Call (possibly overridden) app_main() */ app_main(&start_info); diff -r fdf241ea6ff4 extras/mini-os/test.c --- a/extras/mini-os/test.c Wed Nov 28 21:29:18 2012 +0100 +++ b/extras/mini-os/test.c Wed Nov 28 22:53:42 2012 +0100 @@ -46,...
2009 May 29
0
[PATCH 4/4] lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
...they've asked us to force one on empty. */ + if (!vq->dev->irq_on_empty || + lg_last_avail(vq) != vq->vring.avail->idx) { + (*vq->irq_suppressed)++; + return; + } } /* Send the Guest an interrupt tell them we used something up. */ @@ -925,6 +930,15 @@ static void create_thread(struct virtque close(vq->eventfd); } +static bool accepted_feature(struct device *dev, unsigned int bit) +{ + const u8 *features = get_feature_bits(dev) + dev->feature_len; + + if (dev->feature_len < bit / CHAR_BIT) + return false; + return features[bit / CHAR_BIT] & (1 <&l...
2009 Sep 21
0
[PATCH 5/5] lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
...e asked us to force one on empty. */ + if (!vq->dev->irq_on_empty + || lg_last_avail(vq) != vq->vring.avail->idx) + return; + } /* Send the Guest an interrupt tell them we used something up. */ if (write(lguest_fd, buf, sizeof(buf)) != 0) @@ -1043,6 +1049,15 @@ static void create_thread(struct virtque close(vq->eventfd); } +static bool accepted_feature(struct device *dev, unsigned int bit) +{ + const u8 *features = get_feature_bits(dev) + dev->feature_len; + + if (dev->feature_len < bit / CHAR_BIT) + return false; + return features[bit / CHAR_BIT] & (1 <&l...
2009 May 29
0
[PATCH 4/4] lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
...they've asked us to force one on empty. */ + if (!vq->dev->irq_on_empty || + lg_last_avail(vq) != vq->vring.avail->idx) { + (*vq->irq_suppressed)++; + return; + } } /* Send the Guest an interrupt tell them we used something up. */ @@ -925,6 +930,15 @@ static void create_thread(struct virtque close(vq->eventfd); } +static bool accepted_feature(struct device *dev, unsigned int bit) +{ + const u8 *features = get_feature_bits(dev) + dev->feature_len; + + if (dev->feature_len < bit / CHAR_BIT) + return false; + return features[bit / CHAR_BIT] & (1 <&l...
2009 Sep 21
0
[PATCH 5/5] lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
...e asked us to force one on empty. */ + if (!vq->dev->irq_on_empty + || lg_last_avail(vq) != vq->vring.avail->idx) + return; + } /* Send the Guest an interrupt tell them we used something up. */ if (write(lguest_fd, buf, sizeof(buf)) != 0) @@ -1043,6 +1049,15 @@ static void create_thread(struct virtque close(vq->eventfd); } +static bool accepted_feature(struct device *dev, unsigned int bit) +{ + const u8 *features = get_feature_bits(dev) + dev->feature_len; + + if (dev->feature_len < bit / CHAR_BIT) + return false; + return features[bit / CHAR_BIT] & (1 <&l...
2008 May 02
0
[PATCH] minios: end watch of FS backend state value
...done: /* The token will not be unique if multiple imports are inited */ xenbus_watch_path(XBT_NIL, r_nodename/*, token*/); xenbus_wait_for_value(/*token,*/ r_nodename, STATE_READY); + xenbus_unwatch_path(XBT_NIL, r_nodename); printk("Backend ready.\n"); //create_thread("fs-tester", test_fs_import, import); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2013 Apr 17
1
pthreads for mini-os ?
Is there any support for x86_64 pthreads for mini-OS ? Does the current newlib contains a functional implementation of pthreads ? -- Karim Allah Ahmed. LinkedIn <http://eg.linkedin.com/pub/karim-allah-ahmed/13/829/550/> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3: - mini-os configuration files moved into stubdom/ - mini-os extra console support now a config option - Fewer #ifdefs - grant table setup uses hypercall bounce - Xenstore stub domain syslog support re-enabled Changes from v2: - configuration support added to mini-os build system - add mini-os support for conditionally compiling frontends, xenbus -
2019 Apr 04
1
Proof of concept for GPU forwarding for Linux guest on Linux host.
Hi, This is a proof of concept of GPU forwarding for Linux guest on Linux host. I'd like to get comments and suggestions from community before I put more time on it. To summarize what it is: 1. It's a solution to bring GPU acceleration for Linux vm guest on Linux host. It could works with different GPU although the current proof of concept only works with Intel GPU. 2. The basic idea
2014 Nov 28
0
Wine release 1.7.32
...in StrStr functions. shlwapi: Fix invalid usage of CompareString in StrStr functions. server: Avoid leaking file descriptors if create_console_input fails. server: Avoid leaking file descriptor on error in create_file_for_fd. server: Avoid leaking file descriptor on error in create_thread function. user32/tests: Remove unnecessary char array and add additional test in test_FindWindowEx. user32/tests: Add tests for internal window messages of FindWindowEx. user32/tests: Reenable test function for WM_GETTEXT. user32/tests: Add single-threaded tests for WM_[GET|...
2006 May 11
11
[PATCH] Integrating applications into Mini-OS
...0 @@ #include <xen/features.h> #include <xen/version.h> +#if defined INIT_APP + void init_app(void); +#endif + /* * Shared page for communicating with the hypervisor. * Events flags go here, for example. @@ -171,6 +175,10 @@ /* Init XenBus from a separate thread */ create_thread("init_xs", init_xs, NULL); +#if defined INIT_APP + init_app(); +#endif + /* Everything initialised, start idle thread */ run_idle_thread(); } diff -ur oxen-unstable/extras/mini-os/lib/printf.c xen-unstable/extras/mini-os/lib/printf.c --- oxen-unstable/extras/mini-os/lib/pr...
2012 Nov 26
13
[PATCH 0 of 4] Minios improvements for app development
This patch series contains a set of patches making minios rather easier to use, from an application development point of view. Overview of patches: 1 Command line argument parsing support, from Xen. 2 Weak console handler function. 3 Build system tweaks for application directories. 4 Trailing whitespace cleanup. (because it is very messy) Patch 4 is likely to be more controversial than
2008 Feb 29
35
[RFC] PVFB: Add refresh period to XenStore parameters?
Hello, Sometimes the backend of PVFB knows that it doesn''t need permanent refresh, when the window is minimized for instance (no refresh at all), or the administration tools know that the window is thumnailed, and so a slow refresh rate is fine. Also, some users may want to tune the refresh rate according to the smoothness they would like, balanced with the CPU time that requires.
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...e = 0; + dcl->gui_timer_interval = buf[i].refresh_period.period; } default: /* ignore unknown events */ @@ -247,22 +225,19 @@ init_SEMAPHORE(&xs->kbd_sem, 0); xs->ds = ds; + xs->nonshared_vram = ds_get_data(ds); create_thread("kbdfront", kbdfront_thread, (void*) xs); - ds->data = xs->nonshared_vram = qemu_memalign(PAGE_SIZE, vga_ram_size); - memset(ds->data, 0, vga_ram_size); + dcl = qemu_mallocz(sizeof(DisplayChangeListener)); + if (!dcl) + exit(1); ds->opaque = xs; -...