Enable kernel debugging on arm64, other than GDB as it fails to build.
[freebsd.git] / sys / arm64 / conf / GENERIC
1 #
2 # GENERIC -- Generic kernel configuration file for FreeBSD/arm64
3 #
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
6 #
7 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8 #
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12 # latest information.
13 #
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
17 # in NOTES.
18 #
19 # $FreeBSD$
20
21 cpu             ARM64
22 ident           GENERIC
23
24 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
25 makeoptions     NO_MODULES=1            # We don't yet support modules on arm64
26
27 options         SCHED_ULE               # ULE scheduler
28 options         PREEMPTION              # Enable kernel thread preemption
29 options         INET                    # InterNETworking
30 options         INET6                   # IPv6 communications protocols
31 options         TCP_OFFLOAD             # TCP offload
32 options         SCTP                    # Stream Control Transmission Protocol
33 options         FFS                     # Berkeley Fast Filesystem
34 options         SOFTUPDATES             # Enable FFS soft updates support
35 options         UFS_ACL                 # Support for access control lists
36 options         UFS_DIRHASH             # Improve performance on big directories
37 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
38 options         QUOTA                   # Enable disk quotas for UFS
39 options         MD_ROOT                 # MD is a potential root device
40 options         NFSCL                   # New Network Filesystem Client
41 options         NFSD                    # New Network Filesystem Server
42 options         NFSLOCKD                # Network Lock Manager
43 options         NFS_ROOT                # NFS usable as /, requires NFSCL
44 options         MSDOSFS                 # MSDOS Filesystem
45 options         CD9660                  # ISO 9660 Filesystem
46 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
47 options         PSEUDOFS                # Pseudo-filesystem framework
48 options         GEOM_PART_GPT           # GUID Partition Tables.
49 options         GEOM_RAID               # Soft RAID functionality.
50 options         GEOM_LABEL              # Provides labelization
51 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
52 options         KTRACE                  # ktrace(1) support
53 options         STACK                   # stack(9) support
54 options         SYSVSHM                 # SYSV-style shared memory
55 options         SYSVMSG                 # SYSV-style message queues
56 options         SYSVSEM                 # SYSV-style semaphores
57 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
58 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
59 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
60 options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
61 options         AUDIT                   # Security event auditing
62 options         CAPABILITY_MODE         # Capsicum capability mode
63 options         CAPABILITIES            # Capsicum capabilities
64 options         MAC                     # TrustedBSD MAC Framework
65 options         KDTRACE_FRAME           # Ensure frames are compiled in
66 options         KDTRACE_HOOKS           # Kernel DTrace hooks
67 options         VFP                     # Floating-point support
68 options         RACCT                   # Resource accounting framework
69 options         RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
70 options         RCTL                    # Resource limits
71
72 # Debugging support.  Always need this:
73 options         KDB                     # Enable kernel debugger support.
74 options         KDB_TRACE               # Print a stack trace for a panic.
75 # For full debugger support use (turn off in stable branch):
76 options         DDB                     # Support DDB.
77 #options        GDB                     # Support remote GDB.
78 options         DEADLKRES               # Enable the deadlock resolver
79 options         INVARIANTS              # Enable calls of extra sanity checking
80 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
81 options         WITNESS                 # Enable checks to detect deadlocks and cycles
82 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
83 options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
84
85 device          virtio
86 device          virtio_mmio
87 device          virtio_blk
88 device          vtnet
89
90 # Serial (COM) ports
91 device          uart            # Generic UART driver
92 device          pl011
93
94 # Pseudo devices.
95 device          loop            # Network loopback
96 device          random          # Entropy device
97 device          ether           # Ethernet support
98 device          vlan            # 802.1Q VLAN support
99 device          tun             # Packet tunnel.
100 device          md              # Memory "disks"
101 device          gif             # IPv6 and IPv4 tunneling
102 device          firmware        # firmware assist module
103 device          psci            # Support for ARM PSCI
104
105 # The `bpf' device enables the Berkeley Packet Filter.
106 # Be aware of the administrative consequences of enabling this!
107 # Note that 'bpf' is required for DHCP.
108 device          bpf             # Berkeley packet filter
109
110 options         FDT
111 device          acpi