jtc
9b9f8829d1
sync with tzcode96l
1996-09-10 22:04:29 +00:00
thorpej
c9bf6a7e5a
Add exec glue for `COMPAT_M68K4K'; just map the executable the way
...
a MID_M68K4K expects to be mapped. Allows any m68k port with
NBPG == 4096 to run NetBSD/hp300 executables, and will allow hp300s
to run legacy executables when that port's default format is eventually
changed to match the other m68k ports.
1996-09-10 22:01:20 +00:00
jtc
b27646e2c2
import tzcode96l
1996-09-10 21:59:47 +00:00
cgd
0b77b04b6e
set a0 to be the initial sp, and set pv to be program entry point.
1996-09-10 19:13:42 +00:00
thorpej
65f3b15dc2
When iterating the host list, do not access memory that has just been
...
free()'d. From Matt Beal <beal@umiacs.umd.edu>, PR #2747 .
1996-09-10 18:48:57 +00:00
jtk
2b5e1cd158
clean up missing prototype, extra variable
1996-09-10 11:22:33 +00:00
leo
0f821f9aa6
Conform to the hp300 style of trap.c as suggested by Jason.
1996-09-10 09:05:40 +00:00
leo
2340b495ce
- Add suline() for the new trap.c (Shouldn't this move to m68k/copy.s?)
...
- Fix some bugs in the interrupt handlers introduced by the new mapping
of the st io-area.
1996-09-10 08:58:42 +00:00
leo
7a87b91e9b
Add suline/susword prototypes for new trap.c
1996-09-10 08:45:16 +00:00
mark
7332aa83f6
These files contains stub functions that just called abort() are no
...
longer needed now we have working assembly versions.
1996-09-09 22:06:25 +00:00
mark
10756ef086
Use the new assembly files for fpgetmask(), fpsetmask(), fpgetsticky()
...
and fpsetsticky().
1996-09-09 22:03:24 +00:00
mark
7f53925054
Initial commit of working versions of the functions for manipulating
...
the floating point cumulative exception flags and exception enable masks.
These functions replace the dummy C functions that just called abort().
1996-09-09 22:00:39 +00:00
jonathan
be23611556
Apply diff from the 1.2 release branch, so that ugly IOASIC debugging
...
is disabled by default:
>revision 1.9.4.2
>date: 1996/09/09 20:19:11; author: thorpej; state: Exp; lines: +2 -18
>Disable IOASIC_DEBUG so that autoconfiguration looks normal, by request
>of Jonathan Stone
1996-09-09 21:32:20 +00:00
mycroft
b3ffba62a6
Move strip(1) flags into a separate variable, so that $STRIP can
...
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft
dbacbd3636
Use machine/asm.h. Garbage collect.
1996-09-09 18:42:51 +00:00
thorpej
0d89093b48
This file is obsolete; the ahb driver now lives in ahb.c
1996-09-09 18:32:42 +00:00
cgd
7ba205c37e
Sync the 53c94 SCSI driver with the sparc version. Update the DMA code to
...
match the interfaces required by the driver.
1996-09-09 18:10:35 +00:00
mycroft
379839a0df
Make the build process more sane.
1996-09-09 18:07:40 +00:00
mycroft
79e03b2967
Pass $STRIP to the sub-make.
1996-09-09 18:03:46 +00:00
cgd
adeb6b4058
replace sequences of 8 spaces with tabs (only one instance). kill
...
unnecessary newlines after return statements but before function
close-braces.
1996-09-09 18:01:30 +00:00
mycroft
825aca4d5d
Oops; include paths are relative to $S.
1996-09-09 17:18:47 +00:00
mycroft
9bb1acd303
Rework the token bucket filter to use a list of packets rather than a static
...
array. Also, fix several memory leaks. From Bill Fenner.
1996-09-09 17:14:04 +00:00
mycroft
23437fc3d2
Cosmetic changes, some from Bill Fenner.
1996-09-09 17:09:50 +00:00
mycroft
3fbde733bc
Sync with version in ../boot.
1996-09-09 16:55:11 +00:00
cgd
6891e01ba2
add missing underscore to __alpha_, to map interrupt names properly.
...
It worked right before because of happy coincidence.
1996-09-09 16:39:44 +00:00
cgd
2b118fc59b
add entries for rd (cdev + bdev), ss (cdev), and uk (cdev).
1996-09-09 16:38:52 +00:00
mycroft
842eae0878
Add a file for local additions to GENERIC.
1996-09-09 16:37:08 +00:00
mycroft
a693d5fcb0
Sync with GENERIC.
1996-09-09 16:33:20 +00:00
cgd
65538ec48d
add specs for 'rd'
1996-09-09 16:31:36 +00:00
mycroft
02b3e8d73e
Add ss, uk. Minor touchups.
1996-09-09 16:30:47 +00:00
mycroft
97c4dc0c80
Remove old comment about rd, and add to chrtoblk[].
1996-09-09 15:51:34 +00:00
mycroft
62a6cce9ca
Add in_nullhost() and in_hosteq() macros, to hide some protocol
...
details. Also, fix a bug in TCP wrt SYN+URG packets.
1996-09-09 14:51:07 +00:00
jtk
4b9b2da0f5
I meant to depend on apm.h, not Makefile
1996-09-09 11:34:01 +00:00
jtk
ec11419661
fix compilation problems when APM not configured
1996-09-09 11:31:40 +00:00
cgd
44279d38cb
user better local labels, be smarter with noat and use of the at register.
...
Suggested by Matt Thomas.
1996-09-09 01:03:38 +00:00
cgd
8df506ad69
user better names for local labels, as suggested by Matt Thomas and
...
slightly tweaked.
1996-09-09 00:57:59 +00:00
cgd
86a813e847
remove unused local label
1996-09-09 00:51:27 +00:00
jonathan
de227b74e6
* Add missing printf("\n") at end of attach routine in cfb, sfb, pm drivers.
1996-09-08 19:28:03 +00:00
oki
9682743e21
delete unused prototype.
1996-09-08 18:46:12 +00:00
mycroft
a32047fa0c
Add cdev_decl(rd), for previous.
1996-09-08 15:59:56 +00:00
jtk
3b509ead1a
whoops, forgot to include flags details in bioscall() comments
1996-09-08 15:51:39 +00:00
mycroft
f5c7d8bcc1
Save 68 bytes of the packet for ICMP, not 64. From Laine Stump, PR 2296.
1996-09-08 15:49:43 +00:00
jtk
1a1feb3827
change APM to use new almost-generalized BIOS trampoline:
...
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/
Thanks to Charles Hannum for complaining and inspiring me to hack this
together.
1996-09-08 15:43:37 +00:00
jtk
fda7345c98
re-implement BIOS trampoline as a more general-purpose, reusable trampoline.
...
calling interface (via a grapple in locore.s) is:
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/
still some generalization to do (moving this to a better named location,
cleaning up #if tests from NAPM > 0 to something else to allow easy
sharing by other drivers)
Thanks to Charles Hannum for complaining about the previous BIOS grapple
and inspiring me to hack this one together.
1996-09-08 15:36:51 +00:00
mycroft
90cf086c4f
Restructure ns_control() like other protocols.
1996-09-08 14:49:41 +00:00
mycroft
5fda0ab8a3
Make sure the control mbufs are freed in all cases.
...
Return ENOPROTOOPT rather than picking pseudo-random error values.
Restructure *_ctloutput() functions to match other protocols.
1996-09-08 14:48:21 +00:00
mycroft
f5b5efa5d5
Update to match kernel changes.
1996-09-08 14:37:39 +00:00
mycroft
0804856d01
Make sure the control mbufs are freed in all cases.
...
Return ENOPROTOOPT rather than picking pseudo-random error values.
Restructure *_ctloutput() functions to match other protocols.
iso_ifreq and SIOC*_ISO are no longer needed; use the standard versions.
1996-09-08 14:28:08 +00:00
jonathan
50326ae738
* Call doshutdownhooks() before rebooting.
...
* Split the machine-dependent part of rebooting out into a separate
function, prom_halt(), making boot() a candidate for moving into
mips/mips.
1996-09-08 11:49:49 +00:00
is
3efed5ad51
s/reutrn/return/, although in normally inactive code.
1996-09-08 11:21:11 +00:00