tsutsui
311a1a842c
Clean up receive interrupt routine:
...
- Use MGETHDR + MCLGET + memcpy rathar than m_devget + m_adj + m_copyback.
- Call bus_dmamap_sync(9) correctly for Rx buffer.
Mostly from thorpej's if_rtp.c.
2000-12-03 14:24:17 +00:00
takemura
1021bf4bf1
Change hf_baseaddr usage. Now it potins frame buffer start address instead
...
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
2000-12-03 13:43:40 +00:00
ad
3bcc9b9f3a
Fix a comment.
2000-12-03 13:34:37 +00:00
ad
9ecde86321
I2O HBAs provide an abstracted view of the bus; use SCBUSIOLLSCAN to give
...
them an oppertunity to re-scan it before we do.
2000-12-03 13:30:36 +00:00
takemura
e7c346ccba
- CRT control exists only in GC01R.
...
- add some symbols.
- fix some typo.
2000-12-03 13:24:33 +00:00
ad
0889c2ba96
Make iop device files.
2000-12-03 13:23:12 +00:00
ad
f237da87bf
Hook the iop device in.
2000-12-03 13:19:07 +00:00
ad
af9d4c4fa4
- Only configure un-claimed devices. Implement re-configuration.
...
- Adhere to the spec better in some places. Also, work around some quirks
noted in the Linux I2O code.
- Register event handlers for the executive and RBS devices.
- Fix a number of buglets and tidy a little.
- Implement a message pass-through interface and some other useful ioctls.
2000-12-03 13:17:03 +00:00
fvdl
8537802e8d
Add systm.h to pull in copyout* prototypes.
2000-12-03 13:15:38 +00:00
ad
1e6732dca4
- Force the memory mapping uncacheable.
...
- We don't need a record of the I/O space mapping.
2000-12-03 13:05:14 +00:00
ad
a5248b66cf
Make it possible to detach ld devices.
2000-12-03 13:03:30 +00:00
ad
c9305d1df0
Fix comment.
2000-12-03 13:01:37 +00:00
takemura
94e15f37c8
Cancel previous change and revert to revision 1.35.
...
You can't pmap_steal_memory to allocate proc0 bacase physical memory
detection calls badaddr which needs proc0.
2000-12-03 12:57:37 +00:00
takemura
e678d47b5e
Add #UVMHIST line (commented out).
2000-12-03 12:29:28 +00:00
matt
dc80dfbf5d
Use shared Makefile.mips
2000-12-03 07:59:47 +00:00
matt
cc1a776969
Add DEFGP/CROSSDIR for hpcmips.
2000-12-03 07:55:12 +00:00
matt
b0ffdfd51c
Use shared Makefile.mips
2000-12-03 07:46:43 +00:00
matt
b927e12eee
Remove redundant depend of fp.S
2000-12-03 07:44:43 +00:00
simonb
26ca0704e4
Use shared Makefile.mips
2000-12-03 07:39:34 +00:00
perseant
32d11b86a5
Call uvm_vmp_setsize() in lfs_{fast,}vget to set initial vnode size.
2000-12-03 07:34:49 +00:00
matt
8bddbd2266
Include FP support if NOFPU is *NOT* defined.
2000-12-03 07:21:50 +00:00
matt
a2877b394c
Don't emit MACHINE/MACHINE_ARCH. Instead emit a TARGET_MACHINE=machine
...
instead.
2000-12-03 07:06:15 +00:00
matt
825cb46de5
Revert back to a machinearch (really cputype) of mips. Put ENDIAN back.
2000-12-03 07:05:21 +00:00
perseant
72633be8c6
Fix typo in 'malloc' for non-MALLOCLOG case
2000-12-03 06:43:36 +00:00
matt
c1dbeee6d0
Deal with lack of floating point on hpcmips, etc.
2000-12-03 06:04:50 +00:00
perseant
2a53ff5ab9
Get rid of some old unnecessary code that cleared B_NEEDCOMMIT from buffers in
...
lfs_writeseg (possibly after they had been freed).
If MALLOCLOG is defined, make lfs_newbuf and lfs_freebuf pass along the
caller's file and line to _malloc and _free.
2000-12-03 05:56:27 +00:00
matt
866f93d61f
Change arch from mips to mipsel/mipseb as appropriate. Nuke the ENDIAN
...
makeoption. Key off MACHINE_ARCH for adding -EB/-EL to CFLAGS/AFLAGS/LD/
LINKFLAGS.
2000-12-03 05:30:31 +00:00
chs
65a9d68fda
don't forget to set um_lognindir (now required by ufs_bmaparray()).
2000-12-03 05:27:51 +00:00
matt
ecf6f5a91f
Add a POST_STRIP_SYSTEM_LD_FLAGS for mipsco and pmax.
2000-12-03 04:52:38 +00:00
matt
a0a88e0a71
Use shared Makefile.mips
2000-12-03 04:51:26 +00:00
matt
bd338a518c
Deal with -Wstrict-prototypes -Wmissing-prototypes
2000-12-03 04:51:04 +00:00
chs
6944ee458a
in ufs_balloc_range(), don't rely on uvm_vnp_setsize() to invalidate
...
pages we've allocated past the real EOF when we fail to allocate a block.
we used to play games with the VM notion of the file size but we don't do
that anymore, so uvm_vnp_setsize() doesn't do what we want anymore.
call the pager flush op instead.
2000-12-03 03:57:24 +00:00
tsutsui
e89ff0051b
Add some ELF stuff. (not tested)
...
XXX should use MI loadfile(). (see sparc)
2000-12-03 03:35:40 +00:00
tsutsui
b00d07faa9
Enable LOAD_HDR and COUNT_HDR. (would be required on ELF)
2000-12-03 02:56:25 +00:00
tsutsui
99d2177add
Don't try to load a.out header if there is no space for it before text.
2000-12-03 02:53:04 +00:00
minoura
670c8594e2
Add peace(8) and compat_win32(8).
2000-12-03 02:43:18 +00:00
minoura
9532cd253c
Alias compat_win32.8 and peace.8.
2000-12-03 02:41:19 +00:00
minoura
756530c58f
Update.
2000-12-03 02:39:42 +00:00
christos
105cc20925
1. switch to using poll by default; can be overriden by compiling with
...
-DUSE_SELECT
2. make sure that we don't overrun our allocated fd_set if USE_SELECT is defined
2000-12-03 02:19:32 +00:00
christos
709d0cf4cb
add noreturn attribute to the functions that need it.
2000-12-03 02:18:14 +00:00
matt
5e67131b91
Start using a Makefile.mips. Use a combination of makeoptions and
...
Makefile.sgimips.inc which has sgimips specific stuff.
2000-12-03 02:07:04 +00:00
minoura
fa875fd970
Welcome message `If you booted from a floppy,...' is somewhat port-specific
...
instruction.
Create md_hello message and move that message to it.
Port-maintainers: please reflect the reality of your port.
Someone who can write french: please correct *.fr catalogue.
2000-12-03 01:54:46 +00:00
matt
c77ccc45d8
Make this stuff compile with -wstrict-prototpes -wmissing-prototypes.
...
More use of prototypes inside includes should be done.
2000-12-03 01:42:29 +00:00
christos
9a19da76d7
1. the tfile patch was incorrect. If we are doing multiple jobs, we
...
try to open tfile many times, passing bad strings to mkstemp
2. remove extra semicolon after the MESSAGE macro
3. more error checking
4. be more careful about setting things to NULL after freeing.
5. fix a comment that does not apply anymore
2000-12-03 01:27:03 +00:00
christos
6a9332cff1
use 6 X's instead of 5 for portability.
2000-12-03 01:18:15 +00:00
matt
5cde4cf735
If a port-specific Makefile.<port> doesn't exist, try a arch-specific
...
Makefile.<arch>.
Emit MACHINE=<port> and MACHINE_ARCH=<arch> to the emitted Makefile.
2000-12-02 23:01:54 +00:00
is
e077acfb61
Document that text (console) modes need a depth field of 4.
2000-12-02 21:58:10 +00:00
scw
6afa06dad6
Add support for COMPAT_AOUT_M68K.
2000-12-02 20:44:09 +00:00
scw
c6aacae85d
defopt COMPAT_AOUT_M68K
2000-12-02 20:43:08 +00:00
scw
47a35be2c9
Initial cut of COMPAT_AOUT_M68K.
...
This gets most existing m68k a.out binaries working with m68k ELF
kernels.
There are still some remaining ABI issues to track down; most notably,
some ioctl(2) calls are affected by the change.
2000-12-02 20:40:03 +00:00