summaryrefslogtreecommitdiffstats
path: root/sys/pc98
Commit message (Collapse)AuthorAgeFilesLines
* MFi386: revision 1.561nyan2003-04-032-6/+66
|
* Don't use dkmakeminor(), it has nothing to do with CDroms.phk2003-04-031-6/+2
|
* MFi386: revisions 1.556 and 1.557.nyan2003-04-022-24/+18
| | | | Backout revision 1.312.
* Merged from sys/dev/syscons/syscons.c revision 1.400.nyan2003-04-021-1/+1
|
* Use bioq_flush() to drain a bio queue with a specific error code.phk2003-04-014-4/+4
| | | | | | | | Retain the mistake of not updating the devstat API for now. Spell bioq_disksort() consistently with the remaining bioq_*(). #include <geom/geom_disk.h> where this is more appropriate.
* - Define a new md function 'casuptr'. This atomically compares and setsjeff2003-04-012-0/+16
| | | | | | | | | | a pointer that is in user space. It will be used as the basic primitive for a kernel supported user space lock implementation. - Implement this function in x86's support.s - Provide stubs that return -1 in all other architectures. Implementations will follow along shortly. Reviewed by: jake
* - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread withjeff2003-03-312-18/+18
| | | | | | | a follow on commit to kern_sig.c - signotify() now operates on a thread since unmasked pending signals are stored in the thread. - PS_NEEDSIGCHK moves to TDF_NEEDSIGCHK.
* - Change trapsignal() to accept a thread and not a proc.jeff2003-03-312-12/+12
| | | | | | | - Change all consumers to pass in a thread. Right now this does not cause any functional changes but it will be important later when signals can be delivered to specific threads.
* Catch up with recent changes.mdodd2003-03-301-9/+5
|
* Merge PC98 support.mdodd2003-03-252-1594/+0
|
* - Add vm_paddr_t, a physical address type. This is required for systemsjake2003-03-255-43/+45
| | | | | | | | | | | | | | | where physical addresses larger than virtual addresses, such as i386s with PAE. - Use this to represent physical addresses in the MI vm system and in the i386 pmap code. This also changes the paddr parameter to d_mmap_t. - Fix printf formats to handle physical addresses >4G in the i386 memory detection code, and due to kvtop returning vm_paddr_t instead of u_long. Note that this is a name change only; vm_paddr_t is still the same as vm_offset_t on all currently supported platforms. Sponsored by: DARPA, Network Associates Laboratories Discussed with: re, phk (cdevsw change)
* Retire sys/pc98/pc98/spkr.cmdodd2003-03-241-683/+0
|
* PC98 systems don't need to worry about the MCA bus.mdodd2003-03-243-27/+0
|
* Remove bitrot associated with `maxusers'.ru2003-03-221-1/+0
| | | | Submitted by: bde
* Including <sys/stdint.h> is (almost?) universally only to be able to usephk2003-03-183-3/+0
| | | | | %j in printfs, so put a newsted include in <sys/systm.h> where the printf prototype lives and save everybody else the trouble.
* Fix malloc() without legal mode flag.phk2003-03-172-2/+2
|
* Call devstat_start_transaction_bio() instead of devstat_start_transaction()phk2003-03-152-2/+2
|
* MFi386: revision 1.1079nyan2003-03-091-6/+5
|
* Merged from sys/dev/syscons/syscons.c revision 1.396.nyan2003-03-091-0/+4
|
* Merged from sys/dev/sio/sio.c revisions 1.387 and 1.388.nyan2003-03-092-4/+22
|
* Allocate the devstat structure with devstat_new_entry().phk2003-03-083-26/+17
|
* Centralize the devstat handling for all GEOM disk device driversphk2003-03-081-18/+1
| | | | | | | | in geom_disk.c. As a side effect this makes a lot of #include <sys/devicestat.h> lines not needed and some biofinish() calls can be reduced to biodone() again.
* Make nokqfilter() return the correct return value.phk2003-03-033-3/+3
| | | | Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-0314-185/+113
| | | | | | | | | | | | | branches: Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl)
* More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).des2003-03-028-32/+32
|
* NO_GEOM cleanup:phk2003-02-281-32/+12
| | | | Convert to "struct disk *" centric API.
* Implemented "nooption" and "nomakeoption" config(8) tokens.ru2003-02-262-40/+23
| | | | | | | | | | | | | | | | | | | | | | | | Fixed memory leak in the "nodevice" option implementation. Use these instead of sed(1) in MD NOTES. Use a single makefile (sys/conf/makeLINT.mk) to generate LINT for all architectures. (Previous versions missed the LINT dependency on Makefile, and i386 version also missed the dependency on ${NOTES}.) Fixed bugs in the previous NOTES conversion using the "nodevice" token and sed(1): - i386 LINT lost "device pst". - pc98 LINT lost SC_*, MAXCONS and KBD_DISABLE_KEYMAP_LOAD options, and got needless DPT_* options. - Added nooptions PPC_DEBUG, PPC_PROBE_CHIPSET, KBD_INSTALL_CDEV to sparc64 LINT so that it has a chance to config(8). This basically returns us to where we were before.
* Move most everything back to a MI NOTES, and use "nodevice" in MD NOTESobrien2003-02-252-2/+58
| | | | | | | Where needed. Use 'sed' for now in place of "nooptions". Add a sparc64 MD NOTES. Reviewed by: arch@
* Convert one more d_mmap_t consumer I missed in my previous commit.mux2003-02-252-4/+8
|
* Cleanup of the d_mmap_t interface.mux2003-02-253-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | - Get rid of the useless atop() / pmap_phys_address() detour. The device mmap handlers must now give back the physical address without atop()'ing it. - Don't borrow the physical address of the mapping in the returned int. Now we properly pass a vm_offset_t * and expect it to be filled by the mmap handler when the mapping was successful. The mmap handler must now return 0 when successful, any other value is considered as an error. Previously, returning -1 was the only way to fail. This change thus accidentally fixes some devices which were bogusly returning errno constants which would have been considered as addresses by the device pager. - Garbage collect the poorly named pmap_phys_address() now that it's no longer used. - Convert all the d_mmap_t consumers to the new API. I'm still not sure wheter we need a __FreeBSD_version bump for this, since and we didn't guarantee API/ABI stability until 5.1-RELEASE. Discussed with: alc, phk, jake Reviewed by: peter Compile-tested on: LINT (i386), GENERIC (alpha and sparc64) Runtime-tested on: i386
* Add NOTES for pc98.nyan2003-02-232-0/+967
|
* Merged from sys/dev/syscons/syscons.c revision 1.393.nyan2003-02-231-1/+4
|
* Fix compile error with FB_INSTALL_CDEV option.nyan2003-02-232-16/+28
|
* MFi386: revision 1.554.nyan2003-02-232-2/+2
|
* Change the console interface to pass a "struct consdev *" instead of aphk2003-02-203-24/+36
| | | | | | | | | dev_t to the method functions. The dev_t can still be found at struct consdev *->cn_dev. Add a void *cn_arg element to struct consdev which the drivers can use for retrieving their softc.
* Back out M_* changes, per decision of the TRB.imp2003-02-194-9/+9
| | | | Approved by: trb
* Change "dev_t gdbdev" to "void *gdb_arg", some possible paths for GDBphk2003-02-162-8/+8
| | | | will not have a dev_t.
* Remove #include <sys/dkstat.h>phk2003-02-162-2/+0
|
* Fix the style of the SCHED_4BSD commit.obrien2003-02-131-1/+1
|
* Switch to use the TSC code i386/i386/tsc.cphk2003-02-113-330/+3
|
* Merged from sys/dev/sio/sio.c revision 1.383.nyan2003-02-072-0/+4
|
* Reduce diff to i386/isa/clock.c by unifdef -DPC98phk2003-02-053-1245/+0
|
* Typo in last commitphk2003-02-053-3/+3
|
* MFi386: write the correct weekday back to the RTC.phk2003-02-053-3/+3
|
* Oops, fix copyright again.nyan2003-02-045-0/+9
| | | | Noticed by: hrs
* Fix copyright notification.takawata2003-02-044-4/+4
|
* Split the global timezone structure into two integer fields tophk2003-02-033-9/+9
| | | | | | | | | | prevent the compiler from optimizing assignments into byte-copy operations which might make access to the individual fields non-atomic. Use the individual fields throughout, and don't bother locking them with Giant: it is no longer needed. Inspired by: tjr
* Split statclock into statclock and profclock, and made the method for drivingjake2003-02-033-6/+45
| | | | | | | | | | | | | statclock based on profhz when profiling is enabled MD, since most platforms don't use this anyway. This removes the need for statclock_process, whose only purpose was to subdivide profhz, and gets the profiling clock running outside of sched_lock on platforms that implement suswintr. Also changed the interface for starting and stopping the profiling clock to do just that, instead of changing the rate of statclock, since they can now be separate. Reviewed by: jhb, tmm Tested on: i386, sparc64
* Add CanBe power management controller support.nyan2003-02-036-0/+790
| | | | Submitted by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
* Put replace spaces with tabs in keeping with the rest of the file.joe2003-02-011-1/+1
|
OpenPOWER on IntegriCloud