2009-06-17 20:45:48 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* binfmt/binfmt_globals.c
|
|
|
|
*
|
2024-09-09 09:12:59 +02:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
2021-02-03 14:47:23 +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
|
2009-06-17 20:45:48 +02:00
|
|
|
*
|
2021-02-03 14:47:23 +01:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2009-06-17 20:45:48 +02:00
|
|
|
*
|
2021-02-03 14:47:23 +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.
|
2009-06-17 20:45:48 +02:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Included Files
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#include <nuttx/config.h>
|
|
|
|
|
2023-07-02 18:11:02 +02:00
|
|
|
#include "binfmt.h"
|
2009-06-17 20:45:48 +02:00
|
|
|
|
2009-06-17 23:15:31 +02:00
|
|
|
#ifndef CONFIG_BINFMT_DISABLE
|
|
|
|
|
2009-06-17 20:45:48 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* Pre-processor Definitions
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Public Data
|
|
|
|
****************************************************************************/
|
|
|
|
|
2020-04-22 10:24:15 +02:00
|
|
|
/* This is a list of registered handlers for different binary formats.
|
|
|
|
* This list should only be accessed by normal user programs. It should be
|
|
|
|
* sufficient protection to simply disable pre-emption when accessing this
|
|
|
|
* list.
|
2009-06-17 20:45:48 +02:00
|
|
|
*/
|
|
|
|
|
2020-02-03 06:18:17 +01:00
|
|
|
FAR struct binfmt_s *g_binfmts;
|
2009-06-17 20:45:48 +02:00
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Private Functions
|
|
|
|
****************************************************************************/
|
|
|
|
|
2009-06-17 23:15:31 +02:00
|
|
|
/****************************************************************************
|
2009-06-17 20:45:48 +02:00
|
|
|
* Public Functions
|
2009-06-17 23:15:31 +02:00
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#endif /* CONFIG_BINFMT_DISABLE */
|