Displaying 12 results from an estimated 12 matches for "init_func".
2007 Jun 23
0
[1060] trunk/wxruby2/swig/fixevents.rb: Include some previously missing events, rehash and simplify
...p;nbsp        out.puts "#endif //__WXMSW__" if windows
-
-        end
-
-        out.puts <<INIT_FUNC
</del><ins>+ # Then we loop over the events and register the ruby method for each
+ out.puts <<INIT_FUNC
</ins><span class="cx"> extern "C" {
</span><span class="cx"> void Init_wxEvents2()
</span><span class="cx...
2016 May 26
0
Runtime interception: design problem
> On May 25, 2016, at 6:05 AM, Pierre Gagelin via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi everyone,
>
> I am having troubles but this shouldn't be hard to solve for many people here. I am beginning a runtime feature for the BoundsChecking pass and I want to replace the libc malloc&free. I followed the design of AddressSanitizer (Asan) and tried to use the
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
ldlinux: Initialise 'p' before using it.
ldlinux: Parse
2016 May 25
4
Runtime interception: design problem
Hi everyone,
I am having troubles but this shouldn't be hard to solve for many people
here. I am beginning a runtime feature for the BoundsChecking pass and I
want to replace the libc malloc&free. I followed the design of
AddressSanitizer (Asan) and tried to use the INTERCEPTOR macro from the
interception.h file of compiler-rt library.
Here is the problem. The file I modify
2019 Oct 09
0
[PATCH] drm/nouveau/falcon: make unexported objects static
...ueue_acr_func
msgqueue_0148cdec_acr_func = {
.boot_falcon = acr_boot_falcon,
};
@@ -237,7 +237,7 @@ msgqueue_0148cdec_dtor(struct nvkm_msgqueue *queue)
kfree(msgqueue_0148cdec(queue));
}
-const struct nvkm_msgqueue_func
+static const struct nvkm_msgqueue_func
msgqueue_0148cdec_func = {
.init_func = &msgqueue_0148cdec_init_func,
.acr_func = &msgqueue_0148cdec_acr_func,
--
2.23.0
2015 Feb 10
3
[PATCH 0/2] fix a couple cosmetic issues
Fixes some typos and missing newlines
Jonathan Boeing (2):
fix a few typos
add missing '\n' to dprintf
com32/include/sys/module.h | 2 +-
com32/lib/sys/module/exec.c | 4 ++--
core/fs/fs.c | 2 +-
core/lwip/src/netif/undiif.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
--
2.3.0
2017 Jun 06
2
LLD support for ld64 mach-o linker synthesised symbols
...ubq __start_static(%rip), %rdx
> call __start_c
>
> In C:
>
> /* run C++ constructors in __libc_start_main for x86_64-xnu-musl */
>
> typedef void (*__init_fn)(int, char **, char **, char **);
> extern __init_fn __init_start __asm("section$start$__DATA$__mod_init_func");
> extern __init_fn __init_end __asm("section$end$__DATA$__mod_init_func”);
>
> static void __init_mod(int argc, char **argv, char **envp, char **applep)
> {
> for (__init_fn *p = &__init_start; p < &__init_end; ++p) {
> (*p)(arg...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...VALUE #{evt.name.downcase}(int argc, VALUE *argv, VALUE self)
- { return #{func}(argc, argv, self, #{evt.wx_const}); }
-
-FUNC_DEF
- out.puts "#endif //__WXMSW__" if evt.windows_only?
- end
-
- # Then we loop over the events and register the ruby method for each
- out.puts <<INIT_FUNC
-extern "C" {
-void Init_wxEvents2()
-{
-INIT_FUNC
- $events.each do | evt |
- next if evt.excluded?
-
- out.puts "#ifdef __WXMSW__" if evt.windows_only?
- out.puts <<REGISTER_FUNC
-        rb_define...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and
2017 Jun 07
3
LLD support for ld64 mach-o linker synthesised symbols
...all __start_c
>>
>>
>> In C:
>>
>> /* run C++ constructors in __libc_start_main for x86_64-xnu-musl */
>>
>> typedef void (*__init_fn)(int, char **, char **, char **);
>> extern __init_fn __init_start __asm("section$start$__DATA$__mod_
>> init_func");
>> extern __init_fn __init_end __asm("section$end$__DATA$__
>> mod_init_func”);
>>
>> static void __init_mod(int argc, char **argv, char **envp, char **applep)
>> {
>> for (__init_fn *p = &__init_start; p < &__init_end; ++p) {...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...odule->ghash_table);
- printf("str tbl = 0x%p, size = %d\n", module->str_table, module->strtable_size);
- printf("sym tbl = 0x%p, entry = %d, size = %d\n", module->sym_table, module->syment_size, module->symtable_size);
- printf("init: %p", module->init_func);
- printf("main: %p", module->main_func);
- printf("exit: %p", module->exit_func);
- printf("", module->base_addr);
- printf("", module->base_addr);
- printf("", module->base_addr);
- */
-}
-
/**
* struct module_dep - structure en...
2017 Mar 29
15
[PATCH 00/15] Support for GP10B chipset
GP10B is the chip used in Tegra X2 SoCs. This patchset adds support for
its base engines after reworking secboot a bit to accomodate its calling
convention better.
This patchset has been tested rendering simple off-screen buffers using Mesa
and yielded the expected result.
Alexandre Courbot (15):
secboot: allow to boot multiple falcons
secboot: pass instance to LS firmware loaders
secboot: