summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Hook openpromio up to the build.jake2003-06-191-0/+1
|
* Moved the syscons options, kbd options and DEV_SPLASH to the MI optionsjake2003-06-186-158/+33
| | | | file.
* Add "GEOM_FOX", a class which detects and selects between multiplephk2003-06-183-0/+3
| | | | | | | | | | | | | | | | | | | redundant paths to the same device. This class reacts to a label in the first sector of the device, which is created the following way: # "0123456789abcdef012345..." # "<----magic-----><-id-...> echo "GEOM::FOX someid" | dd of=/dev/da0 conv=sync NB: Since the fact that multiple disk devices are in fact the same device is not known to GEOM, the geom taste/spoil process cannot fully catch all corner cases and this module can therefore be confused if you do the right wrong things. NB: The disk level drivers need to do the right thing for this to be useful, and that is not by definition currently the case.
* This is a driver for Fore/Marconi HE155 and HE622 ATM cards. It is fullharti2003-06-172-0/+10
| | | | busdma and has extensively been tested on i386 and sparc64.
* Repo-copy of sys/pci/if_en_pci.c to the rest of the midway driver (sys/dev/en)harti2003-06-161-1/+1
| | | | | so that all of the driver sources are in one place. Adjust the configuration files and the module build.
* Remove CPU_ATHLON_SSE_HACK option.nyan2003-06-151-1/+0
|
* Some glue to allow lint(1) to work on the kernel. This is notmarkm2003-06-142-2/+29
| | | | | complete without some config(8) work. Config(8) needs to provide some ${NORMAL_LINT} rules to make foo.ln files.
* Make the midway driver use the new ATM phy driver. This allows one toharti2003-06-132-0/+4
| | | | | | | toggle several media options (sonet/sdh, for example) with ifconfig and to see the carrier state in ifconfig's output. It gives also read/write access (given the right privilegs) to the S/Uni registers to user space programs.
* Remove the PSYCHO_STRAY option - it was never really useful. Adjust atmm2003-06-121-1/+0
| | | | | nearby comment. PSYCHO_DEBUG remains, as it is quite useful for debugging interrupt routing problems.
* If we're building a debug kernel, add target to install the .gdbinit filesgrog2003-06-121-1/+9
| | | | from tools/debugscripts.
* New global option: BURN_BRIDGESimp2003-06-121-0/+1
| | | | | Compile out code that will disappear in 6.0, per Peter Wemm's bridge burning proposal.
* Deallocate major 177; the openfirm device does not use a fixed majortmm2003-06-111-1/+0
| | | | any more.
* GEOMification of CCD.phk2003-06-091-1/+2
| | | | | You need your kernel and ccdconfig(8) to be in sync, particularly if your source tree is on a ccd device.
* Attempt to fix Alpha build by renaming ident[] to kern_ident[].jmallett2003-06-091-1/+1
|
* Add a comment to de-obfuscate the meaning of the PQ_CACHESIZEhmp2003-06-091-0/+1
| | | | | | | | | kernel configuration option. This created confusion resulting into a PR. PR: docs/45294 Approved by: des (mentor) Discussed with: bmilekic
* Make kernel identification (`ident' in the config(8) driver) available tojmallett2003-06-091-0/+2
| | | | | | | | | userland, and the kernel. In the kernel by way of the 'ident[]' variable akin to all the other stuff generated by newvers.sh. In userland it is available to sysctl consumers via KERN_IDENT or 'kern.ident'. It is exported by uname(1) by the -i flag. Reviewed by: hackers@
* Use the same SEARCH_DIR as other platforms.jake2003-06-071-1/+1
|
* We are at 5.1-CURRENT nowscottl2003-06-021-1/+1
|
* Fix a style nit.obrien2003-06-021-1/+1
| | | | Submitted by: ru
* Be sloppier about the miidevs.h dependency. This reduces the maintenanceobrien2003-06-011-7/+1
| | | | | | effort at the expense of making miidevs.h a dependency for very .o. Requested by: imp
* If DESTDIR was specified as a makeoption in the kernelconfig filephk2003-05-311-0/+5
| | | | | we want to pass it on to the modules build so we don't install the kernel under DESTDIR and the modules in /boot.
* Eliminate potential overflows by allocating softc dynamically,phk2003-05-312-2/+2
| | | | | | | removing at the same time the need for this to be a "count" config option. Found by: FlexeLint
* Make this compile with WITNESS enabled. It wants the syscall names.peter2003-05-311-0/+1
|
* Port acpica to amd64.peter2003-05-311-0/+3
| | | | Approved by: re (amd64/* blanket)
* Update the kernel compile flags inside the .if ${MACHINE_ARCH} == "amd64"peter2003-05-301-1/+2
| | | | | | | | | section to stop gcc generating the dwarf2 .eh_frame unwind tables. It is dead weight for the time being. Maybe it can be used to perform stack traces and/or get the location of function arguments in ddb, but that requires a dwarf2 runtime interpreter, which we do not have. Approved by: re (amd64 "safe" bits)
* Add ddb machdep bits.peter2003-05-302-0/+9
| | | | Approved by: re (amd64 bits)
* Major pmap rework to take advantage of the larger address space on amd64peter2003-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | systems. Of note: - Implement a direct mapped region using 2MB pages. This eliminates the need for temporary mappings when getting ptes. This supports up to 512GB of physical memory for now. This should be enough for a while. - Implement a 4-tier page table system. Most of the infrastructure is there for 128TB of userland virtual address space, but only 512GB is presently enabled due to a mystery bug somewhere. The design of this was heavily inspired by the alpha pmap.c. - The kernel is moved into the negative address space(!). - The kernel has 2GB of KVM available. - Provide a uma memory allocator to use the direct map region to take advantage of the 2MB TLBs. - Fixed some assumptions in the bus_space macros about the ability to fit virtual addresses in an 'int'. Notable missing things: - pmap_growkernel() should be able to grow to 512GB of KVM by expanding downwards below kernbase. The kernel must be at the top 2GB of the negative address space because of gcc code generation strategies. - need to fix the >512GB user vm code. Approved by: re (blanket)
* Another x86-64 comment fixuppeter2003-05-191-1/+1
| | | | Approved by: re (blanket amd64 stuff)
* s/x86_64/amd64/ in comments in header.peter2003-05-191-3/+3
| | | | Approved by: re (blanket amd64)
* Add the MUTEX_NOINLINE option that explicitely de-inlines the mutexscottl2003-05-181-0/+1
| | | | | | operations. Submitted by: jhb
* Revamp of the syscall path, exception and context handling. Themarcel2003-05-163-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prime objectives are: o Implement a syscall path based on the epc inststruction (see sys/ia64/ia64/syscall.s). o Revisit the places were we need to save and restore registers and define those contexts in terms of the register sets (see sys/ia64/include/_regset.h). Secundairy objectives: o Remove the requirement to use contigmalloc for kernel stacks. o Better handling of the high FP registers for SMP systems. o Switch to the new cpu_switch() and cpu_throw() semantics. o Add a good unwinder to reconstruct contexts for the rare cases we need to (see sys/contrib/ia64/libuwx) Many files are affected by this change. Functionally it boils down to: o The EPC syscall doesn't preserve registers it does not need to preserve and places the arguments differently on the stack. This affects libc and truss. o The address of the kernel page directory (kptdir) had to be unstaticized for use by the nested TLB fault handler. The name has been changed to ia64_kptdir to avoid conflicts. The renaming affects libkvm. o The trapframe only contains the special registers and the scratch registers. For syscalls using the EPC syscall path no scratch registers are saved. This affects all places where the trapframe is accessed. Most notably the unaligned access handler, the signal delivery code and the debugger. o Context switching only partly saves the special registers and the preserved registers. This affects cpu_switch() and triggered the move to the new semantics, which additionally affects cpu_throw(). o The high FP registers are either in the PCB or on some CPU. context switching for them is done lazily. This affects trap(). o The mcontext has room for all registers, but not all of them have to be defined in all cases. This mostly affects signal delivery code now. The *context syscalls are as of yet still unimplemented. Many details went into the removal of the requirement to use contigmalloc for kernel stacks. The details are mostly CPU specific and limited to exception_save() and exception_restore(). The few places where we create, destroy or switch stacks were mostly simplified by not having to construct physical addresses and additionally saving the virtual addresses for later use. Besides more efficient context saving and restoring, which of course yields a noticable speedup, this also fixes the dreaded SMP bootup problem as a side-effect. The details of which are still not fully understood. This change includes all the necessary backward compatibility code to have it handle older userland binaries that use the break instruction for syscalls. Support for break-based syscalls has been pessimized in favor of a clean implementation. Due to the overall better performance of the kernel, this will still be notived as an improvement if it's noticed at all. Approved by: re@ (jhb)
* Sync the linker script with the one used by default for userland. Sincemarcel2003-05-161-76/+82
| | | | | | | ia64 only uses relocations with addend, remove the sections specific to non-addend relocations (.rel.*). Also remove C++ specific sections. Approved by: re@ (blanket)
* Run $S/kern/genassym.sh with the correct NM.obrien2003-05-161-1/+1
| | | | Approved by: re(blanket)
* Clear up that COMPAT_43 may not do the same thing on every architecturejmallett2003-05-151-1/+10
| | | | | | | and clear up that COMPAT_SUNOS is similarly MI, and does something relatively similar. Approved by: re/rwatson
* Add BASIC i386 binary support for the amd64 kernel. This is largelypeter2003-05-142-1/+22
| | | | | | | | | | | | | | | | | | | | | | stolen from the ia64/ia32 code (indeed there was a repocopy), but I've redone the MD parts and added and fixed a few essential syscalls. It is sufficient to run i386 binaries like /bin/ls, /usr/bin/id (dynamic) and p4. The ia64 code has not implemented signal delivery, so I had to do that. Before you say it, yes, this does need to go in a common place. But we're in a freeze at the moment and I didn't want to risk breaking ia64. I will sort this out after the freeze so that the common code is in a common place. On the AMD64 side, this required adding segment selector context switch support and some other support infrastructure. The %fs/%gs etc code is hairy because loading %gs will clobber the kernel's current MSR_GSBASE setting. The segment selectors are not used by the kernel, so they're only changed at context switch time or when changing modes. This still needs to be optimized. Approved by: re (amd64/* blanket)
* Add files for the 'ips' driver.scottl2003-05-111-0/+5
|
* garbage collect the reserved major for the ips disk device. GEOM makesscottl2003-05-111-1/+0
| | | | it unneeded.
* Remove special hacks for FSF cross tools now that it builds natively.peter2003-05-101-13/+0
|
* We are now in 5.1-BETAscottl2003-05-061-2/+2
|
* Put descriptive comments on the GEOM_* optionsphk2003-05-051-9/+9
|
* Use C99 for the kernel.obrien2003-05-031-1/+1
|
* Add RealTek RTL8150 USB to fast Ethernet controller driver.akiyama2003-05-032-0/+6
| | | | | | | | This driver now supports the Melco LUA-KTX and the GREEN HOUSE GH-USB100B. Reviewed by: imp MFC after: 2 weeks
* Spell cpu_switch correctly.peter2003-05-031-1/+1
|
* Rename amd64/*.s to amd64/*.Speter2003-05-031-5/+5
|
* - Move decoding pc98_partition function into geom_pc98_enc.c.nyan2003-05-012-0/+2
| | | | - Add encoding pc98_partition function.
* Sync up with the files in the hammer branch in the p4 tree to get basicpeter2003-05-014-114/+219
| | | | AMD64 support. There is still more to add.
* Add AMD64 hookspeter2003-04-301-0/+9
|
* Help out with linting. Print the ${LINT} command line. This makesmarkm2003-04-301-1/+1
| | | | the all-important -DFOO -IBAR options "hang out".
* Catch up with the new acpi files.njl2003-04-291-21/+24
|
* Sort lines.marcel2003-04-291-44/+44
|
OpenPOWER on IntegriCloud