summaryrefslogtreecommitdiffstats
path: root/sys/pc98
Commit message (Collapse)AuthorAgeFilesLines
* MFi386: revision 1.1204.nyan2005-07-211-1/+1
|
* Add recently invented COMPAT_FREEBSD5 option.kensmith2005-07-141-0/+1
| | | | MFC after: 3 days
* Fixup some more fallout from the lapic/i8254 changes:jhb2005-07-132-48/+40
| | | | | | | | | | | | - Make sure timer0_max_count is set to a correct value in the lapic case. - Revert i8254_restore() to explicitly reprogram timer 0 rather than calling set_timer_freq() to do it. set_timer_freq() only reprograms the counter if the max count changes which it never does on resume. This unbreaks suspend/resume for several people. Tested by: marks, others Reviewed by: bde MFC after: 3 days
* MFi386: revision 1.617.nyan2005-07-131-1/+1
|
* Remove a || 1 that crept into the i8254 commit and was subsequentlyjhb2005-07-052-2/+2
| | | | | | | | | copied and pasted. I had actually tested without this change in my trees as had the other testers. Reported by: bde, Rostislav Krasny rosti dot bsd at gmail dot com Approved by: re (scottl) Pointy hat to: jhb
* MFi386: r1.221 (Use a simpler implementation for the i8254 timecounter).nyan2005-07-032-24/+70
| | | | Approved by: re (scottl)
* Remove the CPU_ENABLE_SSE option from the i386 and pc98 architectures,delphij2005-07-022-8/+1
| | | | | | | | | | | | | | | | | | | | | | | as they are already default for I686_CPU for almost 3 years, and CPU_DISABLE_SSE always disables it. On the other hand, CPU_ENABLE_SSE does not work for I486_CPU and I586_CPU. This commit has: - Removed the option from conf/options.* - Removed the option and comments from MD NOTES files - Simplified the CPU_ENABLE_SSE ifdef's so they don't deal with CPU_ENABLE_SSE from kernel configuration. (*) For most users, this commit should be largely no-op. If you used to place CPU_ENABLE_SSE into your kernel configuration for some reason, it is time to remove it. (*) The ifdef's of CPU_ENABLE_SSE are not removed at this point, since we need to change it to !defined(CPU_DISABLE_SSE) && defined(I686_CPU), not just !defined(CPU_DISABLE_SSE), if we really want to do so. Discussed on: -arch Approved by: re (scottl)
* MFi386: revision 1.615 (change kernel crashdump format to ELF).nyan2005-06-301-20/+38
| | | | Approved by: re (scottl)
* Connect reiserfs build to every platforms, not only i386 and pc98.dumbbell2005-06-211-6/+0
| | | | | Reviewed by: mux (mentor) Approved by: re (dougb)
* Add .cvsignore files just like in sys/<arch>/compiled, this keeps CVS fromobrien2005-06-201-0/+1
| | | | | | questing kernel config files not in CVS. Approved by: re(kensmith)
* Sync with syscons update (Add new member to struct sc_rndr_sw).nyan2005-05-291-0/+2
|
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386nyan2005-05-292-8/+0
| | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
* Change the spkr_set_pitch() function to a macro to fix low level profiling.nyan2005-05-281-7/+5
|
* MFi386: Add ReiserFSnyan2005-05-251-0/+6
|
* Add new ral(4) and ural(4) drivers.damien2005-05-241-0/+2
| | | | Approved by: silby (mentor)
* Fix my copyright.nyan2005-05-143-3/+4
|
* - Move bus dependent defines to {isa,cbus}_dmareg.h.nyan2005-05-143-11/+45
| | | | | | - Use isa/isareg.h rather than <arch>/isa/isa.h. Tested on: i386, pc98
* - Move timerreg.h to <arch>/include and split i8253 specific defines intonyan2005-05-146-26/+136
| | | | | | | | | i8253reg.h, and add some defines to control a speaker. - Move PPI related defines from i386/isa/spkr.c into ppireg.h and use them. - Move IO_{PPI,TIMER} defines into ppireg.h and timerreg.h respectively. - Use isa/isareg.h rather than <arch>/isa/isa.h. Tested on: i386, pc98
* MFi386: revision 1.614.nyan2005-05-141-2/+2
|
* Move the pc98 keymap define into pckbdtables.h because it should be usednyan2005-05-122-1/+204
| | | | only on the pckbd driver.
* - Move the NPX_DEBUG option to options.{i386,pc98} and use opt_npx.h.nyan2005-05-122-15/+45
| | | | | - Move npx related defines to {i386,pc98}/include/npx.h to remove #include {isa,cbus}.h.
* - Move lptreg.h into pc98/cbus and rename to olptreg.h.nyan2005-05-102-1/+49
| | | | - Remove ifdef pc98.
* Change a directory layout for pc98.nyan2005-05-1037-22320/+19
| | | | | | | | | - Move MD files into <arch>/<arch>. - Move bus dependent files into <arch>/<bus>. Rename some files to more suitable names. Repo-copied by: peter Discussed with: imp
* MFi386: revision 1.1198 (add KDB_STOP_NMI option).nyan2005-05-011-0/+5
|
* Revert previous commit: The hwpmc(4) driver compiles on all platforms.marcel2005-04-201-13/+0
|
* Rename from apm_bioscall.s to apm_bioscall.S for removing a special rulenyan2005-04-201-0/+0
| | | | | | to build a module. A repo-copy is not done because it has no important logs. Pointed out by: ru
* Move this to the specific architectures that are supported. #ifdef fooimp2005-04-191-0/+13
| | | | | in sys/pmc.h precludes it from working on !i386, !amd64. When that changes, it can be moved back into conf/NOTES.
* There's no need to include all the detauls of struct bus_space_{tag,handle}imp2005-04-192-83/+84
| | | | in _bus.h when the typedef of the struct pointer will do.
* Since pmc is a CPU feature, grab the mdep file from the i386 directory.imp2005-04-191-0/+6
|
* Unbreak the pc98 build by including enough information in the _bus.himp2005-04-192-51/+51
| | | | | | | for _bus.h to compile. Pointy hat to: imp Breakage noted by: nyan-san
* Break out the definition of bus_space_{tag,handle}_t and a few other typesimp2005-04-182-37/+75
| | | | | | | | | | into _bus.h to help with name space polution from including all of bus.h. In a few days, I'll commit changes to the MI code to take advantage of thse sepration (after I've made sure that these changes don't break anything in the main tree, I've tested in my trees, but you never know...). Suggested by: bde (in 2002 or 2003 I think) Reviewed in principle by: jhb
* MFi386: revision 1.1194 (Update the drm driver).nyan2005-04-171-18/+9
|
* Remove unneeded include.nyan2005-04-171-2/+0
|
* Really remove the last vestiges of mixed mode from all but amd64.jhb2005-04-151-13/+0
|
* MFi386: revision 1.612.nyan2005-04-142-100/+176
|
* - Remove ifdef PC98.nyan2005-04-138-1044/+68
| | | | - Reduce diffs from i386.
* Remove a meaningless include.nyan2005-04-132-4/+0
|
* Move pc98 specific parts to the pc98 specific file.nyan2005-04-132-4/+69
|
* Oops, correct typo.nyan2005-04-107-7/+7
|
* Fix pc98 includes.nyan2005-04-087-4/+34
|
* Remove the wl driver. The devices don't work on pc98.nyan2005-04-081-6/+0
|
* Divorce critical sections from spinlocks. Critical sections as denoted byjhb2005-04-043-6/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | critical_enter() and critical_exit() are now solely a mechanism for deferring kernel preemptions. They no longer have any affect on interrupts. This means that standalone critical sections are now very cheap as they are simply unlocked integer increments and decrements for the common case. Spin mutexes now use a separate KPI implemented in MD code: spinlock_enter() and spinlock_exit(). This KPI is responsible for providing whatever MD guarantees are needed to ensure that a thread holding a spin lock won't be preempted by any other code that will try to lock the same lock. For now all archs continue to block interrupts in a "spinlock section" as they did formerly in all critical sections. Note that I've also taken this opportunity to push a few things into MD code rather than MI. For example, critical_fork_exit() no longer exists. Instead, MD code ensures that new threads have the correct state when they are created. Also, we no longer try to fixup the idlethreads for APs in MI code. Instead, each arch sets the initial curthread and adjusts the state of the idle thread it borrows in order to perform the initial context switch. This change is largely a big NOP, but the cleaner separation it provides will allow for more efficient alternative locking schemes in other parts of the kernel (bare critical sections rather than per-CPU spin mutexes for per-CPU data for example). Reviewed by: grehan, cognet, arch@, others Tested on: i386, alpha, sparc64, powerpc, arm, possibly more
* Move pc98 specific parts to the pc98 specific file.imp2005-04-033-6/+123
|
* With pc98/include, we can have pc98 and i386 specific bus spaceimp2005-04-032-9/+646
| | | | | implementations in their own files named $MACHINE/include/bus.h. Copy the contents appropriately.
* Add reach-over include files to read i386/foo.h. In time, the pc98imp2005-04-0191-0/+546
| | | | | | | | | | | | specific code will migrate to these files to augment or replace the version in i386/include and/or i386/linux. This should, in the fullness of time, allow many of the #ifdef PC98 in the tree. # These files are in the public domain because there is insufficient # creative content in them. When you customize them, please add a # copyright notice and license. OK'd in principle by: nyan@
* Add i386 to machine linesimp2005-04-012-2/+2
|
* Add commented out ehci entry.nyan2005-03-301-0/+1
|
* bus is unused, so eliminate it.imp2005-03-281-11/+6
| | | | Minor style(9) tweaks
* Merge from i386:jhb2005-03-243-21/+48
| | | | | - Add a i8254_pending variable to save some indirections in clkintr(). - Don't bother setting up an IRQ0 handler if we are using the lapic timer.
* Add USB Communication Device Class Ethernet driver. Originally written forsobomax2005-03-221-0/+1
| | | | | | | | | | FreeBSD based on aue(4) it was picked by OpenBSD, then from OpenBSD ported to NetBSD and finally NetBSD version merged with original one goes into FreeBSD. Obtained from: http://www.gank.org/freebsd/cdce/ NetBSD OpenBSD
OpenPOWER on IntegriCloud