Commit Graph

42197 Commits

Author SHA1 Message Date
fvdl
a21f36eeb2 Make softintr_establish prototype match other ports, avoiding compile
warnings.
2000-12-03 14:49:50 +00:00
fvdl
1f04bc7933 TRAPWIN is defined by default in trap.c, don't define it here. 2000-12-03 14:49:14 +00:00
fvdl
c3d820fa5d Use a copied fktrace syscall arg structure with out 'const int' for the
filedescriptor to copy arguments, avoiding a warning. XXX
2000-12-03 14:48:29 +00:00
fvdl
5ce71a2aed Include opt_* files to make sure prototypes are included. 2000-12-03 14:47:27 +00:00
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
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
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
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
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
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
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
matt
ab27bbe9b2 Need to add -EB for ASFLAGS as well. Don't use -EB in LINKFLAGS but add
-EB to LD so that libkern/libcompat get it as well.
2000-12-02 20:27:37 +00:00
jdolecek
2b0dca1878 db_disasm(): pte is in kernel address space, so use kvtopte() to get pde,
otherwise it would trip over KASSERT() in vtopte() and cycle
2000-12-02 19:34:54 +00:00
scw
57b29e6754 Fix symbol table loading. 2000-12-02 17:28:08 +00:00
ragge
8dcc655ab0 Remove lkc, add lkkbd/lkms. 2000-12-02 17:19:27 +00:00
ragge
f8a6a4ce46 Add lkkbd/lkms/fonts, remove lkc. 2000-12-02 17:18:54 +00:00
ragge
2f2f3de2ed Recent lkkbd/lkms/lkc changes. 2000-12-02 17:15:37 +00:00
ragge
cfcd7e9e98 Use lkkbd. Add hardware cursor support. Use wsfont fonts instead of the
old QDSS fonts (support not finished). KNF cleanup.
2000-12-02 17:14:00 +00:00
ragge
3321363123 Remove lkc, add lkkbd/lkms support. 2000-12-02 17:09:43 +00:00
ragge
a81d92ef69 Add prototype. 2000-12-02 17:08:32 +00:00