Commit Graph

99425 Commits

Author SHA1 Message Date
grant 8584a77223 add the following quote from elric@.. (with permission, of course)
I held off from Uni until NetBSD came out.
I decided, ``if there's no NetBSD then I'll just flip burgers''
		-- Roland Dowdeswell
2002-07-08 02:34:20 +00:00
fvdl b0ba7094b2 netbsd32_sysarch moved here. 2002-07-07 23:28:04 +00:00
fvdl 728043f0da Add definitions for 32bit sysarch calls. 2002-07-07 23:27:00 +00:00
fvdl c1593a7671 Implement a few 32bit sysarch calls. 2002-07-07 23:25:37 +00:00
fvdl e877145e56 Move netbsd32_sysarch to netbsd32_machdep.c 2002-07-07 23:23:41 +00:00
fredette c9bdddaac5 Regen. 2002-07-07 23:01:51 +00:00
fredette f79af764d7 Now include the HPPA trap number in a user backtrace, and display
backtraces for more traps.
2002-07-07 22:52:54 +00:00
augustss 9ee8616e07 Add quirk for ADS HD controller. From Scott Ellis in kern/17495. 2002-07-07 19:52:48 +00:00
augustss c1367622d6 Regen. 2002-07-07 19:49:09 +00:00
augustss 5fba395c90 Add some Sandburst products. 2002-07-07 19:48:41 +00:00
matt 0d4f94281d Change OFB_ENABLE_CACHE to be enabled. 2002-07-07 19:40:05 +00:00
matt 1a8d29efcb Make the gem driver the default now, not the macppc specific gm. 2002-07-07 19:36:47 +00:00
matt 4577742ff6 Use SR 11 as USER_SR. (12 is used as an I/O BAT). 2002-07-07 19:32:49 +00:00
matt e64bc5acc1 Allow USER_SR to be overriden on a per-port basis 2002-07-07 19:29:18 +00:00
matt 902fd38614 Update OFB_ENABLE_CACHE to search for a empty bat that does not
conflict the USER_SR or one of the kernel SRs.
2002-07-07 18:35:10 +00:00
oki 33e652ebfd Regen. 2002-07-07 18:07:43 +00:00
oki 52bdeef730 PECOFF version of stat13 and lstat13 couldn't look for
alternative path at first.  Fixed it.
2002-07-07 18:06:02 +00:00
drochner 12950c5082 fix error handling if open() fails 2002-07-07 15:13:55 +00:00
drochner 373b39f1d2 put the "VGA_CONSOLE_SCREENTYPE" parameter into opt_vga.h 2002-07-07 15:09:52 +00:00
bjh21 fcbf1cae9e Mention lchflags in the NAME section. 2002-07-07 14:59:49 +00:00
bjh21 dd7d539761 Add lchflags() to the list of syscalls that act on symlinks. 2002-07-07 14:56:48 +00:00
briggs 77f5558791 Fix a printf format warning. 2002-07-07 14:29:06 +00:00
drochner cff6339e49 attach "vesabios"
(well, not really yet)
2002-07-07 13:25:43 +00:00
drochner 2eb946d46c call kvm86's GPF handler 2002-07-07 13:24:36 +00:00
drochner 5641e4d726 Initialize the kernel vm86 code before autoconfiguration, so that
BIOS calls can be used for device probing etc.

