2019-08-09 15:22:39 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* boards/x86/qemu/qemu-i486/include/board.h
|
2011-03-04 23:25:03 +01:00
|
|
|
*
|
2021-03-16 16:13:01 +01: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
|
2011-03-04 23:25:03 +01:00
|
|
|
*
|
2021-03-16 16:13:01 +01:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2011-03-04 23:25:03 +01:00
|
|
|
*
|
2021-03-16 16:13:01 +01: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.
|
2011-03-04 23:25:03 +01:00
|
|
|
*
|
2019-08-09 15:22:39 +02:00
|
|
|
****************************************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
#ifndef __BOARDS_X86_QEMU_QEMU_I486_INCLUDE_BOARD_H
|
|
|
|
#define __BOARDS_X86_QEMU_QEMU_QEMU_I486_INCLUDE_BOARD_H
|
2011-03-04 23:25:03 +01:00
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/****************************************************************************
|
2011-03-04 23:25:03 +01:00
|
|
|
* Included Files
|
2019-08-09 15:22:39 +02:00
|
|
|
****************************************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
|
|
|
#include <nuttx/config.h>
|
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/****************************************************************************
|
2015-04-08 17:15:17 +02:00
|
|
|
* Pre-processor Definitions
|
2019-08-09 15:22:39 +02:00
|
|
|
****************************************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/* Clocking *****************************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
2011-03-05 20:28:59 +01:00
|
|
|
/* Programmable interval timer (PIT) */
|
|
|
|
|
|
|
|
#define PIT_CLOCK 1041816 /* PIT input clock */
|
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/* LED definitions **********************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/* Button definitions *******************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/* Alternate pin selections *************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/****************************************************************************
|
2011-03-04 23:25:03 +01:00
|
|
|
* Public Types
|
2019-08-09 15:22:39 +02:00
|
|
|
****************************************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/****************************************************************************
|
2011-03-04 23:25:03 +01:00
|
|
|
* Public Data
|
2019-08-09 15:22:39 +02:00
|
|
|
****************************************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
|
|
|
#undef EXTERN
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
#define EXTERN extern "C"
|
2015-02-28 14:14:37 +01:00
|
|
|
extern "C"
|
|
|
|
{
|
2011-03-04 23:25:03 +01:00
|
|
|
#else
|
|
|
|
#define EXTERN extern
|
|
|
|
#endif
|
|
|
|
|
2019-08-09 15:22:39 +02:00
|
|
|
/****************************************************************************
|
2011-03-04 23:25:03 +01:00
|
|
|
* Public Function Prototypes
|
2019-08-09 15:22:39 +02:00
|
|
|
****************************************************************************/
|
2011-03-04 23:25:03 +01:00
|
|
|
|
|
|
|
#undef EXTERN
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __ASSEMBLY__ */
|
2020-01-31 19:07:39 +01:00
|
|
|
#endif /* __BOARDS_X86_QEMU_QEMU_QEMU_I486_INCLUDE_BOARD_H */
|