The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jan 1 21:07:14 2022 UTC (3 years, 1 month ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, 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, HEAD
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
fix typos in comments, mainly basicly -> basically.

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:51 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +20 -2 lines
Sync with HEAD

Revision 1.54.14.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:43 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.54.14.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.14.1: +20 -2 lines
Sync with HEAD

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

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Aug 1 09:44:31 2018 UTC (6 years, 6 months ago) by reinoud
Branches: 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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-4-RELEASE, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, 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
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +20 -2 lines
Oops, forgot a debug printf

Revision 1.54.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:46 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +64 -13 lines
Sync with HEAD

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Jun 11 19:35:56 2018 UTC (6 years, 8 months ago) by reinoud
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +13 -13 lines
Now we use timestamp info, use direct console output instead of kernel
timestamped output for usage() reporting

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Jun 5 20:02:43 2018 UTC (6 years, 8 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +56 -5 lines
Add ATAPI passtrough support giving the NetBSD/usermode kernel full control of
an ATAPI device. All ATAPI/SCSI commands are passed trough.

Note that ATAPI/SCSI calls are made in the foreground still. Lengthy calls
will still hug the CPU until completion. Making it asynchronous is in the
pipeline

Revision 1.53.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:47 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -3 lines
update from HEAD

Revision 1.53.24.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:22 2017 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -3 lines
Sync with HEAD

Revision 1.53.28.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:27 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -3 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:47:59 2016 UTC (8 years, 1 month ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-3-RELEASE, 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, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:00 2012 UTC (12 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +146 -183 lines
sync with head

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:25 2012 UTC (13 years ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +146 -198 lines
merge to -current.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Feb 8 17:55:21 2012 UTC (13 years ago) by reinoud
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, 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, netbsd-6-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +26 -3 lines
Fix /dev/kmem access and make vmstat(1) `work'. Not sure all the results are
indeed valid or correct but at least it shows them without coredumping or
coredumping the kernel.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Jan 15 10:30:21 2012 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +12 -12 lines
don't modify command-line parameters

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Jan 15 10:18:58 2012 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +9 -2 lines
allow specifing the root device with 'root=ldN' parameter

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jan 7 18:10:18 2012 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +35 -14 lines
support multiple disk images (pass multiple disk=<path> parameters on the
command-line). while changing command-line params, rename tap= option to
net=

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Jan 6 20:44:57 2012 UTC (13 years, 1 month ago) by reinoud
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -303 lines
Split machdep.c into a MI part and a MD part.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Jan 3 10:53:46 2012 UTC (13 years, 1 month ago) by reinoud
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -2 lines
Fix logic that checks if its the kernel or a userland process that causes the
trap. Signal sending still needs to be addressed.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Dec 29 21:22:49 2011 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +29 -10 lines
Replace the SDL based genfb driver with a wsdisplay and wskbd driver that
implements the VNC (RFB) protocol.

To enable the VNC server, add 'vnc=640x480,5900' to the kernel command line
(where 640x480 is the desired fb resolution and 5900 is the TCP port).

Screenshot of it here: http://www.netbsd.org/~jmcneill/usermode.tiff

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Dec 27 14:55:31 2011 UTC (13 years, 1 month ago) by reinoud
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -2 lines
Implement physio() for NetBSD/usermode the right way!

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Dec 26 21:22:23 2011 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +17 -4 lines
update usage message:

$ ./netbsd -h
-h: unknown flag
usage: ./netbsd [-acdqsvxz] [tap=<dev>,<eaddr>] [audio=<dev>] [<fsimg>]
       (ex. "./netbsd tap=tap0,00:00:be:ef:ca:fe audio=audio0 root.fs")

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Dec 26 21:06:42 2011 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +17 -2 lines
add vaudio(4) audio device driver

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Dec 26 12:39:20 2011 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +26 -3 lines
first cut at networking support for usermode, doesn't fully work yet but
enough to get an address with dhcp and answer arps

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Dec 24 12:26:58 2011 UTC (13 years, 1 month ago) by reinoud
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +112 -19 lines
Make signals work for NetBSD/usermode[i386] !

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Dec 20 22:48:59 2011 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +10 -4 lines
on second thought, set machine and machine_arch both from the host and
override module_machine

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Dec 20 21:26:37 2011 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -3 lines
set machine_arch to that of the host

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Dec 20 21:01:39 2011 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -11 lines
get rid of urkelvisor, and use same MD majors as the host

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Dec 20 15:43:51 2011 UTC (13 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +39 -33 lines
Add int $80 and sysenter opcodes to the x86 SIGILL opcode detector

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Dec 14 19:40:02 2011 UTC (13 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +13 -5 lines
Cleanup i386 register printing and opcode extraction

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 14 18:51:39 2011 UTC (13 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -7 lines
Remove the need for a siginfo structure in illegal instruction handling.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Dec 13 20:59:20 2011 UTC (13 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +12 -2 lines
Print the signal we are supposed to deliver!

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Dec 12 19:57:12 2011 UTC (13 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
Fix error flag (carry) setting if its a pseudo error of EJUSTRETURN etc. Just
in case.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Nov 27 21:38:17 2011 UTC (13 years, 2 months ago) by reinoud
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +44 -29 lines
Big patch that changes the signal stack usage of urkel significantly.

Formerly, all signals came on the signal stack and the two important ones were
then forwared to either the system call or the pagefault handler. This worked
fine but the signal stack remains that, a stack. When we go multi-process this
stack gets corrupted and out-of-order with all kind of nastyness since a
userland process switch can occure when a system call is called or when a
process gets a page fault.

The new scheme only uses the signal stack as a jumpboard. It swaps states and
then returns from the signal, clearing the stack but instead of returning to
the code it now jumpt to the handler and that handler then returns to the code
when its finished.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Sep 16 16:26:19 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -6 lines
Split the two debug sections

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Sep 14 18:28:36 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -5 lines
Implement in-place execution for binaries! No more MKPIE/MKPIC for userland
anymore!

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Sep 12 12:24:34 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -2 lines
Implement spl level based priority interrupt controller in software

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 9 20:06:04 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Use the new thunk_makecontext() scheme with function and upto 3 aguments

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Sep 9 12:44:27 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +39 -45 lines
machdep.c: Cleanup the machine dependent code and set the carry flag on error
out. While here also clean up register printing.

syscall.c: Add debug syscall printing code to track basic syscalls being
taken.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Sep 8 19:39:00 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +88 -5 lines
Implement a working(!) syscall! well, it can call a number of syscalls without
dying ;)

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Sep 8 15:10:59 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +24 -4 lines
Implement md_check_syscall_opcode() to check if the instruction at the pointer
`ptr' is indeed a syscall entry.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Sep 7 10:10:10 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +21 -17 lines
Move all i386 specific stuff in a #ifdef __i386__

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 5 18:31:04 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +34 -18 lines
Cleanup the exec debugging printf mess in usermode's machdep.c and make them
depend on DEBUG_EXEC

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Sep 4 21:08:18 2011 UTC (13 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -3 lines
implement splraise/spllower

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Sep 3 15:00:28 2011 UTC (13 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Get this compiling (but not quite linking yet) on Linux

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Sep 3 12:33:02 2011 UTC (13 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +13 -4 lines
move call of urkelvisor_init to main instead of pmap_bootstrap

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Sep 1 15:15:06 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +24 -9 lines
Hack register setup for __i386__. This now seems to start up the code a lot
further.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Aug 30 16:06:20 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -2 lines
Hack to try to help usermode/i386 by setting the EBX register

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Aug 29 12:46:58 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +12 -7 lines
Dirty commit of machdep.c and cpu.c

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Aug 28 19:39:42 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +19 -2 lines
Implement redementary setregs()

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Aug 27 21:16:15 2011 UTC (13 years, 5 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
Print when retregs() is called.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Aug 25 11:06:29 2011 UTC (13 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +10 -3 lines
- build thunk code with warnings
- add option SDL which pulls in thunk_sdl code and links the kernel to libSDL
- add an experimental framebuffer driver based on thunk_sdl, enable with:
    options SDL
    genfb* at mainbus?
    wsdisplay* at genfb?
    options WS_KERNEL_FG=WSCOL_GREEN
    options WSEMUL_VT100
- reserve a major # for wsdisplay
- add thunk_getenv()

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Aug 23 17:00:36 2011 UTC (13 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
more time_t fixes

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Aug 13 10:31:24 2011 UTC (13 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -2 lines
- initialize cpu_info_primary early, before cpu0 attaches
- track idepth in cpu_info struct and use it in cpu_intr_p
- for debug and diagnostic kernels, abort when rebooting
- fill in __cpu_simple_lock_* stubs
- splraise(IPL_HIGH) before calling kernmain
- pmap_extract: only return phys addr if pap is not NULL

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Aug 12 12:59:13 2011 UTC (13 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -2 lines
add a simple disk driver, pass the path to the disk image on the kernel command line:

soundwave$ ./netbsd /tmp/test.fs
NetBSD/usermode startup
[...]
ld0 at mainbus0: /tmp/test.fs (33554432)
ld0: 32768 KB, 8322 cyl, 64 head, 63 sec, 1 bytes/sect x 33554432 sectors
boot device: ld0
root on ld0a dumps on ld0b

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Aug 12 11:37:04 2011 UTC (13 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +23 -2 lines
implement reboot using execv

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Aug 10 01:32:44 2011 UTC (13 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +11 -3 lines
fix build

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:55 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +2 -3 lines
Sync with HEAD.

Revision 1.4.16.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:05 2010 UTC (14 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4.16.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.16.1: +3 -11 lines
sync with head

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:02:32 2010 UTC (15 years ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -3 lines
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.8: download - view: text, markup, annotated - select for diffs
Thu Dec 10 14:13:52 2009 UTC (15 years, 2 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
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.7: download - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:23 2009 UTC (15 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -3 lines
Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Oct 21 16:07:00 2009 UTC (15 years, 3 months ago) by snj
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -8 lines
Drop 3rd and 4th clauses.  OK jmcneill (copyright holder).

Revision 1.4.16.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:03 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3 lines
sync with head.

Revision 1.4.18.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:36 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +2 -3 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.4.20.1: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:56 2008 UTC (16 years, 7 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +2 -3 lines
Sync with head.

Revision 1.4.12.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:08:18 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +2 -3 lines
Sync with HEAD.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:28:56 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, mjf-devfs2-base, 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, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3 lines
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:13 2008 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.1: +114 -0 lines
Sync with HEAD.

Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:39:56 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +114 -0 lines
sync with head

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:49:29 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +114 -0 lines
sync with HEAD

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:32 2008 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.3.2.2: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +0 -9 lines
Sync with HEAD

Revision 1.4.6.1
Mon Jan 7 17:27:12 2008 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
FILE REMOVED
Changes since revision 1.4: +0 -114 lines
file machdep.c was added on branch mjf-devfs on 2008-02-18 21:05:13 +0000

Revision 1.4.4.1
Mon Jan 7 17:27:12 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.4: +0 -114 lines
file machdep.c was added on branch yamt-lazymbuf on 2008-01-21 09:39:56 +0000

Revision 1.4.2.1
Mon Jan 7 17:27:12 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
FILE REMOVED
Changes since revision 1.4: +0 -114 lines
file machdep.c was added on branch matt-armv6 on 2008-01-09 01:49:29 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 7 17:27:12 2008 UTC (17 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, yamt-lazymbuf, wrstuden-revivesa, simonb-wapbl, mjf-devfs2, mjf-devfs, matt-armv6
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -11 lines
Use gettimeofday as timecounter.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:51:04 2008 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.3.2.1: preferred, colored
Changes since revision 1.3.2.1: +123 -0 lines
Sync with HEAD

Revision 1.3.2.1
Sat Dec 29 16:28:40 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
FILE REMOVED
Changes since revision 1.3: +0 -123 lines
file machdep.c was added on branch bouyer-xeni386 on 2008-01-02 21:51:04 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Dec 29 16:28:40 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: MAIN
Branch point for: bouyer-xeni386
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Add -z to usage strings.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Dec 29 16:13:46 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +27 -11 lines
Define init_main's main away to kernmain, and provide our own MD main entry
point. We do this since we don't have a proper bootloader, so we can
instead parse boot arguments here.

  $ ./netbsd -h
  -h: unknown flag
  usage: ./netbsd [-acdqsvx]
	 (ex. "./netbsd -s")

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Dec 29 14:38:36 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: MAIN
Import work-in-progress NetBSD/usermode port.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>