The NetBSD Project

CVS log for src/sys/arch/luna68k/luna68k/machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / luna68k / luna68k

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.111 / (download) - annotate - [select for diffs], Mon Jan 15 19:44:07 2024 UTC (6 weeks, 4 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

Fix few typos in comments, mainly s/argment/argument/.

Revision 1.110 / (download) - annotate - [select for diffs], Wed Dec 20 00:40:43 2023 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.109: +2 -3 lines
Diff to previous 1.109 (colored)

Remove unnecessary <sys/malloc.h> include.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Sep 17 10:14:49 2023 UTC (5 months, 2 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.108: +3 -10 lines
Diff to previous 1.108 (colored)

all sunos_exec_aout_makecmds references were removed from machedep back in 1997,
as the code was standardized and moved to sunos_exec_aout.c.

removing this code from luna68k as well, for whatever reason it was missed.

Fixes build with COMPAT_SUNOS enabled for luna68k.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Oct 9 20:00:41 2021 UTC (2 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.107: +4 -2 lines
Diff to previous 1.107 (colored)

Call cnpollc(9) before cngetc(9) as the cons(9) man page says.

Currently most ports do nothing in cnpollc(9), but this is required to
handle wskbd(9) .set_leds op in cngetc(9) properly, at least on luna68k.

Revision 1.107 / (download) - annotate - [select for diffs], Sat Sep 25 15:18:38 2021 UTC (2 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.106: +8 -8 lines
Diff to previous 1.106 (colored)

Refactor and cleanup sio (uPD7201) drivers.

- remove confusing syscn*() functions (and its header) and prepare
  explicit siottycninit(), siottycnget() and siottycnput() functions
- use exported struct consdev and cn_tab to initialize siotty console
- enable and handle E/S interrupts to make BREAK signal detected properly
- make CSR (status regsiters) access functions inline static
- make single byte read/write (i.e. cnputc() and cngetc()) functions
  static inline and take struct sio_register rather than sio channel
- use proper integer type (uint16_t) for getsiocsr() as siotty.c
- handle channel dependent CR2A and CR2B registers properly
- use more explicit definitions for RR_* macro used by getsiocsr()
- define and use proper RR0 (read register) values
  (there is no isStatusReg(r) macro used on 4.4BSD/luna68k)

Tested on LUNA with both wscons console and serial console.

Revision 1.106 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:44 2020 UTC (3 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

Revision 1.101.4.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:56 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.101.4.2: +4 -3 lines
Diff to previous 1.101.4.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.101.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:42 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.101.4.1: +3 -3 lines
Diff to previous 1.101.4.1 (colored) to branchpoint 1.101 (colored)

Merge changes from current as of 20200406

Revision 1.105 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:10 2019 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

Rename uvm_free() -> uvm_availmem().

Revision 1.104 / (download) - annotate - [select for diffs], Sat Dec 21 13:00:22 2019 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

uvmexp.free -> uvm_free()

Revision 1.103 / (download) - annotate - [select for diffs], Sun Jun 30 05:04:49 2019 UTC (4 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.102: +6 -5 lines
Diff to previous 1.102 (colored)

Pull OpenBSD/luna88k board.h to define SX9100 board device addresses.

Also replace magic addresses with macro where appropriate.

Revision 1.101.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:25 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

Sync with HEAD

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:36 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.102 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:25 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, isaki-audio2-base, isaki-audio2
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.93.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:23 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.93.2.2: +3 -9 lines
Diff to previous 1.93.2.2 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)

update from HEAD

Revision 1.101 / (download) - annotate - [select for diffs], Tue Nov 7 14:55:30 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.100: +2 -3 lines
Diff to previous 1.100 (colored)

Don't define ELFSIZE

Revision 1.98.6.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:43 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.98.6.1: +2 -8 lines
Diff to previous 1.98.6.1 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored)

Sync with HEAD

Revision 1.100.4.1 / (download) - annotate - [select for diffs], Thu Apr 27 05:36:33 2017 UTC (6 years, 10 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.100: +14 -4 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.99.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:30 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.99: +2 -8 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with HEAD

Revision 1.99.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:16 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.99.2.1: +2 -8 lines
Diff to previous 1.99.2.1 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)

Sync with HEAD

Revision 1.100 / (download) - annotate - [select for diffs], Thu Mar 9 14:05:59 2017 UTC (6 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: prg-localcount2
Changes since 1.99: +2 -8 lines
Diff to previous 1.99 (colored)

Add a driver for LUNA's front panel LCD.  Ported from OpenBSD/luna88k.

Reviewed by enami@.  Tested by Naruaki Etomi and me.

A 68k LUNA with this driver will be demonstrated at AsiaBSDCon NetBSD booth
by Etomi-san, with LUNA-88K2 running OpenBSD/luna88k by Kenji Aoyama.

Revision 1.99.2.1 / (download) - annotate - [select for diffs], Wed Jul 20 23:50:54 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.99: +14 -4 lines
Diff to previous 1.99 (colored)

Adapt the machine/arch dependent code to the new {b,c}devsw reference
counting.

XXX Most of these will require testing by someone other than myself, as
I have a limited selection of hardware!

Revision 1.98.6.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:45 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.98: +5 -4 lines
Diff to previous 1.98 (colored)

Sync with HEAD

Revision 1.99 / (download) - annotate - [select for diffs], Fri Aug 21 10:48:06 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.98: +5 -4 lines
Diff to previous 1.98 (colored)

- move prototypes to common header file
- rename function to avoid confusion with pseudo-device attach

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:10 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.93.2.1: +39 -22 lines
Diff to previous 1.93.2.1 (colored) to branchpoint 1.93 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.84.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:39:55 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.84.2.3: +43 -26 lines
Diff to previous 1.84.2.3 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:15 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.95: +39 -22 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

sync with head

Revision 1.98 / (download) - annotate - [select for diffs], Mon Mar 24 19:46:24 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.97: +8 -13 lines
Diff to previous 1.97 (colored)

- use cpu_{g,s}etmodel
- fix unused

Revision 1.97 / (download) - annotate - [select for diffs], Sat Jan 11 16:34:05 2014 UTC (10 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.96: +3 -3 lines
Diff to previous 1.96 (colored)

Remove tab nits.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Jan 11 08:07:16 2014 UTC (10 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.95: +33 -11 lines
Diff to previous 1.95 (colored)

Add support to pass boothowto and bootdev info from bootloader to kernel.

Kernel side changes:
- use %d7 (boothowto) and %d6 (bootdev) to pass info and also use
  old macro in <sys/reboot.h> as ancient 4.4BSD did for simplicity
- add <machine/bootinfo.h> to define values as API to pass these info
- save boothowto and bootdev in registers right after zero'ing bss
- add MD device_register(9) to check booted_device per passed bootdev info
- merge old bootarg checks in rootconf() and luna68k_init() with
  tweaks for backward compatibility
  (direct boot a.out kernel from ROM monitor without bootloader still works)

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:48 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.93: +62 -13 lines
Diff to previous 1.93 (colored)

resync with head

Revision 1.95 / (download) - annotate - [select for diffs], Sat Jan 26 15:46:24 2013 UTC (11 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.94: +6 -6 lines
Diff to previous 1.94 (colored)

Whitespace nits.

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:52 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.84.2.2: +58 -9 lines
Diff to previous 1.84.2.2 (colored) to branchpoint 1.84 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Fri Jan 18 18:41:12 2013 UTC (11 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.93: +58 -9 lines
Diff to previous 1.93 (colored)

Handle ddb symbol table loaded by the native bootloader properly.
 - add a function that check if the symbol table is loaded and
  return the table size (taken from sun3/sun3/locore2.c)
 - calculate end of symbol table address in locore.s
 - call ksym_addsyms_elf() with proper args

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:54 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.84.2.1: +15 -18 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored)

sync with head

Revision 1.93 / (download) - annotate - [select for diffs], Fri Aug 10 12:48:14 2012 UTC (11 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.92: +10 -9 lines
Diff to previous 1.92 (colored)

Appease gcc -fno-common:
 - initialize cn_tab at runtime in pre-main luna68k_init()
Tested on LUNA.

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Tue Jul 31 08:22:06 2012 UTC (11 years, 7 months ago) by martin
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.89: +7 -5 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #453):
	sys/arch/luna68k/luna68k/machdep.c: revision 1.91
	sys/arch/luna68k/luna68k/locore.s: revision 1.49
Handle bootarg strings passed from firmware prompt properly on LUNA-II.
LUNA-II seems to use a different vector from LUNA to pass bootargs.
Now we can specify RB_ASKNAME and RB_SINGLE at boot on LUNA-II.
Should be pulled up to netbsd-6.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Jul 28 19:08:24 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.91: +2 -3 lines
Diff to previous 1.91 (colored)

Remove declartions of physmem

Revision 1.91 / (download) - annotate - [select for diffs], Sat Jul 28 17:33:53 2012 UTC (11 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.90: +7 -5 lines
Diff to previous 1.90 (colored)

Handle bootarg strings passed from firmware prompt properly on LUNA-II.
LUNA-II seems to use a different vector from LUNA to pass bootargs.

Now we can specify RB_ASKNAME and RB_SINGLE at boot on LUNA-II.

Should be pulled up to netbsd-6.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Jul 27 05:36:10 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.89: +2 -7 lines
Diff to previous 1.89 (colored)

Remove safepri and use IPL_SAFEPRI instead.  This may be defined in a MD
header file (if not, a value of 0 is assmued).

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:35 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.84: +32 -22 lines
Diff to previous 1.84 (colored)

sync with head

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:29 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.88: +3 -11 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

merge to -current.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Dec 12 19:03:10 2011 UTC (12 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: netbsd-6
Changes since 1.88: +3 -11 lines
Diff to previous 1.88 (colored)

implement bdev_size(9) wrapper around d_psize() routine, so we can take
the device lock in relevant places.  avoid doing so while actually dumping.

tested i386 crash dumps still work, and that all touched files compile.

fixes PR#45705.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Nov 26 04:32:46 2011 UTC (12 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.87: +4 -5 lines
Diff to previous 1.87 (colored)

Use pmap_kenter_pa(9) to map msgbuf memory which is not managed by VM.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Nov 26 04:31:19 2011 UTC (12 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.86: +4 -2 lines
Diff to previous 1.86 (colored)

Clear innmihand flag (for recursion check) when the NMI hander is returned
so that we can abort kernel multiple times even after continue.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Nov 15 13:25:44 2011 UTC (12 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: jmcneill-audiomp3-base, jmcneill-audiomp3
Changes since 1.85: +24 -8 lines
Diff to previous 1.85 (colored)

Use now common fpu_probe() and print FPU type per probe result since
it turns out that server and high-end LUNA models actually have MC68882,
not MC68881 as basic and standard models:
http://www.h2.dion.ne.jp/~dogs/collect/ds/luna.html

Also put LUNA model names into cpu_model[] for sysctl(3).
(maybe we don't have to consider sysctl backward compatibility on this port ;-)

Revision 1.85 / (download) - annotate - [select for diffs], Sat Nov 12 13:44:26 2011 UTC (12 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.84: +5 -4 lines
Diff to previous 1.84 (colored)

Finally complete LUNA-II support, after almost 12 years since
initial import of NetBSD/luna68k.

Note a working LUNA-II machine was found and provided by OMRON guys
after LUNA demonstration at Open Source Conference 2011 Kansai @ Kyoto:
http://mail-index.NetBSD.org/source-changes/2011/07/16/msg024675.html
and this resurrected LUNA-II which runs NetBSD/luna68k -current with Xserver
was also demonstrated on the NetBSD booth at Kansai Open Source 2011:
http://www.NetBSD.org/gallery/events.html#kansai-os-jp-2011

It's really pleasure to meet many OMRON LUNA developers and LUNA users
at the NetBSD booth.  Thank you everyone!


Changes details:

luna68k/luna68k/locore.s
 - don't use 68030 specific pflusha instruction in 68040 initialization path
 - use TBIA() to invalidate TLB instead of 68030's pflusha
   after MMU is turned on (as hp300 does)
   (these two bugs are fatal at early bootstrap)
 - pull loadustp() fixes from hp300/locore.s rev 1.82
   (more flush ops are required in it otherwise causes random coredumps)
 - specify correct %tt1 mask value
   (the mask value means actually bit mask, not transparent range)

luna68k/luna68k/machdep.c
 - use proper delay_divisor for 68040 25MHz LUNA-II

luna68k/luna68k/mainbus.c
 - prepare and use per-model mainbus device lists for mainbus_attach_args

luna68k/conf/GENERIC
luna68k/conf/INSTALL
 - enable options M68040 and FPSP
 - enable secondary spc(4) on LUNA-II

luna68k/conf/Makefile.luna68k
 - include arch/m68k/fpsp/Makefile.inc for FPSP

luna68k/dev/lcd.c
 - promote LUNA-II model on LCD

XXX: old and slow SCSI-1 drives like Hitachi DK312 seems to have
XXX: some problem with spc(4) driver, even on the original LUNA

Revision 1.84 / (download) - annotate - [select for diffs], Mon Oct 17 14:19:28 2011 UTC (12 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.83: +6 -4 lines
Diff to previous 1.83 (colored)

Print LUNA model name (not only CPU/MMU/FPU) on boot as 4.4BSD Lite2 does.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Oct 17 13:52:11 2011 UTC (12 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

LUNA has 68030+68881, not 68882.

XXX: we should have a common fpu_probe() function among all m68k ports.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Jul 28 09:59:13 2011 UTC (12 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.81: +4 -4 lines
Diff to previous 1.81 (colored)

Use volatile uint8_t to access 8255 PPI ports.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Jul 28 09:56:34 2011 UTC (12 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.80: +37 -30 lines
Diff to previous 1.80 (colored)

KNF, use ANSI decls, remove an obsolete hack, misc cosmetics etc.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:18 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.79: +13 -2 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:43 2011 UTC (12 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.79: +13 -2 lines
Diff to previous 1.79 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:56 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.76: +3 -37 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Sync with HEAD.

Revision 1.74.2.5 / (download) - annotate - [select for diffs], Tue May 31 03:04:07 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.74.2.4: +0 -35 lines
Diff to previous 1.74.2.4 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

sync with head

Revision 1.79 / (download) - annotate - [select for diffs], Mon May 16 13:22:53 2011 UTC (12 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.78: +2 -37 lines
Diff to previous 1.78 (colored)

- merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c
- move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>

Briefly tested and no obvious breakage on atari, sun3, and x68k.

Revision 1.74.2.4 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:53 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.74.2.3: +15 -3 lines
Diff to previous 1.74.2.3 (colored) to branchpoint 1.74 (colored)

sync with head

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:45 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:27 2011 UTC (13 years ago) by joerg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jan 17 14:53:42 2011 UTC (13 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.76: +3 -2 lines
Diff to previous 1.76 (colored)

Explicitly include <machine/pcb.h> for struct pcb.

Revision 1.73.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:22 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.73.2.2: +11 -0 lines
Diff to previous 1.73.2.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

Sync with HEAD (-D20101022).

Revision 1.76 / (download) - annotate - [select for diffs], Sat Oct 16 17:10:43 2010 UTC (13 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.75: +13 -2 lines
Diff to previous 1.75 (colored)

Prepare empty module_init_md() for options MODULAR for all other m68k ports.

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:45 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.73.2.1: +1 -0 lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored)

Sync with HEAD.

Revision 1.53.20.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:18 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53.20.4: +3 -2 lines
Diff to previous 1.53.20.4 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

sync with head.

Revision 1.74.2.3 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:21 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.74.2.2: +3 -2 lines
Diff to previous 1.74.2.2 (colored) to branchpoint 1.74 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Sun Jun 6 04:50:06 2010 UTC (13 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.74: +3 -2 lines
Diff to previous 1.74 (colored)

fix PR 6724 - convert m68k options to defflag's.  this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:32 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.73: +2 -10 lines
Diff to previous 1.73 (colored)

Sync with HEAD.

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Sun Apr 25 15:27:36 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.74.2.1: +5 -8 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored)

- Invent mm_md_getva() and mm_md_relva() routines, provided by MD and
  indicated with __HAVE_MM_MD_PREFER_VA.  It will be used to deal with
  cache aliasing issues and thus fix little MIPS, ARM and friends.

- Convert dev_mem_readwrite() to use unmanaged mappings.  Fix a missed
  offset addition in a case of direct map.  Sprinkle various comments in
  the memory device driver.

- Add missing direct map handling on hp700 and vax.  Make checks across
  m68k ports more consistent, reduce the diffs.  Fix kernacc check miss
  on news68k.  Minor off-by-one fix for alpha.  Add MEMC_PHYS_BASE for
  mmap() case check on acorn26.  Misc clean-up.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:49 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.74: +16 -2 lines
Diff to previous 1.74 (colored)

Unify /dev/{mem,kmem,zero,null} implementations in MI code.  Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.

Revision 1.53.20.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:33 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53.20.3: +10 -17 lines
Diff to previous 1.53.20.3 (colored) to branchpoint 1.53 (colored)

sync with head

Revision 1.74 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:30 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.73: +2 -10 lines
Diff to previous 1.73 (colored)

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Dec 10 14:13:50 2009 UTC (14 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds).  Should result in no code differences.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Nov 23 00:11:44 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.71: +8 -7 lines
Diff to previous 1.71 (colored)

Use lwp_getpcb() on m68k ports, clean from struct user usage.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Oct 26 19:16:56 2009 UTC (14 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

kill extra whitespaces
reviewed by tsutsui@

Revision 1.53.20.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:27 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53.20.2: +3 -2 lines
Diff to previous 1.53.20.2 (colored) to branchpoint 1.53 (colored)

sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Aug 15 23:44:59 2009 UTC (14 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.69: +3 -2 lines
Diff to previous 1.69 (colored)

Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to
do it for us.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:17:59 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.62: +44 -58 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.53.20.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:25 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53.20.1: +52 -71 lines
Diff to previous 1.53.20.1 (colored) to branchpoint 1.53 (colored)

sync with head.

Revision 1.55.4.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:17 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.55.4.2: +43 -58 lines
Diff to previous 1.55.4.2 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Mar 18 17:06:45 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

bcopy -> memcpy

Revision 1.68 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:13 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

bzero -> memset

Revision 1.67 / (download) - annotate - [select for diffs], Wed Mar 18 10:22:31 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.66: +9 -9 lines
Diff to previous 1.66 (colored)

Ansify function definitions w/o arguments. Generated with sed.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:11 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.65: +4 -5 lines
Diff to previous 1.65 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:08 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.64: +10 -24 lines
Diff to previous 1.64 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.64 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:01 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.63: +23 -23 lines
Diff to previous 1.63 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:01 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.55.4.1: +5 -4 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:02 2009 UTC (15 years ago) by apb
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.62: +3 -2 lines
Diff to previous 1.62 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jan 21 16:24:34 2009 UTC (15 years, 1 month ago) by he
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

Re-adapt to the changed return types for major() and minor().

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:24 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.55: +10 -8 lines
Diff to previous 1.55 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jan 17 19:39:50 2009 UTC (15 years, 1 month ago) by he
Branch: MAIN
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

Umm, add two spaces which accidentally was left by the wayside.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jan 17 19:34:28 2009 UTC (15 years, 1 month ago) by he
Branch: MAIN
Changes since 1.59: +6 -6 lines
Diff to previous 1.59 (colored)

Print dev_t with PRIu64 instead of llu, suggested by mhitch@.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Jan 17 14:21:29 2009 UTC (15 years, 1 month ago) by he
Branch: MAIN
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

Print dev_t (from major() and minor()) with %llu.

Revision 1.53.16.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:09 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.53.16.2: +4 -2 lines
Diff to previous 1.53.16.2 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:16 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.55: +6 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:34 2008 UTC (15 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:02 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:43 2008 UTC (15 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:29 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.54.2.2: +2 -9 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:54 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.54: +2 -9 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with head.

Revision 1.53.16.2 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:16 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.53.16.1: +0 -7 lines
Diff to previous 1.53.16.1 (colored) to branchpoint 1.53 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:56 2008 UTC (15 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.54: +2 -9 lines
Diff to previous 1.54 (colored)

Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.53.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:21 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.53: +2 -9 lines
Diff to previous 1.53 (colored)

Sync with HEAD.

Revision 1.53.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:20 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.53: +2 -9 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head.

Revision 1.53.20.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:43 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53: +2 -9 lines
Diff to previous 1.53 (colored)

sync with head.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:34:59 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.54.2.1: +2 -3 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:44 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:26 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.53: +2 -9 lines
Diff to previous 1.53 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.52.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:18:06 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Wed Oct 17 19:55:04 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.41.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:27:06 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.2.3: +11 -12 lines
Diff to previous 1.41.2.3 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

sync with head.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:20 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with head.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:37 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with head.

Revision 1.51.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:02 2007 UTC (16 years, 9 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Update to HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Mon May 21 15:22:22 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

curlwp can't be NULL so no need to check it.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:48:44 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.48: +10 -11 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Mar 5 12:50:16 2007 UTC (17 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.50: +2 -3 lines
Diff to previous 1.50 (colored)

Allocate msgbufaddr in pmap_bootstrap.c where it's initilized,
and move its declaration into <m68k/pmap_motorola.h>.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:04 2007 UTC (17 years ago) by christos
Branch: MAIN
Changes since 1.49: +8 -8 lines
Diff to previous 1.49 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Feb 28 04:21:52 2007 UTC (17 years ago) by thorpej
Branch: MAIN
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored)

TRUE -> true, FALSE -> false

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:10 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.2.2: +2 -3 lines
Diff to previous 1.41.2.2 (colored) to branchpoint 1.41 (colored)

sync with head.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:05 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored)

Merge newlock2 to head.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:35 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.45.4.1: +2 -3 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Remove support for SA. Ok core@.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:24 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.2.1: +7 -36 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored)

sync with head.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:23 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.45: +6 -35 lines
Diff to previous 1.45 (colored)

Sync with head.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:49 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.46: +6 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 21 05:54:32 2006 UTC (17 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.46: +6 -4 lines
Diff to previous 1.46 (colored)

in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
dumpdev.  this occurs when we try to set the dumpdev to a device
with no driver loaded.  this fixes PR#34872.

in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf().  (this also fixes PR#34872.)

XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.

XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Sep 14 15:04:07 2006 UTC (17 years, 5 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-splraiseipl-base
Branch point for: yamt-splraiseipl
Changes since 1.45: +2 -33 lines
Diff to previous 1.45 (colored)

Update luna68k to MI todr and timecounters.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:40:59 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.44.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:42:01 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Fri Aug 4 02:26:49 2006 UTC (17 years, 7 months ago) by mhitch
Branch: MAIN
CVS Tags: yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

gcc4 fix:  correct declaration of 'end'.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:52:58 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41: +16 -14 lines
Diff to previous 1.41 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 24 22:45:35 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.43: +6 -6 lines
Diff to previous 1.43 (colored)

bare asm -> __asm

Revision 1.43 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:52 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored)

merge ktrace-lwp.

Revision 1.33.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 13:57:09 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.33.2.5: +13 -11 lines
Diff to previous 1.33.2.5 (colored) next main 1.34 (colored)

Sync with HEAD. Here we go again...

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Wed Nov 2 11:57:54 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-vop
Changes since 1.41: +9 -7 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with head.

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Tue Nov 1 22:33:25 2005 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.39: +9 -7 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Pull up following revision(s) (requested by chs in ticket #923):
	sys/arch/next68k/next68k/machdep.c: revision 1.73
	sys/arch/luna68k/luna68k/machdep.c: revision 1.42
	sys/arch/hp300/hp300/machdep.c: revision 1.184
	sys/arch/amiga/amiga/machdep.c: revision 1.193
	sys/arch/x68k/x68k/machdep.c: revision 1.129
	sys/arch/mac68k/mac68k/machdep.c: revision 1.306
	sys/arch/news68k/news68k/machdep.c: revision 1.61
	sys/arch/mvme68k/mvme68k/machdep.c: revision 1.113
	sys/arch/atari/atari/atari_init.c: revision 1.63
fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
512 bytes now so we need a bigger buffer.  PR 26958.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Oct 30 15:49:39 2005 UTC (18 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.41: +9 -7 lines
Diff to previous 1.41 (colored)

fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
512 bytes now so we need a bigger buffer.  PR 26958.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 5 09:08:48 2005 UTC (18 years, 9 months ago) by he
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored)

Adapt to compiling with -Wcast-qual by sprinkling consts around.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:14 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.38: +3 -26 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with -current

Revision 1.40 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:05 2005 UTC (18 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.

Revision 1.33.2.5 / (download) - annotate - [select for diffs], Tue Feb 15 21:32:41 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.33.2.4: +2 -25 lines
Diff to previous 1.33.2.4 (colored)

Sync with HEAD.

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:35 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.38: +2 -25 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Feb 11 15:03:55 2005 UTC (19 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.38: +2 -25 lines
Diff to previous 1.38 (colored)

remove uvm_map_protect from cpu_startup of several ports.
- they shouldn't be needed with the current fault handler.
- they causes assertion failure with the recent vm_map implementation.

discussed on tech-kern@.  reviewed by Chuck Silvers.
PR/29179 from Julio M. Merino Vidal.

Revision 1.33.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:17:25 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.33.2.3: +5 -5 lines
Diff to previous 1.33.2.3 (colored)

Fix the sync with head I botched.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:36:06 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.33.2.2: +5 -5 lines
Diff to previous 1.33.2.2 (colored)

Sync with HEAD.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:36:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.33.2.1: +18 -95 lines
Diff to previous 1.33.2.1 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:49 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
CVS Tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.37: +6 -4 lines
Diff to previous 1.37 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:14 2004 UTC (20 years ago) by wiz
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:16 2003 UTC (20 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.35: +3 -66 lines
Diff to previous 1.35 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:21 2003 UTC (20 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.34: +12 -28 lines
Diff to previous 1.34 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Sep 27 20:01:58 2003 UTC (20 years, 5 months ago) by cl
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Cast through (void *) to appease gcc3.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:23 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:28 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jun 28 14:20:57 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:25 2003 UTC (20 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.30 / (download) - annotate - [select for diffs], Sat May 10 21:10:32 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +21 -0 lines
Diff to previous 1.29 (colored)

Back out the following chagne:
    http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html

There were some side-effects that I didn't anticipate, and fixing them
is proving to be more difficult than I thought, do just eject for now.
Maybe one day we can look at this again.

Fixes PR kern/21517.

Revision 1.29 / (download) - annotate - [select for diffs], Thu May 8 18:13:17 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +2 -23 lines
Diff to previous 1.28 (colored)

Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:14 2003 UTC (20 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.27: +9 -4 lines
Diff to previous 1.27 (colored)

Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.27 / (download) - annotate - [select for diffs], Wed Apr 2 00:08:14 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +13 -13 lines
Diff to previous 1.26 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 17 23:13:12 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.25: +14 -10 lines
Diff to previous 1.25 (colored)

Merge the nathanw_sa branch.

Revision 1.19.4.10 / (download) - annotate - [select for diffs], Fri Oct 18 02:38:13 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.19.4.9: +2 -4 lines
Diff to previous 1.19.4.9 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Catch up to -current.

Revision 1.17.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:33:40 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.17.2.4: +12 -10 lines
Diff to previous 1.17.2.4 (colored) next main 1.18 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.25 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:11 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

Don't include <sys/map.h>.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 19 10:38:01 2002 UTC (21 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

Do not include <sys/clist.h>, it's not used in NetBSD at all.

Revision 1.19.4.9 / (download) - annotate - [select for diffs], Tue Sep 17 21:15:18 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.4.8: +12 -8 lines
Diff to previous 1.19.4.8 (colored) to branchpoint 1.19 (colored)

Catch up to -current.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 6 months ago) by gehenna
Branch: MAIN
Changes since 1.22: +12 -8 lines
Diff to previous 1.22 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.17.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:36:44 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.17.2.3: +4 -5 lines
Diff to previous 1.17.2.3 (colored)

sync kqueue branch with HEAD

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Sat Aug 31 13:45:01 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21.4.1: +4 -5 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

catch up with -current.

Revision 1.19.4.8 / (download) - annotate - [select for diffs], Tue Aug 27 23:44:40 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.4.7: +4 -5 lines
Diff to previous 1.19.4.7 (colored) to branchpoint 1.19 (colored)

Catch up to -current.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 25 20:21:38 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.21: +4 -5 lines
Diff to previous 1.21 (colored)

Make nbuf, nswbuf, and bufpages unsigned.  Make all operations on these
variables unsigned, and update places where their values are printed.

Revision 1.19.4.7 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:34 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.4.6: +2 -3 lines
Diff to previous 1.19.4.6 (colored) to branchpoint 1.19 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.19.4.6 / (download) - annotate - [select for diffs], Mon Jun 24 22:05:18 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.4.5: +5 -5 lines
Diff to previous 1.19.4.5 (colored) to branchpoint 1.19 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:37:38 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.17.2.2: +3 -3 lines
Diff to previous 1.17.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.19.4.5 / (download) - annotate - [select for diffs], Wed May 29 21:31:44 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.4.4: +3 -2 lines
Diff to previous 1.19.4.4 (colored) to branchpoint 1.19 (colored)

#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Fri May 17 13:49:55 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21: +12 -8 lines
Diff to previous 1.21 (colored)

Replace the access to devsw table and the hard-coded major with devsw API.

Revision 1.19.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:40:46 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.4.3: +4 -4 lines
Diff to previous 1.19.4.3 (colored) to branchpoint 1.19 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 20 17:59:23 2002 UTC (21 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

kill remaining PS_STRINGS instances.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Sat Mar 16 15:58:23 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.17.2.1: +3 -3 lines
Diff to previous 1.17.2.1 (colored)

Catch up with -current.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 6 13:10:21 2002 UTC (22 years ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Sun Dec 2 12:30:32 2001 UTC (22 years, 3 months ago) by scw
Branch: nathanw_sa
Changes since 1.19.4.2: +5 -2 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored)

If an FPU is available, call m68k_make_fpu_idle_frame() to generate
a reference FPU idle frame.

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Sun Nov 18 18:10:20 2001 UTC (22 years, 3 months ago) by scw
Branch: nathanw_sa
Changes since 1.19.4.1: +1010 -0 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored)

MD Scheduler Activation bits for Luna68k.
Compile-tested only.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:40:13 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Catch up with -current.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:13:52 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.17: +15 -15 lines
Diff to previous 1.17 (colored)

Update the kqueue branch to HEAD.

Revision 1.19.4.1, Mon Sep 10 21:19:32 2001 UTC (22 years, 5 months ago) by scw
Branch: nathanw_sa
Changes since 1.19: +0 -1009 lines
FILE REMOVED

file machdep.c was added on branch nathanw_sa on 2001-11-18 18:10:20 +0000

Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:32 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 25 21:14:44 2001 UTC (22 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.17: +12 -12 lines
Diff to previous 1.17 (colored)

add register prefixes in asms.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:26:30 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.13.2.1: +9 -5 lines
Diff to previous 1.13.2.1 (colored) next main 1.14 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:14 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Branch point for: kqueue
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 30 15:24:31 2001 UTC (22 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

add missing   #include "opt_kgdb.h"

Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 24 04:30:59 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored)

Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:53:40 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

Catch up with -current.

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:05 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.12.2.3: +5 -5 lines
Diff to previous 1.12.2.3 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:41 2001 UTC (22 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Wed Dec 13 15:49:31 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.12.2.2: +14 -16 lines
Diff to previous 1.12.2.2 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 12 04:07:35 2000 UTC (23 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.12: +14 -16 lines
Diff to previous 1.12 (colored)

Relocate boot flag detection from consinit() to more logical place.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 20:10:35 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.12.2.1: +1007 -0 lines
Diff to previous 1.12.2.1 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.12.2.1, Sun Sep 24 12:32:35 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.12: +0 -1007 lines
FILE REMOVED

file machdep.c was added on branch thorpej_scsipi on 2000-11-20 20:10:35 +0000

Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 24 12:32:35 2000 UTC (23 years, 5 months ago) by jdolecek
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.11: +4 -13 lines
Diff to previous 1.11 (colored)

add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:19 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 29 08:17:26 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:46 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.8: +2 -5 lines
Diff to previous 1.8 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:01:09 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.7: +2 -5 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 5 23:45:03 2000 UTC (23 years, 9 months ago) by jhawk
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.7: +2 -5 lines
Diff to previous 1.7 (colored)

Do not clear msgbufenabled in dumpsys().  Dump messages will now go to
the message buffer. This can be invaluable in debugging if the dump
fails (assuming a persistant message buffer)

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 26 21:19:49 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored)

First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 28 23:57:28 2000 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 26 20:42:28 2000 UTC (23 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

Merge parts of chs-ubc2 into the trunk:
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
  make them type-generic, which is necessary i.e. to operate on file offsets
  without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
  integral type (paddr_t, vaddr_t).

Originally done by Chuck Silvers, updated by myself.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 19 20:05:37 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.3: +2 -11 lines
Diff to previous 1.3 (colored)

Move callout initialization to a single location; no need to duplicate
that code all over the place.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 19 02:52:18 2000 UTC (24 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

check whether tv_usec >= 1000000

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 15 10:06:21 2000 UTC (24 years, 1 month ago) by nisimura
Branch: MAIN
Changes since 1.1: +48 -8 lines
Diff to previous 1.1 (colored)

Revert to old ROM console I/O code.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 5 08:49:03 2000 UTC (24 years, 2 months ago) by nisimura
Branch: MAIN

Introduce NetBSD/luna68k port into CVS repository.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>