summaryrefslogtreecommitdiffstats
path: root/sys/ia64
Commit message (Collapse)AuthorAgeFilesLines
* Add 'hwatch' and 'dhwatch' ddb commands analogous to 'watch' andbsd2001-07-111-0/+33
| | | | | | | | | | 'dwatch'. The new commands install hardware watchpoints if supported by the architecture and if there are enough registers to cover the desired memory area. No objection by: audit@, hackers@ MFC after: 2 weeks
* A set of changes to reduce the number of include files the kerneljulian2001-07-082-2/+2
| | | | | | takes from /usr/include. I cannot check them on alpha.. (will try beast) Briefly looked at by: Warner Losh <imp@harmony.village.org>
* Move vm_page_zero_idle() from machine-dependant sections to adillon2001-07-051-65/+0
| | | | | machine-independant source file, vm/vm_zeroidle.c. It was exactly the same for all platforms and updating them all was getting annoying.
* Reorg vm_page.c into vm_page.c, vm_pageq.c, and vm_contig.c (for contigmalloc).dillon2001-07-041-1/+1
| | | | | | | | | | | Also removed some spl's and added some VM mutexes, but they are not actually used yet, so this commit does not really make any operational changes to the system. vm_page.c relates to vm_page_t manipulation, including high level deactivation, activation, etc... vm_pageq.c relates to finding free pages and aquiring exclusive access to a page queue (exclusivity part not yet implemented). And the world still builds... :-)
* With Alfred's permission, remove vm_mtx in favor of a fine-grained approachdillon2001-07-041-12/+9
| | | | | | | | | (this commit is just the first stage). Also add various GIANT_ macros to formalize the removal of Giant, making it easy to test in a more piecemeal fashion. These macros will allow us to test fine-grained locks to a degree before removing Giant, and also after, and to remove Giant in a piecemeal fashion via sysctl's on those subsystems which the authors believe can operate without Giant.
* Allow Giant to be recursed when a process terminates.jhb2001-07-031-2/+2
|
* gif(4) and stf(4) modernization:brooks2001-07-021-1/+1
| | | | | | | | | | | - Remove gif dependencies from stf. - Make gif and stf into modules - Make gif cloneable. PR: kern/27983 Reviewed by: ru, ume Obtained from: NetBSD MFC after: 1 week
* Don't need the .keep_me files. Obrien and I committed past each other.imp2001-07-012-1/+1
| | | | | | | Add 0-9 to the list of possible kernel names at matsushita-san's suggestion. Submitted by: Makoto MATSUSHITA-san <matusita@jp.FreeBSD.org>
* Ensure sys/${MACHINE}/compile/FOO existsobrien2001-06-301-0/+0
| | | | Reviewed by: arch, imp, peter, and the USENIX terminal room secret kernel cabal
* Really do proper keepme files in the compile directories. Useimp2001-06-302-0/+1
| | | | | | | | | | .cvsignore file for [A-Za-z]* to keep these directories around rather than waste a file on .keepme. This should also make people's built trees place nice with CVS. Idea for .cvsignore: peter (although I suggested the regexp) Pointed out by: Makoto MATSUSHITA-san <matusita@jp.FreeBSD.org> Llama's costuming by: Fernamdo Llamas
* Ensure sys/${MACHINE}/compile/FOO existsobrien2001-06-301-0/+0
| | | | | Reviewed by: arch, imp, peter and the USENIX terminal room secret kernel cabal
* Repo copy i8237.h to dev/ic so we can get rid of some of the final vestigesimp2001-06-301-1/+1
| | | | of includes of i386 files from non-i386 ports.
* Move ast() and userret() to sys/kern/subr_trap.c now that they are MI.jhb2001-06-292-113/+0
|
* Add a new MI pointer to the process' trapframe p_frame instead of usingjhb2001-06-295-26/+23
| | | | | | various differently named pointers buried under p_md. Reviewed by: jake (in principle)
* Catch up to mbuf allocator changes from last September so this compilesjhb2001-06-271-15/+4
| | | | again.
* Make this compile again. Broken since June 1.jhb2001-06-271-0/+1
|
* Fix cut-n-paste brain-o.jhb2001-06-251-1/+1
| | | | Pointy-hat to: me
* - Grab the proc lock around CURSIG and postsig(). Don't release the procjhb2001-06-221-2/+4
| | | | | | | | lock until after grabbing the sched_lock to avoid CURSIG racing with psignal. - Don't grab Giant for addupc_task() as it isn't needed. Reported by: tegge (signal race), bde (addupc_task a while back)
* oops. prepare_usermode() died in August 2000 in the MI and x86 code.peter2001-06-152-14/+0
| | | | Issue raised by: scottl
* Fix style of defines.obrien2001-06-091-97/+97
|
* Nuke the various poorly maintained copies of ioctl_fd.h. The file isjoerg2001-06-061-126/+0
| | | | | not machine-dependant, thus it has been moved out (repo-copied) into <sys/fdcio.h>.
* Don't hold sched_lock across addupc_task().jhb2001-06-061-1/+1
| | | | | Reported by: David Taylor <davidt@yadt.co.uk> Submitted by: bde
* Properly wrap mtx_intr_enable() macro in "do $bla while (0)"phk2001-06-021-1/+1
|
* Clean up the code exporting interrupt statistics via sysctl a bit:tmm2001-06-011-8/+0
| | | | | | | | | | | | | - move the sysctl code to kern_intr.c - do not use INTRCNT_COUNT, but rather eintrcnt - intrcnt to determine the length of the intrcnt array - move the declarations of intrnames, eintrnames, intrcnt and eintrcnt from machine-dependent include files to sys/interrupt.h - remove the hw.nintr sysctl, it is not needed. - fix various style bugs Requested by: bde Reviewed by: bde (some time ago)
* Catch up to the axeing of MFS and fix the ia64 build.jhb2001-05-301-1/+0
| | | | Forgotten by: a Danish axe-wielder
* - Catch up to the VM mutex changes.jhb2001-05-308-44/+51
| | | | - Sort includes in a few places.
* Remove MFS options from all example kernel configs.phk2001-05-291-1/+0
|
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-232-2/+2
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* Style changes -- revert ordering to mostly two revs ago.obrien2001-05-181-56/+54
| | | | | | Embellish some comments, fix tab'ing. Requested by: bde
* - Move the setting of bootverbose to a MI SI_SUB_TUNABLES SYSINIT.jhb2001-05-171-4/+0
| | | | | | | | - Attach a writable sysctl to bootverbose (debug.bootverbose) so it can be toggled after boot. - Move the printf of the version string to a SI_SUB_COPYRIGHT SYSINIT just afer the display of the copyright message instead of doing it by hand in three MD places.
* Consistently define the rune types.obrien2001-05-161-4/+19
| | | | Follow NetBSD's lead and add a _BSD_MBSTATE_T_ type.
* Move the int typedefs to the top so they can be used in defining other types.obrien2001-05-161-24/+24
| | | | | | Ensure every platform has __offsetof. Make multiple inclusion detection consistent with other <platform>/include/*.h files.
* Lock the procfs functions for doing a single step and reading/writingjhb2001-05-161-27/+16
| | | | | | registers better. Hold sched_lock not only for checking the flag but also while performing the actual operation to ensure the process doesn't get swapped out by another CPU while we the operation is being performed.
* "Sir, the deorbit burn completed succesfully."jhb2001-05-151-32/+0
| | | | RIP {sys/machine}/ipl.h.
* Remove unneeded includes of sys/ipl.h and machine/ipl.h.jhb2001-05-152-2/+0
|
* Convert DEVFS from an "opt-in" to an "opt-out" option.phk2001-05-131-1/+0
| | | | | | | | | If for some reason DEVFS is undesired, the "NODEVFS" option is needed now. Pending any significant issues, DEVFS will be made mandatory in -current on july 1st so that we can start reaping the full benefits of having it.
* Simplify the vm fault trap handling code a bit by using if-else instead ofjhb2001-05-111-11/+4
| | | | | duplicating code in the then case and then using a goto to jump around the else case.
* - Split out the support for per-CPU data from the SMP code. UP kernelsjhb2001-05-102-2/+2
| | | | | | | have per-CPU data and gdb on the i386 at least needs access to it. - Clean up includes in kern_idle.c and subr_smp.c. Reviewed by: jake
* Add include of sys/mutex.h and resort include of sys/lock.h.jhb2001-05-091-1/+2
|
* Add needed sys/lock.h include.jhb2001-05-091-0/+1
|
* Actually biofinish(struct bio *, struct devstat *, int error) is more generalphk2001-05-061-2/+1
| | | | | | than the bioerror(). Most of this patch is generated by scripts.
* Overhaul of the SMP code. Several portions of the SMP kernel support havejhb2001-04-279-348/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | been made machine independent and various other adjustments have been made to support Alpha SMP. - It splits the per-process portions of hardclock() and statclock() off into hardclock_process() and statclock_process() respectively. hardclock() and statclock() call the *_process() functions for the current process so that UP systems will run as before. For SMP systems, it is simply necessary to ensure that all other processors execute the *_process() functions when the main clock functions are triggered on one CPU by an interrupt. For the alpha 4100, clock interrupts are delievered in a staggered broadcast fashion, so we simply call hardclock/statclock on the boot CPU and call the *_process() functions on the secondaries. For x86, we call statclock and hardclock as usual and then call forward_hardclock/statclock in the MD code to send an IPI to cause the AP's to execute forwared_hardclock/statclock which then call the *_process() functions. - forward_signal() and forward_roundrobin() have been reworked to be MI and to involve less hackery. Now the cpu doing the forward sets any flags, etc. and sends a very simple IPI_AST to the other cpu(s). AST IPIs now just basically return so that they can execute ast() and don't bother with setting the astpending or needresched flags themselves. This also removes the loop in forward_signal() as sched_lock closes the race condition that the loop worked around. - need_resched(), resched_wanted() and clear_resched() have been changed to take a process to act on rather than assuming curproc so that they can be used to implement forward_roundrobin() as described above. - Various other SMP variables have been moved to a MI subr_smp.c and a new header sys/smp.h declares MI SMP variables and API's. The IPI API's from machine/ipl.h have moved to machine/smp.h which is included by sys/smp.h. - The globaldata_register() and globaldata_find() functions as well as the SLIST of globaldata structures has become MI and moved into subr_smp.c. Also, the globaldata list is only available if SMP support is compiled in. Reviewed by: jake, peter Looked over by: eivind
* When switching backing store during signal delivery, do the switch beforedfr2001-04-242-14/+16
| | | | | | creating the register frame for calling the handler. Also discard that frame before switching back to the old backing store after the handler returns.
* Align stack pointer and backing store pointer to 16 byte boundary whendfr2001-04-241-0/+5
| | | | delivering signals.
* Don't trash the user's pr on syscalls.dfr2001-04-242-2/+4
|
* Don't unwrap the function descriptor used as the callout argument todfr2001-04-191-7/+2
| | | | | fork_exit(). The MI version of fork_exit() needs a real function descriptor, not a simple function pointer.
* Don't take the Giant mutex for clock interrupts.dfr2001-04-191-2/+0
|
* Don't panic when we try to modify the kernel pmap.dfr2001-04-181-2/+2
|
* Print an approximation of the function arguments in the stack trace.dfr2001-04-181-10/+25
|
* Implement a simple stack trace for DDB. This will have to be redonedfr2001-04-183-11/+68
| | | | if/when we change to a more modern toolchain.
OpenPOWER on IntegriCloud