summaryrefslogtreecommitdiffstats
path: root/sys/ia64
Commit message (Collapse)AuthorAgeFilesLines
* Add a working version of setjmp/longjmp.dfr2001-09-033-27/+790
| | | | Obtained from: Intel's EFI toolkit.
* Since we're cross compiling from x86, ignore the x86 CPUTYPE by default.peter2001-09-031-0/+1
|
* Dont conflict with sysctl debug.mddebugpeter2001-09-031-1/+1
|
* Sync with i386 / alpha. Whitespace unindent / style prep for kse.peter2001-09-021-79/+77
|
* Merge from i386: various cleanups including moving the map calculationspeter2001-09-021-14/+26
| | | | to MI code. This gets ia64 to compile again.
* Same as i386/i386/pmap.c: clean up some style. This is irrelevant sincepeter2001-08-311-15/+12
| | | | | it is inside #if 0'ed code, but it would be a shame if this stuff got cut/pasted elsewhere.
* o Remove some GCCisms in src/powerpc/include/endian.h.mike2001-08-302-12/+16
| | | | | | | | | | | | | | | | | | | | o Unify <machine/endian.h>'s across all architectures. o Make bswapXX() functions use a different spelling of u_int16_t and friends to reduce namespace pollution. The bswapXX() functions don't actually exist, but we'll probably import these at some point. Atleast one driver (if_de) depends on bswapXX() for big endian cases. o Deprecate byteorder(3) prototypes from <sys/types.h>, these are now prototyped indirectly in <arpa/inet.h>. o Deprecate in_addr_t and in_port_t typedefs in <sys/types.h>, these are now typedef'd in <arpa/inet.h>. o Change byteorder(3) prototypes to use standards compliant uint32_t (spelled __uint32_t to reduce namespace pollution). o Document new preferred headers and standards compliance. Discussed with: bde PR: 29946 Reviewed by: bmilekic
* Enable hardwiring of things like tunables from embedded enironmentspeter2001-08-271-1/+4
| | | | that do not start from loader(8).
* vm_page_zero_idle() is no longer MD.peter2001-08-251-1/+0
|
* Strip out some #if's for old implementations of global data pointers.peter2001-08-211-4/+0
|
* Make COMPAT_43 optional again. XXX we need COMPAT_FBSD3 etc for thispeter2001-08-211-0/+2
| | | | stuff.
* style(9) and make consistent across platformsobrien2001-08-162-24/+26
|
* OFF_T -> OFF (more standard style)ache2001-08-152-4/+4
|
* Add OFF_T_MAX/OFF_T_MINache2001-08-152-0/+6
|
* Style changes to commonize the various platforms.obrien2001-08-151-8/+8
|
* - Close races with signals and other AST's being triggered while we are injhb2001-08-102-19/+2
| | | | | | | | | | | | | | | | | | | | | | the process of exiting the kernel. The ast() function now loops as long as the PS_ASTPENDING or PS_NEEDRESCHED flags are set. It returns with preemption disabled so that any further AST's that arrive via an interrupt will be delayed until the low-level MD code returns to user mode. - Use u_int's to store the tick counts for profiling purposes so that we do not need sched_lock just to read p_sticks. This also closes a problem where the call to addupc_task() could screw up the arithmetic due to non-atomic reads of p_sticks. - Axe need_proftick(), aston(), astoff(), astpending(), need_resched(), clear_resched(), and resched_wanted() in favor of direct bit operations on p_sflag. - Fix up locking with sched_lock some. In addupc_intr(), use sched_lock to ensure pr_addr and pr_ticks are updated atomically with setting PS_OWEUPC. In ast() we clear pr_ticks atomically with clearing PS_OWEUPC. We also do not grab the lock just to test a flag. - Simplify the handling of Giant in ast() slightly. Reviewed by: bde (mostly)
* Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since theypeter2001-08-082-58/+0
| | | | | | | | | | | | are a really nasty interface that should have been killed long ago when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they operate on (struct user) will not be around much longer since it is part-per-process and part-per-thread in a post-KSE world. gdb does not actually use this except for the obscure 'info udot' command which does a hexdump of as much of the child's 'struct user' as it can get. It carries its own #defines so it doesn't break compiles.
* Grab Giant arond page faults. ia64 boots again in the simulator now.jhb2001-08-071-4/+4
|
* Make this compile again.dfr2001-08-061-0/+1
|
* Remove usage of nonexistent vm_mtx.dfr2001-08-062-6/+0
|
* GC some obsolete alpha code.jhb2001-07-311-390/+1
|
* Use a machine dependent type, Elf_Hashelt, for the elements of the elfjake2001-07-311-0/+11
| | | | | | | | dynamic symbol table buckets and chains. The sparc64 toolchain uses 32 bit .hash entries, unlike other 64 bits architectures (alpha), which use 64 bit entries. Discussed with: dfr, jdp
* Make PMAP_SHPGPERPROC tunable. One shouldn't need to recompile a kernelpeter2001-07-271-1/+4
| | | | | | | for this, since it is easy to run into with large systems with lots of shared mmap space. Obtained from: yahoo
* Call the early tunable setup functions as soon as kern_envp is available.peter2001-07-261-0/+3
| | | | Some things depend on hz being set not long after this.
* - Do not handle the per-CPU containers in mbuf code as though the cpuidsbmilekic2001-07-261-0/+1
| | | | | | | | | | | | | | | | | were indices in a dense array. The cpuids are a sparse set and treat them as such, setting up containers only for CPUs activated during mb_init(). - Fix netstat(1) and systat(1) to treat the per-CPU stats area as a sparse map, in accordance with the above. This allows us to properly boot with certain CPUs disactivated. However, if we later decide to re-activate said CPUs, we will barf until we decide to implement CPU spinon/spinoff callback hooks to allow for said CPUs' per-CPU containers to get configured on their activation. Reported by: mjacob Partially (sys/ diffs) Submitted by: mjacob
* 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
OpenPOWER on IntegriCloud