cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

arcksyms.c (1425B)


      1// SPDX-License-Identifier: GPL-2.0-only
      2/*
      3 * arcksyms.c - Exporting symbols not exportable from their own sources
      4 *
      5 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
      6 */
      7
      8#include <linux/module.h>
      9
     10/* libgcc functions, not part of kernel sources */
     11extern void __ashldi3(void);
     12extern void __ashrdi3(void);
     13extern void __divsi3(void);
     14extern void __divsf3(void);
     15extern void __lshrdi3(void);
     16extern void __modsi3(void);
     17extern void __muldi3(void);
     18extern void __ucmpdi2(void);
     19extern void __udivsi3(void);
     20extern void __umodsi3(void);
     21extern void __cmpdi2(void);
     22extern void __fixunsdfsi(void);
     23extern void __muldf3(void);
     24extern void __divdf3(void);
     25extern void __floatunsidf(void);
     26extern void __floatunsisf(void);
     27extern void __udivdi3(void);
     28
     29EXPORT_SYMBOL(__ashldi3);
     30EXPORT_SYMBOL(__ashrdi3);
     31EXPORT_SYMBOL(__divsi3);
     32EXPORT_SYMBOL(__divsf3);
     33EXPORT_SYMBOL(__lshrdi3);
     34EXPORT_SYMBOL(__modsi3);
     35EXPORT_SYMBOL(__muldi3);
     36EXPORT_SYMBOL(__ucmpdi2);
     37EXPORT_SYMBOL(__udivsi3);
     38EXPORT_SYMBOL(__umodsi3);
     39EXPORT_SYMBOL(__cmpdi2);
     40EXPORT_SYMBOL(__fixunsdfsi);
     41EXPORT_SYMBOL(__muldf3);
     42EXPORT_SYMBOL(__divdf3);
     43EXPORT_SYMBOL(__floatunsidf);
     44EXPORT_SYMBOL(__floatunsisf);
     45EXPORT_SYMBOL(__udivdi3);
     46
     47/* ARC optimised assembler routines */
     48EXPORT_SYMBOL(memset);
     49EXPORT_SYMBOL(memcpy);
     50EXPORT_SYMBOL(memcmp);
     51EXPORT_SYMBOL(strchr);
     52EXPORT_SYMBOL(strcpy);
     53EXPORT_SYMBOL(strcmp);
     54EXPORT_SYMBOL(strlen);