meta: rename

This commit is contained in:
2024-11-02 11:31:51 +00:00
parent 065fdeec65
commit 62ec4c93ab
140 changed files with 422 additions and 857 deletions

View File

@@ -1,9 +1,9 @@
#include <socks/status.h>
#include <mango/status.h>
#include <limits.h>
#include <socks/vm.h>
#include <socks/memblock.h>
#include <socks/printk.h>
#include <socks/machine/cpu.h>
#include <mango/vm.h>
#include <mango/memblock.h>
#include <mango/printk.h>
#include <mango/machine/cpu.h>
#include <stddef.h>
#include <limits.h>
#include <stdint.h>

View File

@@ -1,8 +1,8 @@
#include <socks/queue.h>
#include <socks/compiler.h>
#include <socks/panic.h>
#include <socks/vm.h>
#include <socks/util.h>
#include <mango/queue.h>
#include <mango/compiler.h>
#include <mango/panic.h>
#include <mango/vm.h>
#include <mango/util.h>
#include <stddef.h>
#define FREELIST_END ((unsigned int)-1)

View File

@@ -15,9 +15,9 @@
memory outstripts free memory), the sparse memory model may
be a better choice.
*/
#include <socks/vm.h>
#include <socks/memblock.h>
#include <socks/printk.h>
#include <mango/vm.h>
#include <mango/memblock.h>
#include <mango/printk.h>
/* array of pages, one for each physical page frame present in RAM */
static struct vm_page *page_array = NULL;

View File

@@ -1,8 +1,8 @@
#include <socks/types.h>
#include <socks/memblock.h>
#include <socks/vm.h>
#include <socks/util.h>
#include <socks/libc/string.h>
#include <mango/types.h>
#include <mango/memblock.h>
#include <mango/vm.h>
#include <mango/util.h>
#include <mango/libc/string.h>
#define SIZE_N_CACHE(s) \
{ .c_name = "size-" # s, .c_obj_size = s, .c_page_order = VM_PAGE_16K }

View File

@@ -21,9 +21,9 @@
*/
#include <stdbool.h>
#include <limits.h>
#include <socks/types.h>
#include <socks/libc/string.h>
#include <socks/memblock.h>
#include <mango/types.h>
#include <mango/libc/string.h>
#include <mango/memblock.h>
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))

View File

@@ -1,4 +1,4 @@
#include <socks/vm.h>
#include <mango/vm.h>
static enum vm_model model;

View File

@@ -1,8 +1,8 @@
#include <socks/types.h>
#include <socks/memblock.h>
#include <socks/printk.h>
#include <socks/vm.h>
#include <socks/libc/string.h>
#include <mango/types.h>
#include <mango/memblock.h>
#include <mango/printk.h>
#include <mango/vm.h>
#include <mango/libc/string.h>
/* Pre-calculated page order -> size conversion table */
static size_t page_order_bytes[] = {

View File

@@ -22,13 +22,13 @@
of the sparse memory model may be outweighed by the extra
overhead, and the flat memory model may be a better choice.
*/
#include <socks/vm.h>
#include <socks/arg.h>
#include <socks/printk.h>
#include <socks/panic.h>
#include <socks/memblock.h>
#include <socks/util.h>
#include <socks/machine/cpu.h>
#include <mango/vm.h>
#include <mango/arg.h>
#include <mango/printk.h>
#include <mango/panic.h>
#include <mango/memblock.h>
#include <mango/util.h>
#include <mango/machine/cpu.h>
static struct vm_sector *sector_array = NULL;
static size_t sector_array_count = 0;

View File

@@ -1,12 +1,12 @@
#include <socks/locks.h>
#include <socks/util.h>
#include <socks/queue.h>
#include <socks/memblock.h>
#include <socks/types.h>
#include <socks/vm.h>
#include <socks/printk.h>
#include <socks/libc/string.h>
#include <socks/machine/cpu.h>
#include <mango/locks.h>
#include <mango/util.h>
#include <mango/queue.h>
#include <mango/memblock.h>
#include <mango/types.h>
#include <mango/vm.h>
#include <mango/printk.h>
#include <mango/libc/string.h>
#include <mango/machine/cpu.h>
static struct vm_page *group_pages_into_block(struct vm_zone *z, phys_addr_t base, phys_addr_t limit, int order)
{