And now it's getting nasty:
The kvm86 code needs a TSS, and it is most convenient to use proc0's
instead of doing some static allocation. (We might reconsider this if
we want to use vm86 for console initialization, ie much earlier.)
For the TSS slot to be allocated, we have to move the call to
i386_proc0_tss_ldt_init() up.
Since the npx code twiddles CR0 the corresponding pcb field must
be synchronized later. It would probably be cleaner to do this in
the npx driver.
2002-07-07 13:23:17 +00:00
drochner bc442c7173 -if APM_USE_KVM86 is set, use BIOS calls in virtual 8086 mode
-make sure the register frame is really cleared before use
 (someone added a field to the frame later which didn't get zeroed)
2002-07-07 13:06:56 +00:00
drochner da32c6df4a add definitions for the in-kernel vm86 code and vesabios attachment,
add an option APM_USE_KVM86 which does what its name implies
2002-07-07 13:03:47 +00:00
drochner c359f53282 First cut on VESA BIOS access to get extended video modes and framebuffer
access. For now, there is just probing code.
2002-07-07 12:59:58 +00:00
drochner 3b22d7973b This is a (still experimental) framework to run BIOS code in a virtual
8086 machine. Ifff it works, it is much easier and more elegant than
going to real real mode:
-simpler code
-no need for "identity" memory mappings
-easy passing of buffers for bulk data to functions
-some more control
There is no interrupt support ATM, and it lacks a function to access
random virtual memory of the VM. MP issues to consider.
2002-07-07 12:56:34 +00:00
wiz f6f0c7616b Remove obsolete files. 2002-07-07 12:47:20 +00:00
bjh21 525b050279 Align default behaviour of chmod, chgrp, chown, and chflags with symlink(7),
IEEE 1003.1-2001 (where applicable) and other systems, by follwoing symlinks
on the command line and changing their targets' modes/ownership/flags, rather
than ignoring them.

This fixes PR standards/563 (at last).
2002-07-07 11:44:02 +00:00
tron 7db7acdde8 Fix a typo in last commit which caused build failures if
"PCDISPLAY_SOFTCURSOR" is not defined.
2002-07-07 10:52:18 +00:00
lukem 4b9ba774c6 Various improvements in wording and marking,
from Alan Barrett <apb@cequrux.com>, with a bit of tweaking from me.
2002-07-07 10:40:31 +00:00
tron 10f663ea7a Make "rogue" build with "WARNS=2". The necessary patches were supplied
by David A. Holland in PR bin/17498.
2002-07-07 09:35:07 +00:00
junyoung f73c9efaab No need to include opt_vga.h here, since it is included in vgavar.h. 2002-07-07 07:37:50 +00:00
junyoung da843e013f There's no function like vga_common_setup. 2002-07-07 07:34:54 +00:00
junyoung 64a231036c Remove __P. 2002-07-07 07:05:40 +00:00
junyoung 798d30c8d5 - ANSI & KNF, notably remove __P.
- Some cosmetic changes.
2002-07-07 06:49:22 +00:00
junyoung 472e54071a Rename vc_ccol and vc_crow in struct pcdisplayscreen to cursorcol
and cursorrow, respectively, to be consistent with other members
in the structure.
2002-07-07 06:36:32 +00:00
matt 140a273f7a Use lvewx/stvewx for VSCR and save ourselves 12 bytes we don't need to load. 2002-07-07 00:46:20 +00:00
dbj 397ff5c82a protect Debugger() call with ifdef DDB 2002-07-07 00:43:11 +00:00
gmcgarry 4b0692e70a Don't invoke MachFPInterrupt() if we're using SOFTFLOAT. 2002-07-07 00:22:18 +00:00
gmcgarry cc4037a913 Overhaul the emulation facility. We do this by:
- accumulating all emulation code (including floating-point) in one place
- steal MachFPInterrupt() back from SOFTFLOAT for use only with interrupts
  and traps from *real* FPUs
- introducing MachEmulateInst() as a common dispatch point for all
  emulated instructions
- cleaning up emulation dispatch in trap()

Also, while we're here, implement MIPS2 LL/SC/SYNC emulation for MIPS1.

Tested on r3k with and without SOFTFLOAT enabled.
2002-07-06 23:59:18 +00:00
gmcgarry de0c9630a1 Fix console bell. 2002-07-06 23:15:29 +00:00
wiz 0fb8fdab47 ANSIfy, remove __P(). 2002-07-06 22:08:30 +00:00
wiz 557fe0a8de ANSIfy and de-__P() a bit more. 2002-07-06 22:01:40 +00:00
wiz 8fb60bde2d Remove unused files (cf. timed{,c}/timed{,c}-extern.h). 2002-07-06 21:59:26 +00:00
wiz b73d58cd80 Remove __P(). 2002-07-06 21:52:05 +00:00
wiz 56b7e3b326 Remove some unnecessary cruft. 2002-07-06 21:51:49 +00:00
wiz f718edfc2a unifdef __STDC__ 2002-07-06 21:46:59 +00:00