mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
a157940ba6
This change removes LIBC_KERNELBASE which is legacy code from the initial import which was generated off a script that resolved the delegated references, on Windows 10. All the important stuff here should have long since been filed under kernel32.dll for windows7 Many FooA functions that were never assigned an arity are removed because we almost never use the ASCII versions of WIN32 functions therefore it's not worth having them slowing down the build. Some other functions that overlap uncomfortably with libc are gone too If something you need was removed, file an issue we'll restore it
12 lines
302 B
ArmAsm
12 lines
302 B
ArmAsm
.include "o/libc/nt/codegen.inc"
|
|
.imp kernel32,__imp_GenerateConsoleCtrlEvent,GenerateConsoleCtrlEvent,0
|
|
|
|
.text.windows
|
|
__GenerateConsoleCtrlEvent:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov __imp_GenerateConsoleCtrlEvent(%rip),%rax
|
|
jmp __sysv2nt
|
|
.endfn __GenerateConsoleCtrlEvent,globl
|
|
.previous
|