Commit Graph

26629 Commits

Author SHA1 Message Date
jonathan ab9bbd64d6 Use genassym.sh script to make assym.h, for cross-compiling.
Remove dependencies on genassym.
1997-03-16 11:54:03 +00:00
veego d27d7804f7 Bump the REV to 12D to get in sync with param.h and newvers.sh.
This REALLY needs to be in ONE file and not in 11 files.
1997-03-16 11:26:15 +00:00
thorpej b6f3695cd1 Use <m68k/m68k/support.s> 1997-03-16 11:04:52 +00:00
thorpej 48556a75d2 Use <m68k/m68k/support.s> 1997-03-16 10:49:43 +00:00
thorpej f88e127939 Some misc. m68k asm support routines. This file currently contains
setjmp/longjmp and _insque/_remque.  More to come.
1997-03-16 10:47:33 +00:00
thorpej f956bd54d3 Clean up some slighyly overzealous use of `_'. 1997-03-16 10:16:02 +00:00
thorpej ae8392d8b1 - COMPAT_HPUX only works on machine with a 4k _hardware_ page size.
- Remove a slightly misguided hack.
1997-03-16 10:14:44 +00:00
thorpej abe496a1c9 Remove a new-obsolete comment. 1997-03-16 10:13:12 +00:00
thorpej e93bf2f15b Garbage-collect hpux_dumpu(). 1997-03-16 10:00:45 +00:00
thorpej 701652d81c In cpu_coredump(), don't bother dumping an HP-UX style u-area. What it
produced was useful once, but isn't worth the clutter now.
1997-03-16 09:59:40 +00:00
thorpej de5a4c2d10 Remove reference to Locore.c 1997-03-16 09:47:48 +00:00
thorpej 611fa5e05b Old lint helper, not used anymore, and really quite amazingly out of
date; this is 4.3 vintage.  Just nuke it.
1997-03-16 09:45:38 +00:00
thorpej 5a1149b25d Nuke MDP_HPUXTRACE. 1997-03-16 09:40:01 +00:00
thorpej b11751e729 Use hpux_setregs(). 1997-03-16 09:16:11 +00:00
thorpej c5b6d5ed07 Prototype hpux_setregs(). 1997-03-16 09:14:25 +00:00
thorpej c9e8e99421 Remove the COMPAT_HPUX stuff from setregs(); the HP-UX compatibility
code has its own implementation now.
1997-03-16 09:12:13 +00:00
thorpej 832cc66899 Implement hpux_setregs(). While I'm here, nuke the MDP_HPUXTRACE
code.  In practice, no one traces NetBSD programs with HP-UX debuggers,
and the evil required to make it work should not be discussed in the
presence of small children.
1997-03-16 09:10:31 +00:00
lukem cb77572e20 use mkstemp() instead of mktemp() 1997-03-16 05:25:38 +00:00
lukem 1960b7137d add warn_refs for mktemp(), tempnam(), and tmpnam() since most code
use these incorrectly. mkstemp() is ok however. inspired by openbsd
1997-03-16 05:00:38 +00:00
thorpej b132875e6e Use hpux_sendsig() and hpux_sys_sigreturn(). 1997-03-16 03:48:00 +00:00
thorpej 27c7e59344 Define the HP-UX sigcontext structure here, and prototype hpux_sendsig(). 1997-03-16 03:45:33 +00:00
thorpej 5a14c36be7 Move all COMPAT_HPUX signal code into hpux_sendsig() and hpux_sys_sigreturn(). 1997-03-16 03:43:39 +00:00
cgd cd0461fbb8 map either via memory or I/O space, depending on the setting of a
patchable kernel variable.  eventually, it might make sense to turn
this into a driver flag or something.
1997-03-16 00:37:00 +00:00
thorpej f5c982a251 In cpu_coredump(), use `fputype' to decide if we dump FP regs. 1997-03-15 23:40:25 +00:00
thorpej 99cc2e1cec Garbage-collect use of FPCOPROC. 1997-03-15 23:34:32 +00:00
thorpej bbcda6f26b - /dev/mem: only allow access to physical RAM
- /dev/kmem: disallow access to devices

