<commit_before>/* $chaos: dotfile.emacs,v 1.37 2002/10/14 16:03:33 per Exp $ */
/* Abstract: System call prototypes etc. */
/* Author: <NAME> <<EMAIL>> */

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

/**
 * @file                system_call.h
 * @brief               System call implementation.
 */

#ifndef __STORM_IA32_SYSTEM_CALL_H__
#define __STORM_IA32_SYSTEM_CALL_H__

/**
 * @brief               The system call vector in the IDT. 
 */
#define SYSTEM_CALL_IDT_ENTRY \
                        (0x88)

/* Only in the kernel. */
#ifdef __STORM_KERNEL__

/**
 * @brief               Set up the system call in the IDT.
 */
extern void system_call_init (void);

/**
 * @brief               The low-level system call handler.
 */
extern void system_call_lowlevel (void);

/**
 * @brief               The high-level system call handler.
 */
extern void system_call (void);

#endif /* __STORM_KERNEL__ */

#endif /* !__STORM_IA32_SYSTEM_CALL_H__ */<commit_msg>Change the prototype of system_call() to take a parameter.<commit_after>/* $chaos: system_call.h,v 1.1 2002/10/24 21:31:29 per Exp $ */
/* Abstract: System call prototypes etc. */
/* Author: <NAME> <<EMAIL>> */

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

/**
 * @file                system_call.h
 * @brief               System call implementation.
 */

#ifndef __STORM_IA32_SYSTEM_CALL_H__
#define __STORM_IA32_SYSTEM_CALL_H__

/**
 * @brief               The system call vector in the IDT. 
 */
#define SYSTEM_CALL_IDT_ENTRY \
                        (0x88)

/* Only in the kernel. */
#ifdef __STORM_KERNEL__

/**
 * @brief               Set up the system call in the IDT.
 */
extern void system_call_init (void);

/**
 * @brief               The low-level system call handler.
 */
extern void system_call_lowlevel (void);

/**
 * @brief               The high-level system call handler.
 */
extern void system_call (uint32_t *stack);

#endif /* __STORM_KERNEL__ */

#endif /* !__STORM_IA32_SYSTEM_CALL_H__ */
{'fraction_non_alphanumeric': 0.11798561151079137, 'fraction_numerical': 0.029256594724220625, 'mean_word_length': 2.414075286415712, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '399502', 'n_tokens_mistral': 705, 'n_tokens_neox': 648, 'n_words': 197}