search for: register_callback

Displaying 7 results from an estimated 7 matches for "register_callback".

2010 Apr 27
4
Patch sensible callback framework
...+#define CB_FLOADFILE 2 + + +typedef struct callback_record { + uint16_t type; + void *function; + struct callback_record *next; +} callback_record; + +typedef void (*cb_loadfile_t)(const char* file, size_t cur, size_t total); +typedef void (*cb_floadfile_t)(size_t cur, size_t total); + + +int register_callback(uint16_t type, void *callback); +int unregister_callback(uint16_t type, void *callback); + +callback_record* foreach_callback(callback_record *current); +callback_record* foreach_callback_type(callback_record *current, uint16_t type); + +#endif diff -uprN syslinux-3.86-vanilla/com32/lib/Makefile sy...
2011 May 04
0
[PATCH 4/8] arch/x86/xen/setup: Cleanup code/data sections definitions
...tart, xen_extra_mem_size; */ #define EXTRA_MEM_RATIO (10) -static __init void xen_add_extra_mem(unsigned long pages) +static void __init xen_add_extra_mem(unsigned long pages) { unsigned long pfn; @@ -336,7 +336,7 @@ static void __init fiddle_vdso(void) #endif } -static __cpuinit int register_callback(unsigned type, const void *func) +static int __cpuinit register_callback(unsigned type, const void *func) { struct callback_register callback = { .type = type, -- 1.5.6.5 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensou...
2010 Apr 23
1
Path simple menu integrated progress indicator
This patch modifies the simple menu com32 program to include integrated load progress. It also adds new options to the simple menu configuration MENU LOADMSG -- allows the user to specify the text to display when loading MENU LOADMSGROW -- controls where the text is written Example configuration: MENU LOADMSG Booting MENU LOADMSGROW 25 It works with my setup, please let me know if you find
2016 Jan 19
8
[3.8 Release] RC1 has been tagged
(cc'ing non-legacy llvm-dev this time; apologies if you get this twice. Please don't reply-all to the first one.) On Tue, Jan 19, 2016 at 3:47 PM, Hans Wennborg <hans at chromium.org> wrote: > Dear testers, > > Start your engines; 3.8.0-rc1 was just tagged from the 3.8 branch at > r258223. (It took a little longer than I'd planned, sorry about that.) > > There
2016 Jan 20
2
[3.8 Release] RC1 has been tagged
...output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp > libc++ :: std/input.output/iostream.format/ext.manip/get_time.pass.cpp > libc++ :: std/input.output/iostream.format/ext.manip/put_time.pass.cpp > libc++ :: std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp > libc++ :: std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp > libc++ :: std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp > libc++ :: std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp > libc++ :: std/i...
2008 Nov 13
69
[PATCH 00 of 38] xen: add more Xen dom0 support
Hi Ingo, Here''s the chunk of patches to add Xen Dom0 support (it''s probably worth creating a new xen/dom0 topic branch for it). A dom0 Xen domain is basically the same as a normal domU domain, but it has extra privileges to directly access hardware. There are two issues to deal with: - translating to and from the domain''s pseudo-physical addresses and real machine
2013 Mar 25
86
[PATCH 00/28] libxl: ocaml: improve the bindings
The following series of patches fill in most of the gaps in the OCaml bindings to libxl, to make them useful for clients such as xapi/xenopsd (from XCP). There are a number of bugfixes to the existing bindings as well. I have an experimental version of xenopsd that successfully uses the new bindings. An earlier version of the first half of the series was submitted to the last by Ian Campbell on