<commit_before>/* $chaos: module.c,v 1.29 2002/10/20 19:29:38 per Exp $ */
/* Abstract: Module support. */
/* Author: <NAME> <<EMAIL>> */

/* Copyright 2002 chaos development. */
/* Use freely under the terms listed in the file LICENSE. */

#include <storm/ia32/debug.h>
#include <storm/ia32/dma.h>
#include <storm/ia32/elf.h>
#include <storm/ia32/halt.h>
#include <storm/ia32/irq.h>
#include <storm/ia32/memory.h>
#include <storm/ia32/memory_physical.h>
#include <storm/ia32/memory_virtual.h>
#include <storm/ia32/module.h>
#include <storm/ia32/multiboot.h>
#include <storm/ia32/service.h>
#include <storm/ia32/string.h>
#include <storm/ia32/timer.h>
#include <storm/return_value.h>

/* A list of functions provided through dynamic linking to kernel
   modules. We could export everything, but we don't want to do that
   to keep the API clean. */
static module_function_t function[] = 
{
    { "debug_print", (function_t) &debug_print },
    { "debug_memory_dump", (function_t) &debug_memory_dump },

    { "dma_register", (function_t) &dma_register },
//  { "dma_unregister", (function_t) &dma_unregister },

    { "halt", (function_t) &halt },

    { "irq_register", (function_t) &irq_register },
//  { "irq_unregister", (function_t) &irq_unregister }

    { "memory_global_allocate", (function_t) &memory_global_allocate },
    { "memory_global_deallocate", (function_t) &memory_global_deallocate },

    { "memory_physical_allocate", (function_t) &memory_physical_allocate },
    { "memory_physical_deallocate", (function_t) &memory_physical_deallocate },

    { "memory_virtual_map", (function_t) &memory_virtual_map },<commit_msg>Include a lot less files.<commit_after>/* $chaos: module.c,v 1.30 2002/10/21 19:31:55 per Exp $ */
/* Abstract: Module support. */
/* Author: <NAME> <<EMAIL>> */

/* Copyright 2002 chaos development. */
/* Use freely under the terms listed in the file LICENSE. */

#include <storm/storm.h>
#include <storm/ia32/elf.h>
#include <storm/ia32/memory.h>
#include <storm/ia32/module.h>
#include <storm/ia32/multiboot.h>

/* A list of functions provided through dynamic linking to kernel
   modules. We could export everything, but we don't want to do that
   to keep the API clean. */
static module_function_t function[] = 
{
    { "debug_print", (function_t) &debug_print },
    { "debug_memory_dump", (function_t) &debug_memory_dump },

    { "dma_register", (function_t) &dma_register },
//  { "dma_unregister", (function_t) &dma_unregister },

    { "halt", (function_t) &halt },

    { "irq_register", (function_t) &irq_register },
//  { "irq_unregister", (function_t) &irq_unregister }

    { "memory_global_allocate", (function_t) &memory_global_allocate },
    { "memory_global_deallocate", (function_t) &memory_global_deallocate },

    { "memory_physical_allocate", (function_t) &memory_physical_allocate },
    { "memory_physical_deallocate", (function_t) &memory_physical_deallocate },

    { "memory_virtual_map", (function_t) &memory_virtual_map },
{'fraction_non_alphanumeric': 0.1492985971943888, 'fraction_numerical': 0.025384101536406144, 'mean_word_length': 4.6403013182674195, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2618613', 'n_tokens_mistral': 1092, 'n_tokens_neox': 1009, 'n_words': 230}