bjh21
503e69a88a
Don't define pmaphistbuf unless UVMHIST is defined.
2001-02-17 19:09:51 +00:00
bjh21
33c7eb2382
Add necessary DDB includes.
2001-02-17 19:08:21 +00:00
bjh21
4acea3a8cc
Don't do arithmetic on void *s.
2001-02-17 19:04:36 +00:00
bjh21
2e041e883b
Correct return type of arcvideo_show_screen().
2001-02-17 18:45:19 +00:00
bjh21
b211962232
Include <machine/machdep.h> for update_memc().
2001-02-17 18:43:13 +00:00
bjh21
575fa5e5af
#ifdef out arckbd_pick_layout until we get round to using it again.
2001-02-17 18:39:11 +00:00
tsutsui
47ac3d6b45
include sunos_exec.h to declare emul_sunos.
2001-02-17 18:34:57 +00:00
tsutsui
69e6648be8
Remove phys_map declaration, which is in <uvm/uvm_extern.h>
2001-02-17 18:29:55 +00:00
tsutsui
f5d8c46be6
Remove unused fb stuff.
2001-02-17 18:21:03 +00:00
tsutsui
96c8c181ee
Fix some nested extern declarations.
2001-02-17 18:15:18 +00:00
tsutsui
1bbd89c7a7
white space nits.
2001-02-17 18:02:40 +00:00
bjh21
a72248beab
Reduce unnecessary differences between this and Makefile.arm32.
...
Also (more significantly), use the compiler's default -mcpu setting. This
means I can now build APCS-32 kernels. They work, too.
2001-02-17 17:23:48 +00:00
mrg
5713cce1e0
sync with reality.
2001-02-17 16:29:13 +00:00
bjh21
32a800e5c0
Install <arm/endian_machdep.h>.
2001-02-17 14:57:08 +00:00
bjh21
8b601afaf3
Re-introduce <arm/endian_machdep.h>, this time using GCC's idea of the target
...
endianness.
2001-02-17 14:55:44 +00:00
sakamoto
4185cbf85c
fix multiple link vers.o
2001-02-17 11:11:13 +00:00
tsutsui
a411302ed3
Include files.usb
2001-02-17 04:32:59 +00:00
tsutsui
f47d2bae91
Fix include path.
...
(mips/include/mips_opcode.h -> mips/mips_opcode.h)
2001-02-17 04:31:25 +00:00
tsutsui
750774cded
Add new arctype for NEC Express5800/230A.
...
XXX: we should have "sysconf" structures like pmax.
2001-02-17 04:27:53 +00:00
pk
d850f6f9d2
Remove check for encoded iospace/nocache bits within physical addresses
...
in places where they can't possibly occur as the PA is for a VM managed
page.
2001-02-16 23:00:11 +00:00
soren
427b112ded
LKMs don't work on MIPS yet anyway, so disable it for now.
2001-02-16 19:48:05 +00:00
soren
87ba37da21
Nuke.
2001-02-16 19:47:36 +00:00
eeh
b0e3d231c4
Define VM_MASUSER_ADDRESS32.
2001-02-16 16:00:29 +00:00
sato
ed219529f5
* vrc4172pwm_light(): workaround when brightness is max.
...
if light turn off, brightness must be minimum.
* more DPRINTF().
2001-02-16 12:31:46 +00:00
marcus
b5f05acab7
Removed LED_ADDR (Dreamcast doesn't have program controllable LEDs).
2001-02-15 18:30:31 +00:00
scw
23cf8fe52b
Add a missing _ASM_LABEL()
2001-02-15 11:49:25 +00:00
sato
6602ad15b5
* show framebuffer address in boot time.
2001-02-15 09:17:18 +00:00
sato
bcece69eb6
* add MC/R430/530/530A parameters in vrc4172pwm_platid_param_table.
...
* fix typo in cf_loc access.
* add some DPRINTF()s.
* fix default value if no params in vrc4172pwm_platid_param_table.
2001-02-15 03:20:10 +00:00
is
dd234724b6
Print out IPL.
2001-02-14 21:05:31 +00:00
is
1f9f72f6df
Missing: register prefixes, _FOO_LABEL(n) macros, etc, in preparation for
...
ELFing the port. Patch provided by scw.
2001-02-14 20:24:17 +00:00
msaitoh
47410d3a5a
sync with Makefile.mmeye.in for ELF
2001-02-14 18:06:50 +00:00
msaitoh
2633a5dcb5
_C_LABEL()
2001-02-14 17:57:31 +00:00
itojun
818f432bec
have rnd(4)
2001-02-14 04:57:44 +00:00
itojun
cd32aa4b95
have rnd(4).
2001-02-14 04:49:45 +00:00
nathanw
3862a24d20
Remove prototype for long-defunct i386_user_cleanup().
...
Remove duplicate prototype for i386_{set,get}_ldt() from sys_machdep.c.
Change i386_iopl() and i386_{set,get}_{ldt,ioperm}() to take a second
argument of "void *" instead of "char *", for consistency with other syscalls.
2001-02-14 01:29:45 +00:00
bjh21
9b6de1da90
Move cpu_coredump() from arm32/arm32/vm_machdep.c to arm/arm/vm_machdep_arm.c.
...
Also ANSIfy it and use it on arm26.
2001-02-13 22:54:25 +00:00
bjh21
7b820f85da
Fix to compile with current ne2000.c: ne2000_attach() now only takes two
...
arguments.
2001-02-13 19:17:13 +00:00
bjh21
f942342607
Fix a typo in the last change (eh_init_media -> eh_media_init).
2001-02-13 18:20:57 +00:00
pk
063b190de9
Hold off supplying the text/data gap to the VM manager; our pv table
...
handling isn't adequate yet.
2001-02-13 15:54:33 +00:00
simonb
e07c392eed
Fix typo in header filename.
2001-02-13 14:11:30 +00:00
pk
e547d3816d
pmap_page_upload(): check if `etext_gap' is there, just in case.
2001-02-13 13:48:15 +00:00
bjh21
284047a2b2
Move sendsig() and sys___sigreturn14() from arm26/arm26/vm_machdep.c and
...
arm32/arm32/machdep.c into arm/arm/sig_machdep.c, merging and ANSIfying in
the process.
The code is based on the arm32 version, so I don't think anything should break
there.
2001-02-13 13:19:52 +00:00
bjh21
4e460028dc
Since idle() turns up in so many stack backtraces, put it in the global
...
symbol table.
2001-02-13 13:16:37 +00:00
jmc
5b5b0dfdcb
Add back proginstall rule so this doesn't get it's a.out header removed.
2001-02-13 03:08:54 +00:00
briggs
d5cb949785
Install int_types.h, too.
2001-02-13 01:12:56 +00:00
bjh21
82bf8a9d0a
Avoid uninitialised variable reading /dev/mem.
2001-02-12 23:29:08 +00:00
pk
460bc0a0fc
Recover the ~64KB gap in between the text/rodata & data segments that's being
...
generated by the linker in sparc/ELF images. The physical pages in this gap
are unmapped from the kernel and given to the VM manager.
2001-02-12 22:02:58 +00:00
briggs
d8cd14d437
Rip the guts out of pmap_remove() and create pmap_do_remove(), called with
...
a flag that determines whether or not wired mapping should be removed.
pmap_collect() calls pmap_do_remove() without this flag, and pmap_remove()
calls with it.
Pointed out on port-mac68k with suggested fix from chs.
2001-02-12 22:00:08 +00:00
pk
d713d112c9
Provide symbol `kernel_data_start' as the first address in the .data segment.
2001-02-12 21:56:54 +00:00
manu
472596699d
Removed a copyright for code I have removed in a previous commit
2001-02-12 21:20:32 +00:00
thorpej
043e519d55
Adjust the way that media is initialized on DP8390-compatible
...
chips. The dp8390_softc now has media_init and media_fini
function pointers that do the work.
2001-02-12 18:49:03 +00:00
mrg
f9c371eea3
type cleanups.
2001-02-12 16:07:38 +00:00
tsutsui
f3b589fc41
- Add options NTP (sync with GENERIC)
...
- Fix ident (s/GENERIC/TCWSCONS/)
2001-02-12 12:55:18 +00:00
minoura
1f30e6db74
Correct typo (s/unit/unix/).
2001-02-12 12:32:23 +00:00
shin
fb20946774
keep V0 value (system call number) and restore it in exception frame,
...
when error is ERESTART. otherwise, user process will re-issue syscall
with broken system call number and get SIGSYS signal and terminate.
patch made by Jason R Thorpe <thorpej@zembu.com>. tested by me.
2001-02-12 10:32:14 +00:00
briggs
7d1c46375d
Switch from commented-out ncr* at pci? to commented-out siop* at pci?
...
Add option PCI_NETBSD_CONFIGURE to cause NetBSD to configure the PCI bus.
2001-02-12 06:12:18 +00:00
briggs
2e4e3c3f6f
Include MII files.
2001-02-12 06:10:42 +00:00
briggs
0b356043df
Make this look more like other PPC bus_dma.cs
2001-02-12 06:02:25 +00:00
briggs
89a374bf89
Supply a pci_bus_dma_tag.
...
Use intr_establish()/intr_distestablish() instead of calling through ISA
routines.
Supply a pci_conf_interrupt() function to assign interrupt lines for the
bus configuration.
2001-02-12 06:01:46 +00:00
briggs
a738974d0c
Do PCI bus configuration before we config_found() on mainbus.
2001-02-12 05:58:55 +00:00
manu
16bc5b4004
Moved the fix for negative errno returned to userland on the PowerPC to a
...
more machine independent fashion
2001-02-11 20:24:49 +00:00
ragge
4e155d4593
Check page reference in pmap_clear_reference(). Fixes vax hang problem
...
with ubc, tested by Chuck Silvers.
2001-02-11 19:25:55 +00:00
chs
2ff77ab154
fix REALBASEMEM/REALEXTMEM and defopt them while we're at it. from jason.
2001-02-11 19:03:47 +00:00
tsutsui
1e70b3b673
Add a missing colon in comment.
2001-02-11 17:56:43 +00:00
tsutsui
90fc74c95b
space/tab cosmetics
2001-02-11 17:49:08 +00:00
bjh21
a4e55e0f13
Shared ARM ptrace(2) implementation. Mostly the same as the arm32
...
version, but with some #ifdefs for arm26.
Also, don't define PT_STEP, since we don't implement it. This should
reduce code size a little.
2001-02-11 17:03:04 +00:00
pk
203c10194b
Supply a kernel link script that puts `etext' at the end of all
...
read-only sections. Modelled after a similar change in the i386 port.
2001-02-11 16:16:58 +00:00
bjh21
9826a76781
Common <arm/reg.h> (and hence common struct reg) for ARM.
...
This is theoretically backward-incompatible on arm26, but GDB doesn't work there
yet anyway.
2001-02-11 14:51:55 +00:00
bjh21
60af6ce7ca
Don't trust function return to restore IRQ disable flag, since it won't
...
in APCS-32.
2001-02-11 14:46:11 +00:00
mycroft
d3f45f8053
Update to the current state of the world.
2001-02-11 10:40:51 +00:00
is
15d041fe54
Be a bit more helpful in the error case.
2001-02-11 09:54:48 +00:00
eeh
c269f4f002
Add COMPAT_SVR4_32.
2001-02-11 01:00:51 +00:00
eeh
d8405328df
Add support for COMPAT_SVR4_32.
2001-02-11 00:39:37 +00:00
eeh
750052a46f
Remove things that are defined in elf_machdep.h now.
2001-02-11 00:37:22 +00:00
eeh
96bf37a78f
Save the machine model string in case someone needs it (like slowlaris).
2001-02-11 00:27:06 +00:00
eeh
6e928d620b
Add some new gunk Sun uses.
2001-02-11 00:18:49 +00:00
eeh
1ac34a6a98
A register is 64-bits unless we're emulating 32-bit.
2001-02-11 00:17:03 +00:00
eeh
945c9cac5f
Increase limits slightly. We're still not using all 32 address bits yet,
...
let alone 64.....
2001-02-11 00:09:45 +00:00
eeh
1671aa6706
Increase NKMEMPAGES to a more useful value.
2001-02-11 00:07:10 +00:00
eeh
3e47436b79
Add some extra fields to a dmamap to track what's being mapped.
2001-02-11 00:05:47 +00:00
eeh
3daccde8d4
Print out more useful data if there are interrupt issues.
2001-02-11 00:02:58 +00:00
pk
5fb1ec8af6
Fix conditional for svr4 compat inclusion.
2001-02-10 20:00:24 +00:00
bjh21
6d285953f5
When an array is declared as int r[13], don't go trying to use r[13].
2001-02-10 19:09:48 +00:00
leo
8f10488c29
Prepare assembly parts for an eventual transition to ELF. Mostly from a
...
diff from Steve Woodford.
2001-02-09 21:47:45 +00:00
uch
f19685fa10
I forgot to initialize bicons for hpcmips.
2001-02-09 20:42:27 +00:00
uch
b23ab5a536
use bicons.
...
set serial console speed to 19200.
2001-02-09 19:54:11 +00:00
uch
68b5de4251
sync with bicons change.
2001-02-09 19:47:28 +00:00
mycroft
c36eeffed0
Make this a little more realistic.
2001-02-09 19:12:08 +00:00
uch
9173eae73b
bootloader for SH3, SA-1100, TX39, VR41 based Windows CE(2.00 or later)
2001-02-09 18:34:01 +00:00
manu
d48e534f38
Fixed a bug in the way errno return was handled in linux emulation (we returned the opposite of the expected errno)
2001-02-09 17:48:01 +00:00
wiz
08ca85d04d
De-lint. Reviewed by christos.
2001-02-09 15:54:18 +00:00
bjh21
21e1b73962
Update ioeb_irq_clear to match its caller.
2001-02-08 22:21:24 +00:00
briggs
5b380e8c30
Keyboard, mouse, ws*
2001-02-08 20:27:24 +00:00
briggs
55a187d809
Add lpt and fdc/fd back in. Include i4b stuff, too.
2001-02-08 18:33:07 +00:00
briggs
5fb8680bf6
Add fdc and lpt.
2001-02-08 18:33:03 +00:00
briggs
c86117ec25
Make it a #error to define PCI without PCI_NETBSD_CONFIGURE.
2001-02-08 18:32:02 +00:00
briggs
c3e491058d
Get rid of warning if no com devices are specified.
2001-02-08 18:31:25 +00:00
briggs
d2b8b0adf8
We really don't want isapnp.
2001-02-08 18:29:28 +00:00
briggs
afb7789ae8
Enable devices on the SuperIO chip.
2001-02-08 18:29:05 +00:00
is
8b2795fa72
Support for BSC ISDN Master II. As far as we are concerned, this seems
...
to be identical to the old model.
2001-02-08 18:08:22 +00:00
christos
6bf4ad97d6
appease lint: use u_int32_t and name the bit fields.
2001-02-08 17:54:43 +00:00
chs
fac51ab1a0
create dependency info for assym.h.
2001-02-08 15:19:14 +00:00
tsutsui
6b047fe46b
In footbridge_pci_intr_map(), pcv and intrtag are used
...
only #ifdef PCI_DEBUG. Move declarations in it.
2001-02-08 13:59:38 +00:00
tsutsui
276fc3f6b7
One more fix for pci_intr_map() API change.
2001-02-08 13:55:45 +00:00
chs
59674580ab
missed an underscore in previous.
2001-02-07 23:30:27 +00:00
uch
9279c0455c
adapted to hpc bootinfo structure.
...
add memory detect routines.
2001-02-07 15:29:21 +00:00
uch
78af56fcfd
move VM_PHYSSEG_MAX, VM_NFREELIST, VM_FREELIST_DEFAULT defines to
...
machine/vmparam.h
2001-02-07 14:53:09 +00:00
tsutsui
452f5212ff
Use common %cacr definitions between sun3 and sun3x.
...
%cacr bits added on 68030 don't cause any sideeffect on 68020.
XXX: We probably need <m68k/cacr.h>. See comments in <m68k/cpu.h>.
2001-02-07 14:28:50 +00:00
tsutsui
93a1c84cac
Add pio.h to INCS.
2001-02-07 12:43:52 +00:00
wdk
c0f3e4293d
Add a MD zs_chanstate layer that carries bus_space information
...
Tidy up several comments at same time.
2001-02-07 11:40:18 +00:00
wdk
25ad09d3d2
Fully implement bus_space(9) access to the z8530 SCC registers.
...
This adds the missing wbflush() calls after writing register data.
At same time tidy up several comments and make several KNF changes.
XXX: The z8530 MI driver doesn't support bus_space access to the registers
(lacks a hook for storing a bus space tag, and stores register
addresses directly)
Until other ports catch up (this is the first) we have overlayed
the missing data in the MD structures
2001-02-07 11:38:34 +00:00
chs
aaf5efe492
fix previous to work with a.out as well.
2001-02-07 06:13:21 +00:00
briggs
be0166b004
Add in ppb* for PCI-PCI bridge support.
2001-02-07 05:51:10 +00:00
briggs
7fe588dfd3
Handle setting the proper interrupt line for devices behind bridges.
2001-02-07 05:49:17 +00:00
eeh
2411eab448
Fix D$ aliasing issues in a DIAGNOSTIC check.
2001-02-06 19:04:57 +00:00
uch
6a7b420b7e
move machine-port specific file to machine directory.
...
for evbsh3, mmeye and dreamcast, use MI md_root.c
2001-02-06 16:45:19 +00:00
briggs
14af61adca
include uvm/uvm.h to get rid of compilation warnings.
2001-02-06 05:03:43 +00:00
briggs
b596e31748
Define a pci_bus_dma_tag.
2001-02-06 05:01:31 +00:00
briggs
04fa98380d
Pointer to documentation for PHYS_TO_PCI_MEM/PCI_MEM_TO_PHYS.
2001-02-06 05:00:50 +00:00
wdk
8bbe289faf
Allow file to be included in assembler source (bootstrap code etc.)
2001-02-06 04:32:29 +00:00
wdk
f4290b34e9
Make booted_device struct visible to RAIDframe driver
2001-02-06 04:27:48 +00:00
briggs
2f624f78d6
Share a single pio.h instead of having 4 nearly-identical copies.
2001-02-05 19:33:54 +00:00
briggs
e96035c57c
Tsubai has convinced me that openpic_init() should remain machine-dependant
...
as the details might differ between archs, and passing the various options
leads to some clutter.
2001-02-05 19:22:23 +00:00
thorpej
40c4d1e0c3
Rename the CLI/STI/ECLI/ESTI macros to more descriptive names,
...
and add comments to describe exactly what they do (because it's
not totally obvious at a glance, due to the number juggling necessary
to frob the correct bits in SR):
CLI -> EXCEPT_DISABLE (sets SR.BL)
STI -> EXCEPT_ENABLE (clears SR.BL)
ECLI -> INTR_DISABLE (sets SR.I[0-3])
ESTI -> INTR_ENABLE (clears SR.I[0-3])
2001-02-05 18:14:42 +00:00
uch
2cb604a22d
sync with platid_gen change.
2001-02-05 17:39:45 +00:00
abs
c78bf4efdb
Add ipfilter, and a bunch of (commented out) network options.
2001-02-05 17:32:08 +00:00
uch
cd5dc32000
add SH3 CCR register address define.
2001-02-05 16:51:16 +00:00
tsutsui
99adff7a25
Remove db_machine_init(), which was removed from mips/db_interface.c.
2001-02-05 13:34:42 +00:00
ragge
1af765a6dd
Oops, forgot this file.
2001-02-05 13:20:10 +00:00
tsutsui
de70ac347a
db_machine_init() is no longer needed.
...
From Shigeji Ishikawa <psybear@ogre.rim.or.jp> in port-cobalt/12123.
2001-02-05 13:18:28 +00:00
tsutsui
869fdfbf12
Fix typo on pci_intr_map() changes.
...
Reported by Shigeji Ishikawa <psybear@ogre.rim.or.jp> in port-cobalt/12121.
2001-02-05 13:14:21 +00:00
mrg
22a68e0e29
oops, kill some debugging messages.
2001-02-05 13:13:47 +00:00
tsutsui
8bc87999fc
Remove obsolete cpu_exec_ecoff_hook().
2001-02-05 13:10:07 +00:00
mrg
2d7ba2f0e7
turn off UVMHIST. turn on LKM. makeoptions DEBUG=-g
2001-02-05 12:49:11 +00:00
mrg
05752997ef
use sunos32_machdep.c on 64 bit kernels.
2001-02-05 12:47:47 +00:00
mrg
e1ac1f31b9
make sure 32 bit addresses are truncated properly.
2001-02-05 12:45:38 +00:00
chs
f889fd6ff9
remove signal trampoline stuff since it'll never be used in the kernel.
...
clean up the ELF support.
2001-02-05 12:37:33 +00:00
chs
5f244b1055
conditionalize the ddb hook on DDB && DEBUG_FPE rather than DDB && DEBUG,
...
since that's the condition under which we include the header file that
allows it to compile.
2001-02-05 12:35:13 +00:00
chs
755889bc0b
clear pcb_onfault before calling uvm_fault() and restore it afterward.
...
if the fault handler generates a pagefault, we'd like to panic rather
than invoking the onfault handler.
2001-02-05 11:12:05 +00:00
chs
09cb38f22b
expose the definitions of MIN() and MAX() in sys/param.h to the kernel
...
and use those in favor of a dozen copies scattered around the source tree.
2001-02-05 10:42:40 +00:00
eeh
db133b2424
Add signal trampoline for 64-bit svr4 emulations.
2001-02-05 06:56:45 +00:00
itojun
d0bc7a3c3d
s/unix/unit/ for ld* on mlx* :-)
2001-02-05 04:16:52 +00:00
jmc
ece49e13a9
Back out last change. m68k.h is now in cpu.h (which got updated in between
...
my noticing this problem here on a sun3).
2001-02-04 23:53:31 +00:00
ragge
2c1941b3eb
Giant update from Michael Kukat (michael@unixiron.org).
...
Fixes support for:
MicroVAX 3100m90
MicroVAX 3100m95
VAX 4000/100 (tested)
VAX 4000/105A (tested)
VAX 4000/108
VAX 4000/400 (tested)
VAX 4000/500 (tested)
VAX 4000/600
2001-02-04 20:36:26 +00:00
briggs
c8ef73b71f
Support for the Motorola Sandpoint reference platform using the
...
MPC8240 processor module. See the README for more information.
2001-02-04 18:32:10 +00:00
briggs
863805b4d8
Correct previous. Call openpic_init() correctly.
2001-02-04 17:46:33 +00:00
briggs
522ec180e9
Build with -Wall -Wetc.
2001-02-04 17:38:10 +00:00
briggs
e560b86e0b
Adapt to new openpic_init() parameters.
2001-02-04 17:36:08 +00:00
perry
65e351a124
keep joystick lines together
2001-02-04 17:36:03 +00:00
briggs
ace7a75bd5
Remove dependancy on ICU_LEN m.d. define. Thanks, Tsubai.
2001-02-04 17:35:28 +00:00
briggs
cbb39b8875
defopt openpic
2001-02-04 17:34:11 +00:00
briggs
0ce1220246
For now, all macppc will get OpenPIC
2001-02-04 17:33:42 +00:00
ad
8d75ab98d3
Add a driver for the Mylex DAC960 family (including DEC SWXCR).
2001-02-04 17:05:11 +00:00
jmc
7ce76feecc
In the LKM section add some things the LKM's need (since they aren't
...
defining _SUN3_ or _SUN3X_ generally to pickup the full vmparam.h
Added MAXDSIZ (set to sun3's limit) and VM_NFREELIST
2001-02-04 10:16:03 +00:00
jmc
36f1b05b1f
Include m68k/m68k.h to pickup definition for fputype.
2001-02-04 10:13:08 +00:00
jmc
e1fb29e236
Make targets proper so this builds both as a make with no args, make all
...
or make dependall (without the latter snapshot builds break).
Also, change the build layout for the 2 standalone objs.
XXX - Add them to LOBJS. (We're not building lint libraries, but having them
in LOBJS and MKLINT=no results in objects building anyways. This needs to be
cleaner but nothing in the standard mk files jumps out as "other object files")
2001-02-04 08:59:57 +00:00
jmc
17a976fa32
Make targets proper so this builds both as a make with no args, make all
...
or make dependall (without the latter snapshot builds break).
Also, add udp.c into the SRCS list. rpc.c calls routines from it.
2001-02-04 08:57:52 +00:00
jmc
243eb5180a
Make targets proper so this builds both as a make with no args, make all
...
or make dependall (without the latter snapshot builds break).
2001-02-04 08:57:21 +00:00
takemura
596e28b8c2
Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
...
into hpc/conf/platid.def.
2001-02-04 05:19:14 +00:00
tsutsui
20c4de8a40
Move cachectl1() declaration from sun3/machdep.h to include/cpu.h;
...
it is refered by sys/compat/linux/arch/m68k/linux_machdep.c.
XXX: all declarations in machdep.h should be moved into cpu.h?
2001-02-04 01:31:54 +00:00
tsutsui
a031d05fa8
Add -D__m68k__ to XDEF.
...
It is required by sys/compat/linux/common/linux_exec.h.
XXX: -undef is still required?
2001-02-04 01:26:44 +00:00
marcus
0d6830073e
Added subunit scan.
2001-02-03 23:25:51 +00:00
marcus
3f60497b85
Increased HZ to 100.
2001-02-03 23:24:30 +00:00
is
e36ad02480
gspa can directly create the C language array.
2001-02-03 20:23:59 +00:00
bjh21
74591d814f
Add a definition of MID_MACHINE -- kernel cores still need it.
2001-02-03 17:18:30 +00:00
tsutsui
4f047d1990
Bring FPU probe code from atari/fpu.c and remove unneeded includes.
2001-02-03 14:30:42 +00:00
tsutsui
b26a441f6a
Remove reg_dump() declaration, which is in <m68k/m68k.h>
2001-02-03 13:02:20 +00:00
tsutsui
8ae17a2c61
Use macro in <m68k/m68k.h> for cputype and mmutype.
2001-02-03 12:59:48 +00:00
tsutsui
497bb4f2ea
Remove declaration of copypage() and zeropage(); they are in <m68k/m68k.h>
2001-02-03 12:57:05 +00:00
tsutsui
5f9454752b
m68k/m68k.h is now pulled via machine/cpu.h.
2001-02-03 12:55:35 +00:00
tsutsui
fdddc67af0
Remove declaration of getdfc(), getsfc() and fputype.
...
They are in <m68k/m68k.h>
2001-02-03 12:53:23 +00:00
tsutsui
31a0a141cb
Include <m68k/m68k.h> to use m68k common definitions.
2001-02-03 12:50:53 +00:00
tsutsui
a3cd82caf9
Remove declaration of cold; it's in <sys/kernel.h>
2001-02-03 12:46:04 +00:00
tsutsui
53e0e33ba4
Remove some of broken cf_unit usage.
2001-02-03 12:40:58 +00:00
is
92fd3fa589
Initial, still incomplete wscons support by Jukka Andberg, PR 11068
2001-02-02 21:52:11 +00:00
thorpej
c8cdb12913
Add some comments about P/USEG
2001-02-02 18:25:04 +00:00
fvdl
fbd66cd154
Add COMPAT_15
2001-02-02 10:53:48 +00:00
sato
dcdef16dcd
Copyright year.
2001-02-02 08:31:04 +00:00
mrg
c084c19f60
add "wd" to chrtoblktbl
2001-02-02 07:39:28 +00:00
mrg
2a9fceab8d
enable the kbd/ms. enable some compat options for compat_sunos
2001-02-02 07:33:42 +00:00
mrg
9954eaa78b
include compat/sunos32/sunos32.files
2001-02-02 07:32:45 +00:00
mrg
04cb3c57d6
bump NMBLUSTERS now this machine has NFS server tasks.
2001-02-02 07:32:20 +00:00
marcus
5592504080
Fixed type mismatch in debug output...
2001-02-02 06:27:44 +00:00
briggs
9150a401ba
No longer needed
2001-02-02 06:12:34 +00:00
briggs
044caccfff
Split OpenPIC support into powerpc so ports only need minimal custom
...
configuration. openpic_init() now takes a single argument that is the
base of the OpenPIC register space.
2001-02-02 06:11:52 +00:00
thorpej
4fab177f7e
Don't make the reporting of the keyboard type a parenthetical.
2001-02-02 03:09:16 +00:00
thorpej
2ae9f715f6
Report the VGA/NTSC RGB/composite mode of the display.
2001-02-02 03:07:29 +00:00
thorpej
ef2315d256
Rewrite how mod/ref emulation is done. In particular, make
...
modified attribute checking actually work. Previously, a
page could be reported as modified even if it wasn't! This
is very bad, and e.g. caused the VM system to attempt to
"clean" pages of read-only files.
Only lip-services is paid to referenced attribute emulation.
This could be improved.
2001-02-02 02:28:18 +00:00
leo
50c553e643
Announce page-size to the VM-system. Thanks to Izumi Tsutsui for pointing
...
this out.
2001-02-01 21:22:55 +00:00
thorpej
6195ca3474
Add some info to the dmamap_sync assertion messages.
2001-02-01 19:56:44 +00:00
marcus
fc7cc52392
Fixed the last raw accesses to use bus_space. Also added DMA mem size field.
2001-02-01 19:35:04 +00:00
leo
3d1167e274
Fix fallout from lastest tty changes.
2001-02-01 08:59:45 +00:00
leo
9b569c3abe
No longer update the PAGE_* variables. They have turned into compile time
...
constants.
2001-02-01 08:58:03 +00:00
tsutsui
94ebf6d0d7
Update for the install floppy:
...
- Add newer devices (wscons etc.)
- Add -mmemcpy to COPTS
- Reduce maxusers
- Remove KERNFS
- Disable some COMPAT_* options
- Add MEMORY_DISK_SERVER=0
- Enable options NFS_V2_ONLY and VNODE_OP_NOINLINE
2001-02-01 06:23:54 +00:00
thorpej
f436156dd7
Use the BOLD8x16 font for the console, and remove the RCONS_16BPP
...
option (no longer needed).
2001-02-01 01:27:59 +00:00
thorpej
f16d219c1b
Config glue for rasops/wsfont.
2001-02-01 01:27:04 +00:00
thorpej
fbfc0872d8
New PowerVR display driver, based on the TURBOchannel "cfb"
...
driver by Tohru Nisimura (a very good framework for a FB driver,
BTW!), using bits of Marcus's original driver for the hardware
access.
The main advantage of this version is that is uses rasops (which
is faster than the rcons stuff) and wsfont, so you can select the
console font in the kernel config file. Using the BOLD8x16 font,
you get an 80x30 console (vast improvement compared to the Gallant12x22
font).
2001-02-01 01:25:56 +00:00
thorpej
41b0cdf3e5
Add configuration info for the SEGA Broadband Adapter,
...
and enable the NFS file system and DHCP NFS root support.
2001-02-01 01:09:12 +00:00
thorpej
26cf6921bc
GAPS PCI bridge support. Low-level stuff from Marcus, bus_dma
...
implementation from me.
2001-02-01 01:04:55 +00:00
thorpej
e2c0abd45d
Implement {read,write}_region_1, and sprinkle some __volatile
...
around for sanity.
2001-02-01 01:01:50 +00:00
marcus
f2358f8d43
Basic G2 locking implemented.
2001-01-31 21:58:37 +00:00
thorpej
d729ba2b1f
Support for masking/unmasking IRQ 11 (used by the G2/GAPS bridge).
...
From Marcus.
2001-01-31 18:44:07 +00:00
thorpej
a42d651b53
G2/GAPS PCI configuration glue, for the Broadband Adapter.
2001-01-31 18:39:46 +00:00
thorpej
9342211052
PCI glue, from Marcus.
2001-01-31 18:38:26 +00:00
thorpej
7135afee31
New bus_space and bus_dma framework, based on the Alpha implemetation.
2001-01-31 18:37:11 +00:00
thorpej
63885cd020
G2 bus support. Low level stuff by Marcus, bus_space stuff by me.
2001-01-31 18:33:24 +00:00
pk
25a91d5c1e
_bus_dma_valloc_skewed(): return a vaddr_t, not error codes; make missing
...
boundary check return an error, so the caller can decide how to respond.
2001-01-31 15:17:42 +00:00
thorpej
c625c7ee25
Set the keyboard layout based on what type of keyboard
...
we probe, defaulting to Japanese if we don't know what
kind of keyboard we have.
XXX This should be done differently, if we ever want to
support multiple keyboards.
2001-01-31 03:21:03 +00:00
thorpej
37aca7f3f0
Add a US keyboard map. This may need to be reworked, as this
...
uses the Japanese keyboard map as the base.
2001-01-31 03:19:50 +00:00
thorpej
b81a17e100
Make the "maple" bus a direct config bus. Now, when a device is
...
not configured into the kernel, you know about it, e.g.:
Dreamcast Controller at maple0 port 0 not configured
2001-01-31 00:14:29 +00:00
thorpej
5c8624a602
Recognize the US keyboard.
2001-01-31 00:08:35 +00:00
tshiozak
d3545308ee
add umidi.
2001-01-30 23:32:34 +00:00
tsutsui
677243711e
Add a version file and print version strings generated by newvers_stand.sh.
2001-01-30 14:29:47 +00:00
tsutsui
9af4874133
Umm, fix botch in the previous;
...
include bsd.own.mk at the top, and include bsd.prog.mk at the bottom.
2001-01-30 14:21:49 +00:00
tsutsui
75e4c0c1be
- bzero() -> memset()
...
- Remove unneeded includes
- WARNSfy
2001-01-30 14:11:00 +00:00
tsutsui
85e5565f13
Remove (unused) -DBOOT_DEBUG.
2001-01-30 12:48:34 +00:00
tsutsui
2b258b5e2b
Include bsd.prog.mk at the top to pull in ${PRINTOBJDIR}.
2001-01-30 12:42:43 +00:00
msaitoh
61831529f2
add some macros for 8bit PCMCIA access
2001-01-30 04:15:10 +00:00
msaitoh
e0b71cc821
fix last commit.
2001-01-30 03:01:45 +00:00
msaitoh
e094a52b1f
fix pmap_* arguments when SH4_PCMCIA is defined.
2001-01-30 02:39:57 +00:00
msaitoh
69ababe7ba
more use _C_LABEL()
2001-01-30 01:32:56 +00:00
msaitoh
14bda6deb9
use macro for CCR register
2001-01-29 22:19:19 +00:00
chuck
9f82193c0e
ignore garbage left in registers by some APM bios (IBM thinkpad) when
...
event is a duplicate.
gets rid of annoying "APM get event: unknown error code (0x530b)" messages.
PR#12067 (YAMAMOTO Takashi)
2001-01-29 19:26:36 +00:00
leo
dcee338286
Fix y2001 problem in the initial read of the RTC.
2001-01-29 08:32:23 +00:00
uch
67c95e9ab7
remove old platid_gen
2001-01-29 04:23:01 +00:00
mrg
6d444f5960
kill the ad clause in my license.
2001-01-29 01:37:56 +00:00
itohy
a9cd6b907b
Performance hack.
...
Mainly for the Neptune-X Ethernet adaptor,
and improves ftp(1) speed by ~10%.
get: 219 KB/s -> 246 KB/s
put: 226 KB/s -> 247 KB/s
(X68030, MC68030 25MHz)
2001-01-29 01:09:29 +00:00
is
6cec6799ac
SIR_CLOCK is gone.
2001-01-28 22:31:53 +00:00
is
5d4912dc4b
Add NetBSD rcsid, clean up comments.
2001-01-28 22:18:17 +00:00
is
f7aa87a4a5
Jens Schönfeld seems to recall the name is ISDN link.
2001-01-28 21:43:38 +00:00
ragge
e4d9af4b42
A bunch of new CPUs that are supported, from Michael Kukat
...
(michael@unixiron.org ). Among them are 4000/400, 4000/500 and 4000/105A.
2001-01-28 21:01:52 +00:00
pk
5538893eda
sun4_dmamap_load(): Check if boundary condition can be satisfied instead
...
of panicing blindly.
2001-01-28 20:48:31 +00:00
ragge
747983bb5b
Fix late "constifying" in ddb.
2001-01-28 20:47:45 +00:00
ragge
630d0523f6
These are not used anymore.
2001-01-28 20:04:50 +00:00
ragge
8032849729
Rename dz_ibus to dz_vsbus.
2001-01-28 19:26:34 +00:00
uch
17b8c0e553
setup platid and config_hook.
2001-01-28 03:40:25 +00:00
uch
2f13dfd80c
s/EVBSH3/HPCSH/
2001-01-28 03:31:30 +00:00
uch
584cfa7669
Switch to MI md_root.c.
2001-01-28 03:09:40 +00:00
uch
37e1f36fec
add hpc dir if MACHINE is hpcmips or hpcsh.
2001-01-28 02:58:19 +00:00
uch
6be22c0c6f
hpcmips hpcsh common files are moved to arch/hpc.
2001-01-28 02:52:15 +00:00
martin
a7206004fc
Faster error handling for iommu_dmamap_load_raw; avoid loading the map
...
and unloading on error when we clearly can't get out without an error.
2001-01-28 01:26:57 +00:00
nathanw
88fbd1edd4
Add joy at pnpbios.
2001-01-28 00:50:23 +00:00
nathanw
5028590f77
PNPBIOS joystick attachment.
2001-01-28 00:37:52 +00:00
eeh
6c3bf28ffd
Fix dvma problem caused by previous. Seems like the dvma segment calculation
...
in iommu_dmamap_unload() was not quite right.
2001-01-27 03:40:39 +00:00
lukem
952413677f
add options NTP (ok-ed by thorpej)
2001-01-27 03:02:52 +00:00
is
facd2d0feb
Support for the Zeus Development(?) ISDN board (2189/3).
2001-01-26 21:49:04 +00:00
minoura
42c425801b
Use IOCS_S_READEXT only when reading the partition boot from
...
higher part of the disk than 0x200000.
2001-01-26 17:30:15 +00:00
tsutsui
9f8af7c171
Sync with sun3/machdep.c:
...
> Require the machine-dependant DDB commands to be in db_machine_command_table[]
> and link it directly to db_command_table[] so that it's not necessary
> to do this at runtime. Make db_machine_command_table[] const on all ports.
> g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()
>
> Patch written by enami.
2001-01-26 16:12:12 +00:00
aymeric
a85be0a99c
process_machdep.c is actually procfs_machdep.c
2001-01-26 10:31:29 +00:00
sato
8211e0e08b
* support more than 16 ids.
...
* check the event ids are in the table.
2001-01-26 03:44:33 +00:00