xref: /haiku/src/system/libroot/posix/string/arch/x86/arch_string.S (revision b55a57da7173b9af0432bd3e148d03f06161d036)
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