MOS Source Code
|
Go to the source code of this file.
#define MOS_ADDR_USER_STACK 0x5000000000 |
Definition at line 1 of file autoconf.h.
Referenced by process_do_execveat(), and thread_new().
#define MOS_ADDR_USER_MMAP 0x1000000000 |
Definition at line 2 of file autoconf.h.
Referenced by dmabuf_allocate(), and mmap_verify_arguments().
#define MOS_PLATFORM_DEBUG_ALL 1 |
Definition at line 3 of file autoconf.h.
#define MOS_GENERIC_PLATFORM_DEBUG_ALL 1 |
Definition at line 4 of file autoconf.h.
#define MOS_DEBUG_limine 1 |
Definition at line 5 of file autoconf.h.
#define MOS_PAGE_SIZE 4096 |
Definition at line 6 of file autoconf.h.
Referenced by acpi_sysfs_mmap(), add_to_memmap(), cpio_fill_cache(), dmabuf_alloc(), dmabuf_do_allocate(), dmabuf_share(), dmabuf_share(), dmabuf_unshare(), elf_do_fill_process(), elf_map_segment(), initrd_read(), ipc_connect_to_server(), limine_entry(), mm_copy_page(), mm_destroy_context(), mm_do_get_pfn(), mm_do_unmap(), mm_get_free_page(), mm_get_free_vaddr_locked(), mm_get_is_mapped_locked(), mm_get_phys_addr(), mm_handle_fault(), mm_sysfs_init(), mmap_anonymous(), mmap_file(), mmap_file(), mmap_verify_arguments(), mmstat_sysfs_stat(), mos_start_kernel(), MOS_STATIC_ASSERT(), munmap(), pagetable_do_dump(), pagetable_iter_next(), pagetable_iterator_start_current_range(), pipe_close_one_end(), pipe_create(), platform_startup_setup_kernel_mm(), platform_switch_mm(), pml1_destroy_range(), pml1_traverse(), pml2_destroy_range(), pml2_traverse(), pmm_find_reserved_region(), pmm_init(), process_do_execveat(), process_do_fork(), process_sysfs_vmap_stat(), register_sysfs_acpi_node(), register_sysfs_acpi_rsdp(), simple_page_write_begin(), slab_alloc(), slab_allocate_mem(), slab_free(), slab_init_one(), slab_realloc(), sys_mem_mmap(), sysfs_expand_buffer(), sysfs_printf(), sysfs_put_data(), thread_new(), userfs_inode_cache_fill_cache(), userfs_inode_cache_flush_page(), vfs_fault_handler(), vfs_fsync(), vfs_open_ipc(), vfs_read_pagecache(), vfs_write_pagecache(), vm_protect(), vmap_obtain(), vmap_split(), vsnprintf_do_pointer_kernel(), x86_dump_stack_at(), x86_setup_direct_map(), and zero_page().
#define MOS_PLATFORM_DEBUG_ALL_x86_64 1 |
Definition at line 7 of file autoconf.h.
#define MOS_DEBUG_x86_cpu 1 |
Definition at line 8 of file autoconf.h.
#define MOS_DEBUG_x86_lapic 1 |
Definition at line 9 of file autoconf.h.
#define MOS_DEBUG_x86_ioapic 1 |
Definition at line 10 of file autoconf.h.
#define MOS_DEBUG_x86_startup 1 |
Definition at line 11 of file autoconf.h.
#define MOS_DEBUG_x86_acpi 1 |
Definition at line 12 of file autoconf.h.
#define MOS_DEFAULT_INIT_PATH "/initrd/programs/bootstrapper" |
Definition at line 13 of file autoconf.h.
Referenced by mos_start_kernel().
#define MOS_EXTRA_CMDLINE "" |
Definition at line 14 of file autoconf.h.
Referenced by mos_cmdline_init().
#define MOS_SMP 1 |
Definition at line 15 of file autoconf.h.
#define MOS_MM_DETAILED_UNHANDLED_FAULT 1 |
Definition at line 16 of file autoconf.h.
#define MOS_MM_DETAILED_MMAPS_UNHANDLED_FAULT -1 |
Definition at line 17 of file autoconf.h.
#define MOS_DYNAMIC_DEBUG 1 |
Definition at line 18 of file autoconf.h.
#define MOS_PRINTK_BUFFER_SIZE 1024 |
Definition at line 19 of file autoconf.h.
Referenced by lvprintk(), mos_cmdline_init(), mos_kwarn(), and test_engine_warning_handler().
#define MOS_INODE_CACHE_HASHMAP_SIZE 256 |
Definition at line 20 of file autoconf.h.
Referenced by inode_init().
#define MOS_ELF_INTERPRETER_BASE_OFFSET 0x100000 |
Definition at line 21 of file autoconf.h.
Referenced by elf_do_fill_process(), and elf_map_interpreter().
#define MOS_INITRD_BASE 0x300000000 |
Definition at line 22 of file autoconf.h.
Referenced by mos_start_kernel().
#define MOS_MAX_CPU_COUNT 8 |
Definition at line 23 of file autoconf.h.
Referenced by madt_parse_table().
#define MOS_MAX_CMDLINE_COUNT 64 |
Definition at line 24 of file autoconf.h.
Referenced by mos_cmdline_init().
#define MOS_MAX_MEMREGIONS 64 |
Definition at line 25 of file autoconf.h.
#define MOS_PROCESS_MAX_OPEN_FILES 64 |
Definition at line 26 of file autoconf.h.
Referenced by process_attach_ref_fd(), process_detach_fd(), process_do_execveat(), process_do_fork(), process_exit(), and process_get_fd().
#define MOS_PATH_MAX_LENGTH 256 |
Definition at line 27 of file autoconf.h.
Referenced by cpio_i_lookup(), dentry_resolve_follow_symlink(), process_sysfs_vmap_stat(), vfs_sysfs_mountpoints(), vsnprintf_do_pointer_kernel(), and x86_dump_stack_at().
#define MOS_STACK_PAGES_KERNEL 8 |
Definition at line 28 of file autoconf.h.
Referenced by process_do_fork(), thread_destroy(), and thread_new().
#define MOS_STACK_PAGES_USER 32 |
Definition at line 29 of file autoconf.h.
Referenced by process_do_execveat(), and thread_new().
#define MOS_UBSAN -1 |
Definition at line 30 of file autoconf.h.
#define MOS_PROFILING -1 |
Definition at line 31 of file autoconf.h.
#define MOS_PRINTK_HAS_SOME_PREFIX 1 |
Definition at line 32 of file autoconf.h.
#define MOS_PRINTK_WITH_TIMESTAMP -1 |
Definition at line 33 of file autoconf.h.
#define MOS_PRINTK_WITH_DATETIME -1 |
Definition at line 34 of file autoconf.h.
#define MOS_PRINTK_WITH_CPU_ID -1 |
Definition at line 35 of file autoconf.h.
#define MOS_PRINTK_WITH_FILENAME 1 |
Definition at line 36 of file autoconf.h.
#define MOS_PRINTK_WITH_THREAD_ID -1 |
Definition at line 37 of file autoconf.h.
#define MOS_DEBUG_ALL 1 |
Definition at line 38 of file autoconf.h.
#define MOS_DEBUG_cpio 1 |
Definition at line 39 of file autoconf.h.
#define MOS_DEBUG_dcache 1 |
Definition at line 40 of file autoconf.h.
#define MOS_DEBUG_dcache_ref 1 |
Definition at line 41 of file autoconf.h.
#define MOS_DEBUG_dma 1 |
Definition at line 42 of file autoconf.h.
#define MOS_DEBUG_elf 1 |
Definition at line 43 of file autoconf.h.
#define MOS_DEBUG_futex 1 |
Definition at line 44 of file autoconf.h.
#define MOS_DEBUG_io 1 |
Definition at line 45 of file autoconf.h.
#define MOS_DEBUG_ipc 1 |
Definition at line 46 of file autoconf.h.
#define MOS_DEBUG_ipi 1 |
Definition at line 47 of file autoconf.h.
#define MOS_DEBUG_naive_sched 1 |
Definition at line 48 of file autoconf.h.
#define MOS_DEBUG_panic 1 |
Definition at line 49 of file autoconf.h.
#define MOS_DEBUG_pagefault 1 |
Definition at line 50 of file autoconf.h.
#define MOS_DEBUG_pipe 1 |
Definition at line 51 of file autoconf.h.
#define MOS_DEBUG_pmm 1 |
Definition at line 52 of file autoconf.h.
#define MOS_DEBUG_pmm_buddy 1 |
Definition at line 53 of file autoconf.h.
#define MOS_DEBUG_process 1 |
Definition at line 54 of file autoconf.h.
#define MOS_DEBUG_scheduler 1 |
Definition at line 55 of file autoconf.h.
#define MOS_DEBUG_setup 1 |
Definition at line 56 of file autoconf.h.
#define MOS_DEBUG_signal 1 |
Definition at line 57 of file autoconf.h.
#define MOS_DEBUG_slab 1 |
Definition at line 58 of file autoconf.h.
#define MOS_DEBUG_spinlock 1 |
Definition at line 59 of file autoconf.h.
#define MOS_DEBUG_syscall 1 |
Definition at line 60 of file autoconf.h.
#define MOS_DEBUG_sysfs 1 |
Definition at line 61 of file autoconf.h.
#define MOS_DEBUG_thread 1 |
Definition at line 62 of file autoconf.h.
#define MOS_DEBUG_tmpfs 1 |
Definition at line 63 of file autoconf.h.
#define MOS_DEBUG_userfs 1 |
Definition at line 64 of file autoconf.h.
#define MOS_DEBUG_vfs 1 |
Definition at line 65 of file autoconf.h.
#define MOS_DEBUG_vmm 1 |
Definition at line 66 of file autoconf.h.
#define MOS_TESTS 1 |
Definition at line 67 of file autoconf.h.
#define MOS_TEST_ALL 1 |
Definition at line 68 of file autoconf.h.
#define MOS_TEST_printf 1 |
Definition at line 69 of file autoconf.h.
#define MOS_TEST_linked_list 1 |
Definition at line 70 of file autoconf.h.
#define MOS_TEST_kmalloc 1 |
Definition at line 71 of file autoconf.h.
#define MOS_TEST_cmdline_parser 1 |
Definition at line 72 of file autoconf.h.
#define MOS_TEST_hashmap 1 |
Definition at line 73 of file autoconf.h.
#define MOS_TEST_downwards_stack 1 |
Definition at line 74 of file autoconf.h.
#define MOS_TEST_memops 1 |
Definition at line 75 of file autoconf.h.
#define MOS_TEST_ring_buffer 1 |
Definition at line 76 of file autoconf.h.
#define MOS_TEST_vfs 1 |
Definition at line 77 of file autoconf.h.
#define MOS_MLIBC_HEADER_DIR "/opt/x86_64-mos/include/" |
Definition at line 78 of file autoconf.h.
#define MOS_RUST_TARGET "x86_64-unknown-mos" |
Definition at line 79 of file autoconf.h.