<commit_before>#ifndef MULTIBOOT_H
#define MULTIBOOT_H

#include <basic.h>

enum multiboot_flags {
    MB_INFO_MEMORY        = 0x0001,
    MB_INFO_BOOTDEV       = 0x0002,
    MB_INFO_CMDLINE       = 0x0004,
    MB_INFO_MODS          = 0x0008,
    MB_INFO_ELF_SECT      = 0x0020,
    MB_INFO_MEM_MAP       = 0x0040,
    MB_INFO_DRIVE_INFO    = 0x0080,
    MB_INFO_CONFIG_TABLE  = 0x0100,
    MB_INFO_BOOT_LOADER   = 0x0200,
    MB_INFO_APM_TABLE     = 0x0400,
    MB_INFO_VIDEO         = 0x0800
};

struct __packed multiboot_elf_section {
    uint32_t num;
    uint32_t size;
    uint32_t addr;
    uint32_t shndx;
};

struct __packed multiboot_mmap_entry {
    uint32_t size;
    uint64_t addr;
    uint64_t length;
#define MB_MEMORY_AVAILABLE 1
#define MB_MEMORY_RESERVED 2
    uint32_t type;
};

struct multiboot_info {
    uint32_t flags;
    uint32_t mem_lower;
    uint32_t mem_upper;
    uint32_t boot_device;
    uint32_t cmdline;
    uint32_t mods_count;
    uint32_t mods_addr;
    struct   multiboot_elf_section elf_sec;
    uint32_t mmap_length;
    uint32_t mmap_addr;
    uint32_t drives_length;
    uint32_t drivers_addr;
    uint32_t config_table;
    uint32_t boot_loader_name;
    uint32_t apm_table;
    uint32_t vbe_control_info;
    uint32_t vbe_mode_info;
    uint32_t vbe_mode;
    uint16_t vbe_interface_seg;
    uint16_t vbe_interface_off;
    uint16_t vbe_interface_len;
} __packed;
<commit_msg>multiboot.h: Added multiboot_module<commit_after>#ifndef MULTIBOOT_H
#define MULTIBOOT_H

#include <basic.h>

enum multiboot_flags {
    MB_INFO_MEMORY        = 0x0001,
    MB_INFO_BOOTDEV       = 0x0002,
    MB_INFO_CMDLINE       = 0x0004,
    MB_INFO_MODS          = 0x0008,
    MB_INFO_ELF_SECT      = 0x0020,
    MB_INFO_MEM_MAP       = 0x0040,
    MB_INFO_DRIVE_INFO    = 0x0080,
    MB_INFO_CONFIG_TABLE  = 0x0100,
    MB_INFO_BOOT_LOADER   = 0x0200,
    MB_INFO_APM_TABLE     = 0x0400,
    MB_INFO_VIDEO         = 0x0800
};

struct __packed multiboot_elf_section {
    uint32_t num;
    uint32_t size;
    uint32_t addr;
    uint32_t shndx;
};

struct __packed multiboot_mmap_entry {
    uint32_t size;
    uint64_t addr;
    uint64_t length;
#define MB_MEMORY_AVAILABLE 1
#define MB_MEMORY_RESERVED 2
    uint32_t type;
};

struct __packed multiboot_module {
    uint32_t mod_start;
    uint32_t mod_end;
    uint32_t cmdline;
    uint32_t pad;
};

struct __packed multiboot_info {
    uint32_t flags;
    uint32_t mem_lower;
    uint32_t mem_upper;
    uint32_t boot_device;
    uint32_t cmdline;
    uint32_t mods_count;
    uint32_t mods_addr;
    struct   multiboot_elf_section elf_sec;
    uint32_t mmap_length;
    uint32_t mmap_addr;
    uint32_t drives_length;
    uint32_t drivers_addr;
    uint32_t config_table;
    uint32_t boot_loader_name;
    uint32_t apm_table;
    uint32_t vbe_control_info;
    uint16_t vbe_mode_info;
    uint16_t vbe_mode;
    uint16_t vbe_interface_seg;
    uint16_t vbe_interface_off;
    uint16_t vbe_interface_len;
};

{'fraction_non_alphanumeric': 0.051891529963173755, 'fraction_numerical': 0.07833947104117844, 'mean_word_length': 3.0931506849315067, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '614621', 'n_tokens_mistral': 1380, 'n_tokens_neox': 1234, 'n_words': 221}