2016-11-01 01:41:36 +01:00
|
|
|
/****************************************************************************
|
|
|
|
* arch/misoc/include/syscall.h
|
|
|
|
*
|
2021-03-28 16:14:18 +02:00
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
|
|
* this work for additional information regarding copyright ownership. The
|
|
|
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance with the
|
|
|
|
* License. You may obtain a copy of the License at
|
2016-11-01 01:41:36 +01:00
|
|
|
*
|
2021-03-28 16:14:18 +02:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2016-11-01 01:41:36 +01:00
|
|
|
*
|
2021-03-28 16:14:18 +02:00
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
* License for the specific language governing permissions and limitations
|
|
|
|
* under the License.
|
2016-11-01 01:41:36 +01:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2020-04-05 23:00:04 +02:00
|
|
|
/* This file should never be included directly but, rather, only indirectly
|
2016-11-01 01:41:36 +01:00
|
|
|
* through include/syscall.h or include/sys/sycall.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ARCH_MISOC_INCLUDE_SYSCALL_H
|
|
|
|
#define __ARCH_MISOC_INCLUDE_SYSCALL_H
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Included Files
|
|
|
|
****************************************************************************/
|
|
|
|
|
2016-11-04 16:58:27 +01:00
|
|
|
/* Include LM32 architecture-specific syscall macros */
|
2016-11-01 01:41:36 +01:00
|
|
|
|
2016-11-07 14:31:15 +01:00
|
|
|
#ifdef CONFIG_ARCH_CHIP_LM32
|
2016-11-01 01:41:36 +01:00
|
|
|
# include <arch/lm32/syscall.h>
|
|
|
|
#endif
|
|
|
|
|
2019-02-07 16:41:18 +01:00
|
|
|
#ifdef CONFIG_ARCH_CHIP_MINERVA
|
|
|
|
# include <arch/minerva/syscall.h>
|
|
|
|
#endif
|
|
|
|
|
2016-11-01 01:41:36 +01:00
|
|
|
#endif /* __ARCH_MISOC_INCLUDE_SYSCALL_H */
|