This is designed to protect device registers from being corrupted
accidentally by "innocent" mem/kmem grovellers.
1997-03-15 23:30:12 +00:00
thorpej 6fa9be2e93 Use `fputype' at run-time rather than FPCOPROC at compile-time. 1997-03-15 23:25:49 +00:00
thorpej 4fd90cefdb - Garbage-collect doadump(); it hasn't been used for some time.
- Supply an `fputype' global.  Since all hp300's have an FPU, default
  it to FPU_68881, setting it to FPU_68040 if we detect a 68040 CPU.
- Use `fputype' at run-time rathern than FPCOPROC at compile-time.
- Re-arrange locore slightly; move startup code to the beginning, right
  after the vector table.
1997-03-15 23:23:55 +00:00
thorpej 2cea1ec9d7 - Make hpux_sys_getcontext() table-driven.
- Use `fputype' at run-time rather than FPCOPROC at compile-time.
1997-03-15 23:20:20 +00:00
pk a372844a7a Add fix_align() and emulinstr() prototypes. 1997-03-15 22:25:15 +00:00
perry 520b71bb34 From Matthias Drochner:
give global constants more meaningful names
1997-03-15 22:20:55 +00:00
perry 5347892165 From Matthias Drochner:
give global constants more meaningful names
eliminate code duplication
1997-03-15 22:20:02 +00:00
perry aa5f5f8441 From Matthias Drochner:
use constants from etherdrv.h
1997-03-15 22:18:55 +00:00
perry 6a00e9acc8 From Matthias Drochner:
use constants from etherdrv.h
make selection table driven
1997-03-15 22:18:21 +00:00
perry 3824935377 From Matthias Drochner:
add constants for media selection
1997-03-15 22:17:35 +00:00
perry e097564463 From Matthias Drochner:
add definition prototype for PCI ROMs
add optional definition for serial console support
1997-03-15 22:16:35 +00:00
perry 817522ff26 From Matthias Drochner:
fix prototypes
use CONSDEV_* constants for consistency
1997-03-15 22:15:49 +00:00
perry 86ab882a41 From Matthias Drochner:
support for ROMs ala PCI specification
1997-03-15 22:15:02 +00:00
perry 492449d27a From Matthias Drochner:
calculate 16-bit checksum
support for ROMs ala PCI specification
1997-03-15 22:14:02 +00:00
pk 27b2f0ec7c Fix a `new-ARP' pasto. 1997-03-15 22:13:55 +00:00
thorpej 1023932f47 User text segment begins at 8k, now, to match the other m68k ports. 1997-03-15 22:02:24 +00:00
thorpej 26644d1232 Change MID_MACHINE to MID_M68K; we now use the same executable format as
the rest of the m68k ports.
1997-03-15 22:01:02 +00:00
thorpej 0e368d2e40 Don't set __LDPGSZ to 4096; we use 8192 like the rest of m68k-land, now. 1997-03-15 21:59:20 +00:00
cgd 1f5d64db6b s/if_ethertypes.h/ethertypes.h/ because if_ethertypes.h doesn't exist 1997-03-15 21:10:45 +00:00
cgd d611773458 fix botches in is's new ARP changes 1997-03-15 21:06:09 +00:00
pk cc87278540 Remove trailing comma in enum definition. 1997-03-15 20:54:10 +00:00
pk ad1f2b7812 Remove call to mmu_pagein4m(), which is of little use. 1997-03-15 20:31:33 +00:00
briggs 4b6b2bb9f8 SONIC driver--originally from pica. Much work done by Dennis Gentry and
Takeshi Yanagisawa to get it working.  Some minor hacking by me here and
there.
1997-03-15 20:26:35 +00:00
pk f8918b9be9 Simplify `4m' versions of pmapbootstrap() and mmu_reservemon():
allocate and initialize all kernel page tables before looking at the
PROM maps, which allows mmu_reservemon4m() to simply walk the PROM tables
without having to allocate bits and pieces of our own kernel tables.

Slightly optimize getcontext() macros in mutli-arch kernels.

Remove un-needed `4m' version of mmu_pagein().
1997-03-15 20:24:09 +00:00
briggs 6f71d88157 Specify SONIC for 040 powerbooks and for CLASSQ and CLASSQ2 machines. 1997-03-15 20:17:40 +00:00