<commit_before>/*
** Copyright 2001-2002, <NAME>. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#include <kernel/kernel.h>
#include <kernel/cpu.h>
#include <kernel/arch/cpu.h>
#include <kernel/heap.h>
#include <kernel/vm.h>
#include <kernel/debug.h>
#include <kernel/smp.h>
#include <kernel/debug.h>
#include <kernel/arch/i386/selector.h>
#include <kernel/arch/int.h>
#include <kernel/arch/i386/interrupts.h>
#include <newos/errors.h>

#include <boot/stage2.h>

#include <string.h>
#include <stdio.h>

/* a few debug functions that get added to the kernel debugger menu */
static void dbg_in(int argc, char **argv);
static void dbg_out(int argc, char **argv);

static struct tss **tss;
static int *tss_loaded;

/* tss to switch to a special 'task' on the double fault handler */
static struct tss double_fault_tss;
static uint32 double_fault_stack[1024];<commit_msg>Remove a silly warning in arch_cpu.c<commit_after>/*
** Copyright 2001-2002, <NAME>. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#include <kernel/kernel.h>
#include <kernel/cpu.h>
#include <kernel/arch/cpu.h>
#include <kernel/heap.h>
#include <kernel/vm.h>
#include <kernel/debug.h>
#include <kernel/smp.h>
#include <kernel/debug.h>
#include <kernel/arch/i386/selector.h>
#include <kernel/arch/int.h>
#include <kernel/arch/i386/interrupts.h>
#include <newos/errors.h>

#include <boot/stage2.h>

#include <string.h>
#include <stdio.h>
#include <stdlib.h>

/* a few debug functions that get added to the kernel debugger menu */
static void dbg_in(int argc, char **argv);
static void dbg_out(int argc, char **argv);

static struct tss **tss;
static int *tss_loaded;

/* tss to switch to a special 'task' on the double fault handler */
static struct tss double_fault_tss;
static uint32 double_fault_stack[1024];
{'fraction_non_alphanumeric': 0.14207947740881874, 'fraction_numerical': 0.02286336418072945, 'mean_word_length': 4.929032258064516, 'pattern_counts': {'":': 0, '<': 36, '<?xml version=': 0, '>': 36, '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': '3682948', 'n_tokens_mistral': 681, 'n_tokens_neox': 641, 'n_words': 196}