f2f91078bd
There is absolutely no reason for these functions to be in commpage, they don't do anything that involves the kernel in any way. Additionaly, this patch rewrites memset and memcpy to C++, current implementation is quite simple (though it may perform surprisingly well when dealing with large buffers on cpus with ermsb). Better versions are coming soon. Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
18 lines
550 B
C
18 lines
550 B
C
/*
|
|
* Copyright 2012, Alex Smith, alex@alex-smith.me.uk.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _SYSTEM_ARCH_x86_64_COMMPAGE_DEFS_H
|
|
#define _SYSTEM_ARCH_x86_64_COMMPAGE_DEFS_H
|
|
|
|
#ifndef _SYSTEM_COMMPAGE_DEFS_H
|
|
# error Must not be included directly. Include <commpage_defs.h> instead!
|
|
#endif
|
|
|
|
#define COMMPAGE_ENTRY_X86_SIGNAL_HANDLER \
|
|
(COMMPAGE_ENTRY_FIRST_ARCH_SPECIFIC + 0)
|
|
#define COMMPAGE_ENTRY_X86_THREAD_EXIT \
|
|
(COMMPAGE_ENTRY_FIRST_ARCH_SPECIFIC + 1)
|
|
|
|
#endif /* _SYSTEM_ARCH_x86_64_COMMPAGE_DEFS_H */
|