header cleanup
Change-Id: I4e169911591c56e91c301c5cb0bb3ea2d8140cf2
This commit is contained in:
parent
c1d4abeb0c
commit
9624407e7a
@ -1,7 +1,6 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "kernel/kernel.h"
|
||||
#include "acpi.h"
|
||||
#include "arch_proto.h"
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
/*
|
||||
* APIC handling routines. APIC is a requirement for SMP
|
||||
*/
|
||||
#include "kernel/kernel.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include <unistd.h>
|
||||
@ -10,8 +9,6 @@
|
||||
#include <minix/syslib.h>
|
||||
#include <machine/cmos.h>
|
||||
|
||||
#include "arch_proto.h"
|
||||
|
||||
#include <minix/u64.h>
|
||||
|
||||
#include "apic.h"
|
||||
|
@ -1,15 +1,10 @@
|
||||
/* 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
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include "kernel/system.h"
|
||||
#include <assert.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
#include "arch_proto.h"
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
#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>
|
||||
@ -14,12 +13,9 @@
|
||||
|
||||
#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"
|
||||
|
@ -6,17 +6,12 @@
|
||||
|
||||
#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"
|
||||
|
@ -1,7 +1,5 @@
|
||||
/* system dependent functions for use inside the whole kernel. */
|
||||
|
||||
#include "kernel/kernel.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
@ -17,10 +15,7 @@
|
||||
#include <minix/u64.h>
|
||||
|
||||
#include "archconst.h"
|
||||
#include "arch_proto.h"
|
||||
#include "serial.h"
|
||||
#include "oxpcie.h"
|
||||
#include <machine/multiboot.h>
|
||||
|
||||
#include "glo.h"
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
#include "kernel/kernel.h"
|
||||
#include "kernel/watchdog.h"
|
||||
#include "arch_proto.h"
|
||||
#include "glo.h"
|
||||
#include <minix/minlib.h>
|
||||
#include <minix/u64.h>
|
||||
|
@ -1,19 +1,11 @@
|
||||
|
||||
#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;
|
||||
|
@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
#include "kernel/system.h"
|
||||
#include "kernel/kernel.h"
|
||||
#include <minix/endpoint.h>
|
||||
|
||||
#include "arch_proto.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
*/
|
||||
|
||||
#include "kernel/system.h"
|
||||
#include <minix/type.h>
|
||||
|
||||
/*===========================================================================*
|
||||
* do_readbios *
|
||||
|
@ -8,7 +8,6 @@
|
||||
#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 */
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#include <machine/vm.h>
|
||||
|
||||
#include <minix/type.h>
|
||||
#include <minix/syslib.h>
|
||||
#include <minix/cpufeature.h>
|
||||
#include <string.h>
|
||||
|
@ -1,24 +1,16 @@
|
||||
|
||||
#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
|
||||
|
@ -8,10 +8,8 @@
|
||||
|
||||
#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>
|
||||
|
@ -12,7 +12,6 @@
|
||||
* Sep 24, 2004 redesigned alarm timers (Jorrit N. Herder)
|
||||
*/
|
||||
|
||||
#include "kernel/kernel.h"
|
||||
#include <minix/endpoint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <minix/config.h>
|
||||
#include <minix/bitmap.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "debug.h"
|
||||
|
||||
/* Translate an endpoint number to a process number, return success. */
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "kernel/kernel.h"
|
||||
|
||||
#include <minix/callnr.h>
|
||||
#include <minix/sysutil.h>
|
||||
#include <minix/u64.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <assert.h>
|
||||
|
||||
#include "kernel/kernel.h"
|
||||
#include "archconst.h"
|
||||
#include "hw_intr.h"
|
||||
|
||||
|
||||
|
@ -8,16 +8,13 @@
|
||||
* 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"
|
||||
|
@ -12,7 +12,6 @@
|
||||
* 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"
|
||||
|
@ -29,14 +29,11 @@
|
||||
* 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"
|
||||
|
@ -6,13 +6,8 @@
|
||||
* 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>
|
||||
|
@ -32,7 +32,6 @@
|
||||
* 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"
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include "kernel/system.h"
|
||||
#include "kernel/vm.h"
|
||||
#include <minix/type.h>
|
||||
#include <assert.h>
|
||||
|
||||
#if (USE_VIRCOPY || USE_PHYSCOPY)
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "kernel/system.h"
|
||||
#include <minix/devio.h>
|
||||
#include <minix/endpoint.h>
|
||||
#include <minix/portio.h>
|
||||
|
||||
#if USE_DEVIO
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
* 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>
|
||||
|
@ -10,7 +10,6 @@
|
||||
*/
|
||||
|
||||
#include "kernel/system.h"
|
||||
#include "kernel/ipc.h"
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <minix/endpoint.h>
|
||||
|
@ -16,7 +16,6 @@
|
||||
#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? */
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include <minix/safecopies.h>
|
||||
|
||||
#include "kernel/system.h"
|
||||
#include "kernel/kernel.h"
|
||||
|
||||
/*===========================================================================*
|
||||
* do_safememset *
|
||||
|
@ -8,7 +8,6 @@
|
||||
*/
|
||||
|
||||
#include "kernel/system.h"
|
||||
#include "kernel/ipc.h"
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "kernel/system.h"
|
||||
#include <minix/devio.h>
|
||||
#include <minix/endpoint.h>
|
||||
#include <minix/portio.h>
|
||||
|
||||
#if USE_VDEVIO
|
||||
|
||||
|
@ -9,9 +9,7 @@
|
||||
|
||||
#include "kernel/system.h"
|
||||
#include "kernel/vm.h"
|
||||
#include "kernel/debug.h"
|
||||
#include <assert.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
/*===========================================================================*
|
||||
* do_vmctl *
|
||||
|
@ -30,7 +30,6 @@
|
||||
#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
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include "watchdog.h"
|
||||
#include "arch/i386/glo.h"
|
||||
#include "profile.h"
|
||||
|
||||
unsigned watchdog_local_timer_ticks = 0U;
|
||||
struct arch_watchdog *watchdog;
|
||||
|
Loading…
x
Reference in New Issue
Block a user