<commit_before>/*
 * Interrupt handle for GS232
 * 
 * Copyright (c) 2006-2019, RT-Thread Development Team
 * 
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2010-10-15     Bernard      first version
 * 2010-10-15     lgnq           modified for LS1B
 * 2013-03-29     aozima       Modify the interrupt interface implementations.
 * 2015-07-06     chinesebear modified for loongson 1c
 * 2019-12-04     <NAME>   Generialize
 */

#include <rtthread.h>
#include <rthw.h>
#include "gs232.h"


#define MAX_INTR            (GS232_NR_IRQS)

static struct rt_irq_desc irq_handle_table[MAX_INTR];
void rt_interrupt_dispatch(void *ptreg);
void rt_hw_timer_handler();

static struct gs232_intc_regs volatile *gs232_hw0_icregs
= (struct gs232_intc_regs volatile *)(INTC_BASE);

/**
 * @addtogroup Loongson GS232
 */

/*@{*/

static void rt_hw_interrupt_handler(int vector, void *param)
{<commit_msg>remove unused function declarations<commit_after>/*
 * Interrupt handle for GS232
 * 
 * Copyright (c) 2006-2019, RT-Thread Development Team
 * 
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2010-10-15     Bernard      first version
 * 2010-10-15     lgnq           modified for LS1B
 * 2013-03-29     aozima       Modify the interrupt interface implementations.
 * 2015-07-06     chinesebear modified for loongson 1c
 * 2019-12-04     <NAME>   Generialize
 */

#include <rtthread.h>
#include <rthw.h>
#include "gs232.h"


#define MAX_INTR            (GS232_NR_IRQS)

static struct rt_irq_desc irq_handle_table[MAX_INTR];
void rt_hw_timer_handler();

static struct gs232_intc_regs volatile *gs232_hw0_icregs
= (struct gs232_intc_regs volatile *)(INTC_BASE);

/**
 * @addtogroup Loongson GS232
 */

/*@{*/

static void rt_hw_interrupt_handler(int vector, void *param)
{
{'fraction_non_alphanumeric': 0.10005379236148466, 'fraction_numerical': 0.07961269499731038, 'mean_word_length': 3.2176870748299318, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3370752', 'n_tokens_mistral': 756, 'n_tokens_neox': 634, 'n_words': 158}