#include <string.h>
-#include "kernel/kernel.h"
#include "acpi.h"
#include "arch_proto.h"
/*
* APIC handling routines. APIC is a requirement for SMP
*/
-#include "kernel/kernel.h"
#include <assert.h>
#include <unistd.h>
#include <minix/syslib.h>
#include <machine/cmos.h>
-#include "arch_proto.h"
-
#include <minix/u64.h>
#include "apic.h"
/* i386-specific clock functions. */
#include <machine/ports.h>
-#include <minix/portio.h>
-
-#include "kernel/kernel.h"
#include "kernel/clock.h"
#include "kernel/interrupt.h"
#include <minix/u64.h>
-#include "kernel/glo.h"
-#include "kernel/profile.h"
#include <sys/sched.h> /* for CP_*, CPUSTATES */
#if CPUSTATES != MINIX_CPUSTATES
#include "kernel/system.h"
#include <assert.h>
-#include <minix/type.h>
#include "arch_proto.h"
#include <machine/cmos.h>
#include <machine/bios.h>
#include <machine/cpu.h>
-#include <minix/portio.h>
#include <minix/cpufeature.h>
#include <sys/reboot.h>
#include <assert.h>
#include <minix/u64.h>
-#include "archconst.h"
#include "arch_proto.h"
-#include "serial.h"
#include "oxpcie.h"
#include "direct_utils.h"
-#include <machine/multiboot.h>
#ifdef USE_ACPI
#include "acpi.h"
#define _SMP
-#include "kernel/kernel.h"
-#include "arch_proto.h"
#include <unistd.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
-#include <machine/archtypes.h>
-#include <archconst.h>
#include <machine/cmos.h>
#include <machine/bios.h>
-#include <minix/portio.h>
#include "kernel/spinlock.h"
#include "kernel/smp.h"
/* system dependent functions for use inside the whole kernel. */
-#include "kernel/kernel.h"
-
#include <unistd.h>
#include <ctype.h>
#include <string.h>
#include <minix/u64.h>
#include "archconst.h"
-#include "arch_proto.h"
-#include "serial.h"
#include "oxpcie.h"
-#include <machine/multiboot.h>
#include "glo.h"
-#include "kernel/kernel.h"
#include "kernel/watchdog.h"
-#include "arch_proto.h"
#include "glo.h"
#include <minix/minlib.h>
#include <minix/u64.h>
-#include "kernel/kernel.h"
#include <minix/minlib.h>
-#include <minix/const.h>
#include <minix/cpufeature.h>
-#include <minix/type.h>
-#include <minix/com.h>
-#include <sys/types.h>
-#include <sys/param.h>
#include <machine/partition.h>
#include "string.h"
-#include "arch_proto.h"
#include "direct_utils.h"
#include "serial.h"
#include "glo.h"
-#include <machine/multiboot.h>
/* Give non-zero values to avoid them in BSS */
static int print_line = 1, print_col = 1;
*/
#include "kernel/system.h"
-#include "kernel/kernel.h"
#include <minix/endpoint.h>
#include "arch_proto.h"
*/
#include "kernel/system.h"
-#include <minix/type.h>
/*===========================================================================*
* do_readbios *
#include "kernel/kernel.h"
#include "arch_proto.h"
#include "hw_intr.h"
-#include <minix/portio.h>
#include <machine/cpu.h>
#define ICW1_AT 0x11 /* edge triggered, cascade, need ICW4 */
#include <machine/vm.h>
-#include <minix/type.h>
#include <minix/syslib.h>
#include <minix/cpufeature.h>
#include <string.h>
#define UNPAGED 1 /* for proper kmain() prototype */
-#include "kernel/kernel.h"
#include <assert.h>
#include <stdlib.h>
#include <minix/minlib.h>
-#include <minix/const.h>
-#include <minix/type.h>
#include <minix/board.h>
-#include <minix/com.h>
-#include <sys/types.h>
-#include <sys/param.h>
#include <sys/reboot.h>
#include <machine/partition.h>
#include "string.h"
-#include "arch_proto.h"
#include "direct_utils.h"
#include "serial.h"
#include "glo.h"
-#include <machine/multiboot.h>
#if USE_SYSDEBUG
#define MULTIBOOT_VERBOSE 1
#include <minix/cpufeature.h>
#include <sys/types.h>
-#include <machine/multiboot.h>
#include "kernel/kernel.h"
-#include "archconst.h"
#include "arch_proto.h"
#include <sys/exec.h>
* Sep 24, 2004 redesigned alarm timers (Jorrit N. Herder)
*/
-#include "kernel/kernel.h"
#include <minix/endpoint.h>
#include <stdlib.h>
#include <string.h>
#include <minix/config.h>
#include <minix/bitmap.h>
-#include "config.h"
#include "debug.h"
/* Translate an endpoint number to a process number, return success. */
#include "kernel/kernel.h"
#include <minix/callnr.h>
-#include <minix/sysutil.h>
#include <minix/u64.h>
#include <limits.h>
#include <string.h>
#include <assert.h>
#include "kernel/kernel.h"
-#include "archconst.h"
#include "hw_intr.h"
* main: MINIX main program
* prepare_shutdown: prepare to take MINIX down
*/
-#include "kernel/kernel.h"
#include <string.h>
#include <stdlib.h>
#include <assert.h>
-#include <minix/com.h>
#include <minix/endpoint.h>
#include <machine/vmparam.h>
#include <minix/u64.h>
#include <minix/board.h>
-#include <minix/type.h>
#include <sys/reboot.h>
#include "clock.h"
#include "direct_utils.h"
* Nov 22, 2009 rewrite of privilege management (Cristiano Giuffrida)
* Jul 01, 2005 Created. (Jorrit N. Herder)
*/
-#include <minix/com.h>
#include <minix/const.h>
#include <minix/priv.h>
#include "kernel/const.h"
* nonempty lists. As shown above, this is not required with pointer pointers.
*/
-#include <minix/com.h>
-#include <minix/ipcconst.h>
#include <stddef.h>
#include <signal.h>
#include <assert.h>
#include <string.h>
-#include "kernel/kernel.h"
#include "vm.h"
#include "clock.h"
#include "spinlock.h"
* 14 Aug, 2006 Created, (Rogier Meurs)
*/
-#include <minix/config.h>
-
#include "kernel/kernel.h"
-#include <minix/profile.h>
-#include <minix/portio.h>
-
#if SPROFILE
#include <string.h>
* Sep 30, 2004 source code documentation updated (Jorrit N. Herder)
*/
-#include "kernel/kernel.h"
#include "kernel/system.h"
#include "kernel/vm.h"
#include "kernel/clock.h"
#include "kernel/system.h"
#include "kernel/vm.h"
-#include <minix/type.h>
#include <assert.h>
#if (USE_VIRCOPY || USE_PHYSCOPY)
#include "kernel/system.h"
#include <minix/devio.h>
#include <minix/endpoint.h>
-#include <minix/portio.h>
#if USE_DEVIO
* m_krn_lsys_sys_irqctl.hook_id (returns index of irq hook assigned at kernel)
*/
-#include "kernel/kernel.h"
#include "kernel/system.h"
#include <minix/endpoint.h>
*/
#include "kernel/system.h"
-#include "kernel/ipc.h"
#include <signal.h>
#include <string.h>
#include <minix/endpoint.h>
#include <assert.h>
#include "kernel/system.h"
-#include "kernel/kernel.h"
#include "kernel/vm.h"
#define MAX_INDIRECT_DEPTH 5 /* up to how many indirect grants to follow? */
#include <minix/safecopies.h>
#include "kernel/system.h"
-#include "kernel/kernel.h"
/*===========================================================================*
* do_safememset *
*/
#include "kernel/system.h"
-#include "kernel/ipc.h"
#include <string.h>
#include <assert.h>
#include "kernel/system.h"
#include <minix/devio.h>
#include <minix/endpoint.h>
-#include <minix/portio.h>
#if USE_VDEVIO
#include "kernel/system.h"
#include "kernel/vm.h"
-#include "kernel/debug.h"
#include <assert.h>
-#include <minix/type.h>
/*===========================================================================*
* do_vmctl *
#define _TABLE
#include "kernel/kernel.h"
-#include <minix/com.h>
/* The system image table lists all programs that are part of the boot image.
* The order of the entries here MUST agree with the order of the programs
#include "watchdog.h"
#include "arch/i386/glo.h"
-#include "profile.h"
unsigned watchdog_local_timer_ticks = 0U;
struct arch_watchdog *watchdog;