Commit Graph

25511 Commits

Author SHA1 Message Date
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