Implement syslog (#136)
This commit is contained in:
@@ -1,2 +1,15 @@
|
||||
.include "o/libc/nt/codegen.inc"
|
||||
.imp advapi32,__imp_DeregisterEventSource,DeregisterEventSource,1239
|
||||
|
||||
.text.windows
|
||||
DeregisterEventSource:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_DeregisterEventSource(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn DeregisterEventSource,globl
|
||||
.previous
|
||||
|
||||
@@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/codegen.inc"
|
||||
.imp advapi32,__imp_RegisterEventSourceA,RegisterEventSourceA,1686
|
||||
|
||||
.text.windows
|
||||
RegisterEventSourceA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_RegisterEventSourceA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn RegisterEventSourceA,globl
|
||||
.previous
|
||||
|
||||
@@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/codegen.inc"
|
||||
.imp advapi32,__imp_RegisterEventSourceW,RegisterEventSourceW,1687
|
||||
|
||||
.text.windows
|
||||
RegisterEventSource:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_RegisterEventSourceW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn RegisterEventSource,globl
|
||||
.previous
|
||||
|
||||
@@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/codegen.inc"
|
||||
.imp advapi32,__imp_ReportEventA,ReportEventA,1704
|
||||
|
||||
.text.windows
|
||||
ReportEventA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_ReportEventA(%rip),%rax
|
||||
jmp __sysv2nt10
|
||||
.endfn ReportEventA,globl
|
||||
.previous
|
||||
|
||||
@@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/codegen.inc"
|
||||
.imp advapi32,__imp_ReportEventW,ReportEventW,1705
|
||||
|
||||
.text.windows
|
||||
ReportEvent:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_ReportEventW(%rip),%rax
|
||||
jmp __sysv2nt10
|
||||
.endfn ReportEvent,globl
|
||||
.previous
|
||||
|
||||
Reference in New Issue
Block a user