Commit Graph

45 Commits

Author SHA1 Message Date
tsutsui 78c4167012 - kern_kern_microtime.c is gone, so replace references of it
with new kern/kern_cctr.c in TODO comments
- also replace struct cc_microtime_state member in struct cpu_info
  with struct cctr_state defined in <sys/cctr.h>, which is unused yet
  in this port
2007-07-21 12:15:05 +00:00
macallan a1457f5905 change pmap_phys_address()s parameter to paddr_t since that's what it gets
fed from mmap*() anyway
approved by gimpy
2007-07-16 23:48:03 +00:00
ad 59d979c5f1 Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
2007-03-12 18:18:22 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
thorpej 09c5f9cc49 TRUE -> true, FALSE -> false 2007-02-28 04:21:51 +00:00
thorpej 712239e366 Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
pavel 934634a18c Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.
2007-02-17 22:31:36 +00:00
ad 3363855a4a Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
2007-02-16 02:53:43 +00:00
ad b07ec3fc38 Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
cube 747e90f203 Remove traces of scd(4), which apparently never actually had a driver in
the tree.
2007-01-09 21:59:08 +00:00
yamt 8bf7662829 merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.
2006-12-21 15:55:21 +00:00
wiz 6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
wiz d6a98601a8 s/heirarchy/hierarchy/, from Zafer. 2006-11-24 21:20:05 +00:00
christos d8f5d5f044 fix capitalization of NetBSD; from Zapher 2006-11-24 19:38:55 +00:00
tnozaki 44eb8f042e fix gcc -Werror -Wmissing-braces problem
mbstate_t(this is opaque object)'s initializer should be ``{ 0 }'',
so changed 1st field of union from character array to integer.
2006-10-04 13:51:59 +00:00
kochi 57cbe57ef9 fixed typo in previous commit 2006-09-22 13:38:32 +00:00
kochi 2a0acb8ed8 make bootinfo extern from static.
it's declared in arch/ia64/include/bootinfo.h as extern.
2006-09-21 10:06:36 +00:00
kochi 1d1bdfa635 use an appropriate specifier for u_long (%lx) in printf 2006-09-21 09:59:45 +00:00
kochi 6fa19ae830 fix trivial typo in previous revision 2006-09-21 09:58:27 +00:00
kochi c811931057 add cpu_counter.h to compile a kernel 2006-09-20 13:33:04 +00:00
yamt 9d3e3eab23 merge yamt-pdpolicy branch.
- separate page replacement policy from the rest of kernel
	- implement an alternative replacement policy
2006-09-15 15:51:12 +00:00
gdamore 800e6e3df3 Removal of stub clock stuff and convert to use MI routines for timecounter
and todr support.  ok cherry@.
2006-09-10 21:30:14 +00:00
cherry ab7f7a7df7 Re-fit to NetBSD: Try #1 2006-09-10 21:16:56 +00:00
cherry 19dda99daa Root Memory disk nits 2006-09-10 21:07:20 +00:00
cherry b441b8ce45 fix unaligned vendor string array. showed up during a gcc4 compile. 2006-09-06 12:54:31 +00:00
mrg 02356bf3f5 fix a bug in userlevel trap() handling where struct proc *p was used
before it was assigned to.
2006-09-01 22:22:45 +00:00
mrg ed30b212fd va = va += PAGE_SIZE is possibly undefined. remove the first "va = ". 2006-09-01 22:21:17 +00:00
mrg 6801145584 copy this from i386/compile/Makefile. it makes kernel builds work
properly with objdirs.
2006-09-01 22:12:40 +00:00
cherry d98d4f0f0f remove redundant #defines 2006-08-30 11:14:23 +00:00
cherry 50ca7431be #include cleanups. 2006-08-30 11:12:04 +00:00
yamt e527ebac6f - remove unused bdbtofsb.
- move the following macros from MD headers to sys/param.h.
	ctod
	dtoc
	ctob
	btoc
	dbtob
	btodb
2006-08-28 13:43:35 +00:00
drochner 84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +00:00
ad 2b79369c7e - Hold a reference to the process credentials in each struct lwp.
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.
2006-07-19 21:11:37 +00:00
cherry 8e4670dadf Towards building libc/arch/ia64 2006-07-07 06:42:32 +00:00
cherry daf99d36cd towards exec(): first round at fixing USPACE 2006-07-03 17:02:56 +00:00
cherry 46c3dfbc17 misc #define cleanups 2006-07-03 17:01:45 +00:00
cherry f0def1c53a fix nbmake-ia64 to clean include links 2006-07-03 16:50:40 +00:00
cherry 2d00b8d1f2 nits 2006-07-02 17:28:11 +00:00
cherry efe41d02f0 trying MFS for ski FS 2006-07-02 17:23:59 +00:00
skrll 86bff00eef Enable installation of ia64 includes - mostly from cherry. 2006-06-20 15:26:19 +00:00
elad 8ccb6c9341 integrate kauth. 2006-05-14 21:55:09 +00:00
cherry 40d4f67e3f FreeBSD RCS id tags.
Pointed out by Hubertf
2006-04-22 07:58:52 +00:00
cherry 1163d9a877 Copyright audit and CVS header sweep. 2006-04-08 14:52:09 +00:00
cherry 7056f5194b Initial import of arch/ia64 sources.
These sources are ported from FreeBSD/ia64 code.
See individual source files for credits.
In addition, code from NetBSD/alpha NetBSD/sparc64,
NetBSD/i386 and NetBSD/amd64 were used as templates,
along with my own additions.
2006-04-07 16:23:08 +00:00
cherry ba7cbe760f Initial import of arch/ia64 sources.
These sources are ported from FreeBSD/ia64 code.
See individual source files for credits.
In addition, code from NetBSD/alpha NetBSD/sparc64,
NetBSD/i386 and NetBSD/amd64 were used as templates,
along with my own additions.
2006-04-07 13:57:43 +00:00