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 movl __gCommPageAddress, %eax 14 addl 4 * COMMPAGE_ENTRY_X86_MEMCPY(%eax), %eax 15 jmp *%eax 16FUNCTION_END(memcpy) 17 18FUNCTION(memset): 19 movl __gCommPageAddress, %eax 20 addl 4 * COMMPAGE_ENTRY_X86_MEMSET(%eax), %eax 21 jmp *%eax 22FUNCTION_END(memset) 23