remove extra mkfs.1
[minix.git] / include / minix / param.h
blob104d7b01641120520396813f98aac8d94f793e34
2 #ifndef _MINIX_PARAM_H
3 #define _MINIX_PARAM_H 1
5 #include <minix/com.h>
6 #include <minix/const.h>
8 /* Number of processes contained in the system image. */
9 #define NR_BOOT_PROCS (NR_TASKS + LAST_SPECIAL_PROC_NR + 1)
11 /* This is used to obtain system information through SYS_GETINFO. */
12 #define MAXMEMMAP 40
13 typedef struct kinfo {
14 /* Straight multiboot-provided info */
15 multiboot_info_t mbi;
16 multiboot_module_t module_list[MULTIBOOT_MAX_MODS];
17 multiboot_memory_map_t memmap[MAXMEMMAP]; /* free mem list */
18 phys_bytes mem_high_phys;
19 int mmap_size;
21 /* Multiboot-derived */
22 int mods_with_kernel; /* no. of mods incl kernel */
23 int kern_mod; /* which one is kernel */
25 /* Minix stuff, started at bootstrap phase */
26 int freepde_start; /* lowest pde unused kernel pde */
27 char param_buf[MULTIBOOT_PARAM_BUF_SIZE];
29 /* Minix stuff */
30 struct kmessages *kmessages;
31 int do_serial_debug; /* system serial output */
32 int serial_debug_baud; /* serial baud rate */
33 int minix_panicing; /* are we panicing? */
34 vir_bytes user_sp; /* where does kernel want stack set */
35 vir_bytes user_end; /* upper proc limit */
36 vir_bytes vir_kern_start; /* kernel addrspace starts */
37 vir_bytes bootstrap_start, bootstrap_len;
38 struct boot_image boot_procs[NR_BOOT_PROCS];
39 int nr_procs; /* number of user processes */
40 int nr_tasks; /* number of kernel tasks */
41 char release[6]; /* kernel release number */
42 char version[6]; /* kernel version number */
43 int vm_allocated_bytes; /* allocated by kernel to load vm */
44 int kernel_allocated_bytes; /* used by kernel */
45 } kinfo_t;
47 #endif