<commit_before>#include <kernel/kernel.h>
#include <kernel/arch/arm/arch.h>

static struct arch_arm arm;

void arch_init()
{

    for (;;);

    kernel_init(&arm.base);

}
<commit_msg>added some code to print to console<commit_after>#include <kernel/kernel.h>
#include <kernel/arch/arm/arch.h>

static struct arch_arm arm;

#define SERIAL_BASE 0x16000000
#define SERIAL_FLAG_REGISTER 0x18
#define SERIAL_BUFFER_FULL (1 << 5)
 
void putc(char c)
{

    while (*(volatile unsigned long*)(SERIAL_BASE + SERIAL_FLAG_REGISTER) & (SERIAL_BUFFER_FULL));

    *(volatile unsigned long*)SERIAL_BASE = c;

}
                                                         
void puts(const char *s)
{

    while (*s)
        putc(*s++);

}

void arch_init()
{

    puts("Fudge Console Text\n\n");

    for (;;);

    kernel_init(&arm.base);

}

{'fraction_non_alphanumeric': 0.1343825665859564, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 2.919431279620853, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '317562', 'n_tokens_mistral': 308, 'n_tokens_neox': 286, 'n_words': 63}