summaryrefslogtreecommitdiffstats
path: root/sys/pc98
Commit message (Collapse)AuthorAgeFilesLines
* MFi386: revision 1.1215 (add savagedrm).nyan2005-11-301-0/+1
|
* - Allow duplicate "machine" directives with the same arguments.ru2005-11-273-9/+1
| | | | - Move existing "machine" directives to DEFAULTS.
* Add missing "struct" in i386/i386/machdep.c,v 1.497 by deischen@.ru2005-11-241-1/+1
|
* Garbage collect machine/smptests.h now that it is empty and no longer used.jhb2005-11-221-6/+0
|
* Don't enable PUC_FASTINTR by default in the source. Instead, enable itjhb2005-11-211-0/+2
| | | | | | | | | | | via the DEFAULTS kernel configs. This allows folks to turn it that option off in the kernel configs if desired without having to hack the source. This is especially useful since PUC_FASTINTR hangs the kernel boot on my ultra60 which has two uart(4) devices hung off of a puc(4) device. I did not enable PUC_FASTINTR by default on powerpc since powerpc does not currently allow sharing of INTR_FAST with non-INTR_FAST like the other archs.
* MFi386: Remove obsolete options.nyan2005-11-091-1/+0
|
* Move the isa, npx, mem and io devices and the PC98 option from GENERICnyan2005-10-282-7/+19
| | | | into DEFAULTS.
* Catch up with new interrupt handling code.ru2005-10-261-2/+2
|
* Rename the KDB_STOP_NMI kernel option to STOP_NMI and make it apply to alljhb2005-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | IPI_STOP IPIs. - Change the i386 and amd64 MD IPI code to send an NMI if STOP_NMI is enabled if an attempt is made to send an IPI_STOP IPI. If the kernel option is enabled, there is also a sysctl to change the behavior at runtime (debug.stop_cpus_with_nmi which defaults to enabled). This includes removing stop_cpus_nmi() and making ipi_nmi_selected() a private function for i386 and amd64. - Fix ipi_all(), ipi_all_but_self(), and ipi_self() on i386 and amd64 to properly handle bitmapped IPIs as well as IPI_STOP IPIs when STOP_NMI is enabled. - Fix ipi_nmi_handler() to execute the restart function on the first CPU that is restarted making use of atomic_readandclear() rather than assuming that the BSP is always included in the set of restarted CPUs. Also, the NMI handler didn't clear the function pointer meaning that subsequent stop and restarts could execute the function again. - Define a new macro HAVE_STOPPEDPCBS on i386 and amd64 to control the use of stoppedpcbs[] and always enable it for i386 and amd64 instead of being dependent on KDB_STOP_NMI. It works fine in both the NMI and non-NMI cases.
* Eliminate two unused arguments to ttycreate().phk2005-10-161-1/+1
|
* Reduce diffs from i386/i386/machdep.cnyan2005-10-161-9/+5
|
* Merge over the remaining changes from i386 of the ksiginfo_t changes sojhb2005-10-141-43/+21
| | | | | | that this compiles. Pointy hat to: davidxu
* Remove the sx(4) driver at the request of the author. The authorjhb2005-10-141-3/+0
| | | | | | | | | originally wrote it for 4.x and hasn't really had the time to fully update it to 5.x and later. Also, the author doesn't use the hardware anymore as well. If someone does need this driver they can always resurrect it from the Attic. Requested by: Frank Mayhar frank at exit dot com
* 1. Change prototype of trapsignal and sendsig to use ksiginfo_t *, mostdavidxu2005-10-141-17/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes in MD code are trivial, before this change, trapsignal and sendsig use discrete parameters, now they uses member fields of ksiginfo_t structure. For sendsig, this change allows us to pass POSIX realtime signal value to user code. 2. Remove cpu_thread_siginfo, it is no longer needed because we now always generate ksiginfo_t data and feed it to libpthread. 3. Add p_sigqueue to proc structure to hold shared signals which were blocked by all threads in the proc. 4. Add td_sigqueue to thread structure to hold all signals delivered to thread. 5. i386 and amd64 now return POSIX standard si_code, other arches will be fixed. 6. In this sigqueue implementation, pending signal set is kept as before, an extra siginfo list holds additional siginfo_t data for signals. kernel code uses psignal() still behavior as before, it won't be failed even under memory pressure, only exception is when deleting a signal, we should call sigqueue_delete to remove signal from sigqueue but not SIGDELSET. Current there is no kernel code will deliver a signal with additional data, so kernel should be as stable as before, a ksiginfo can carry more information, for example, allow signal to be delivered but throw away siginfo data if memory is not enough. SIGKILL and SIGSTOP have fast path in sigqueue_add, because they can not be caught or masked. The sigqueue() syscall allows user code to queue a signal to target process, if resource is unavailable, EAGAIN will be returned as specification said. Just before thread exits, signal queue memory will be freed by sigqueue_flush. Current, all signals are allowed to be queued, not only realtime signals. Earlier patch reviewed by: jhb, deischen Tested on: i386, amd64
* Polling is now configured with help of ifconfig(8), not sysctl.glebius2005-10-071-4/+4
| | | | Prodded by: maxim
* Use 'PC Card'nyan2005-09-301-2/+2
|
* Switch from OLDCARD to NEWCARD on pc98.nyan2005-09-273-7/+6
|
* Remove references to OLDCARD.imp2005-09-252-16/+1
|
* Introduce a kernel config for the Mandatory Access Control framework.csjp2005-09-181-0/+28
| | | | | | | | This kernel config briefly describes some of the major MAC policies available on FreeBSD. The hope is that this will raise the awareness about MAC and get more people interested. Discussed with: scottl
* Add some defines for EPSON machines and use them.nyan2005-09-143-12/+29
|
* Remove EPSON PC-386 note A/W/AE/WR support.nyan2005-09-145-95/+10
|
* Remove unused functions.nyan2005-09-131-39/+0
|
* Remove EPSON_NRDISK support.nyan2005-09-131-177/+2
|
* 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.
OpenPOWER on IntegriCloud