2005-11-09 03:55:40 +00:00
|
|
|
#
|
|
|
|
# XBOX -- kernel for an XBOX
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
cpu I686_CPU # Celeron
|
|
|
|
ident XBOX
|
|
|
|
|
|
|
|
makeoptions MODULES_OVERRIDE=""
|
|
|
|
|
|
|
|
options KDB
|
|
|
|
options DDB
|
|
|
|
|
2009-05-10 00:00:25 +00:00
|
|
|
options XBOX # kernel is for XBOX
|
2005-11-09 03:55:40 +00:00
|
|
|
device xboxfb # frame buffer support (REQUIRED!)
|
2006-03-03 14:52:57 +00:00
|
|
|
device sc # syscons
|
|
|
|
device fb
|
2005-11-09 03:55:40 +00:00
|
|
|
|
|
|
|
# no support yet for root device name fetching
|
2011-04-24 08:58:58 +00:00
|
|
|
options ROOTDEVNAME=\"ufs:ada0s1a\"
|
2009-05-10 00:00:25 +00:00
|
|
|
#options ROOTDEVNAME=\"cd9660:acd0\"
|
2005-11-09 03:55:40 +00:00
|
|
|
|
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
|
|
|
options INET # InterNETworking
|
|
|
|
options INET6 # IPv6 communications protocols
|
|
|
|
options FFS # Berkeley Fast Filesystem
|
|
|
|
options SOFTUPDATES # Enable FFS soft updates support
|
|
|
|
#options UFS_ACL # Support for access control lists
|
|
|
|
#options UFS_DIRHASH # Improve performance on big directories
|
|
|
|
#options MD_ROOT # MD is a potential root device
|
2011-08-07 20:16:46 +00:00
|
|
|
options NFSCL # New Network Filesystem Client
|
|
|
|
#options NFSD # New Network Filesystem Server
|
2008-03-27 11:54:20 +00:00
|
|
|
#options NFSLOCKD # Network Lock Manager
|
2011-08-07 20:16:46 +00:00
|
|
|
#options NFS_ROOT # NFS usable as /, requires NFSCL
|
2005-11-09 03:55:40 +00:00
|
|
|
#options MSDOSFS # MSDOS Filesystem
|
|
|
|
options CD9660 # ISO 9660 Filesystem
|
|
|
|
#options PROCFS # Process filesystem (requires PSEUDOFS)
|
|
|
|
#options PSEUDOFS # Pseudo-filesystem framework
|
|
|
|
#options COMPAT_FREEBSD4 # Compatible with FreeBSD4
|
|
|
|
#options KTRACE # ktrace(1) support
|
|
|
|
#options SYSVSHM # SYSV-style shared memory
|
|
|
|
#options SYSVMSG # SYSV-style message queues
|
|
|
|
#options SYSVSEM # SYSV-style semaphores
|
|
|
|
#options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
|
|
|
|
#options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
2006-08-09 23:47:38 +00:00
|
|
|
# Xbox has a non-standard default timer frequency
|
|
|
|
options TIMER_FREQ=1125000 # Gives ~733.34MHz CPU
|
2005-11-09 03:55:40 +00:00
|
|
|
|
|
|
|
#device apic # I/O APIC
|
|
|
|
|
|
|
|
device pci
|
|
|
|
|
|
|
|
# ATA and ATAPI devices
|
|
|
|
device ata
|
2011-04-24 08:58:58 +00:00
|
|
|
options ATA_CAM
|
2011-04-26 17:01:49 +00:00
|
|
|
options ATA_STATIC_ID # Static device numbering
|
2005-11-09 03:55:40 +00:00
|
|
|
|
2011-04-24 08:58:58 +00:00
|
|
|
# ATA/SCSI peripherals
|
|
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
|
|
|
device cd # CD
|
2005-11-09 03:55:40 +00:00
|
|
|
device da # Direct Access (disks)
|
2011-04-24 08:58:58 +00:00
|
|
|
device pass # Passthrough device (direct ATA/SCSI access)
|
2005-11-09 03:55:40 +00:00
|
|
|
|
|
|
|
# Pseudo devices.
|
|
|
|
device loop # Network loopback
|
|
|
|
device random # Entropy device
|
|
|
|
device ether # Ethernet support
|
|
|
|
#device tun # Packet tunnel.
|
Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:
- Improved driver model:
The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.
If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.
- Improved hotplugging:
With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).
The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.
- Improved performance:
One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.
Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.
Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan
2008-08-20 08:31:58 +00:00
|
|
|
device pty # BSD-style compatibility pseudo ttys
|
2005-11-09 03:55:40 +00:00
|
|
|
#device md # Memory "disks"
|
|
|
|
#device gif # IPv6 and IPv4 tunneling
|
|
|
|
#device faith # IPv6-to-IPv4 relaying (translation)
|
|
|
|
|
|
|
|
# The `bpf' device enables the Berkeley Packet Filter.
|
|
|
|
# Be aware of the administrative consequences of enabling this!
|
|
|
|
# Note that 'bpf' is required for DHCP.
|
|
|
|
device bpf # Berkeley packet filter
|
|
|
|
|
|
|
|
# USB support
|
2010-04-22 21:31:34 +00:00
|
|
|
options USB_DEBUG # enable debug msgs
|
2005-11-09 03:55:40 +00:00
|
|
|
#device uhci # UHCI PCI->USB interface
|
|
|
|
device ohci # OHCI PCI->USB interface
|
|
|
|
device usb # USB Bus (required)
|
|
|
|
device ukbd # Keyboard
|
|
|
|
device umass # Disks/Mass storage - Requires scbus and da
|
|
|
|
|
|
|
|
device miibus
|
|
|
|
|
|
|
|
device sound
|
|
|
|
device snd_ich # nForce audio
|
2006-02-04 10:01:33 +00:00
|
|
|
|
2006-06-27 20:22:32 +00:00
|
|
|
device nfe # nVidia nForce MCP on-board Ethernet Networking
|