xref: /haiku/src/system/libroot/posix/string/arch/x86/arch_string.S (revision 4466b89c65970de4c7236ac87faa2bee4589f413)
1/*
2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5
6#include <asm_defs.h>
7#include <commpage_defs.h>
8
9
10.align 4
11
12FUNCTION(memcpy):
13	jmp	*(USER_COMMPAGE_ADDR + COMMPAGE_ENTRY_X86_MEMCPY * 4)
14FUNCTION_END(memcpy)
15
16FUNCTION(memset):
17	jmp	*(USER_COMMPAGE_ADDR + COMMPAGE_ENTRY_X86_MEMSET * 4)
18FUNCTION_END(memset)
19