uch
6a86080d84
add useful macro for running P2, P1 area.
2002-02-11 18:04:24 +00:00
uch
de4d07e475
add defines
2002-02-11 18:03:48 +00:00
uch
e63a9777b2
add new cache routine.
2002-02-11 18:03:05 +00:00
jdolecek
c095cf0006
use opt_pipe.h for PIPE_SOCKETPAIR, add PIPE_NODIRECT there too
2002-02-11 18:03:00 +00:00
uch
03487ed5cb
machine tlb command print PFN with AREA number.
2002-02-11 17:50:17 +00:00
uch
54dd82020c
recompile
2002-02-11 17:45:53 +00:00
uch
4dff96d2d9
SH4 support. my target is HITACHI PERSONA HPW650PA
2002-02-11 17:32:35 +00:00
uch
dca6104509
hpcsh spcific console defines are moved to console.h
2002-02-11 17:30:44 +00:00
uch
b67fd34c0f
HD64465 interrupt, uart, pcmcia modules
2002-02-11 17:27:15 +00:00
uch
d310eb6303
MQ100 (HD64464) register, framebuffer offset define.
2002-02-11 17:25:00 +00:00
kleink
4691174484
Move the declaration of pci_conf_hook down to <machine/pci_machdep.h>;
...
a port may choose to implement it not as a function but i.e. as a
pci_chipset_tag_t function vector.
2002-02-11 17:24:00 +00:00
uch
400b507277
add more debug message
2002-02-11 17:22:39 +00:00
uch
f27eb3ee07
add primitive serial console debug routine.
2002-02-11 17:21:48 +00:00
uch
12d7b235bc
{} -> do {} (0)
2002-02-11 17:20:18 +00:00
uch
c8a89ad160
KNF
2002-02-11 17:19:04 +00:00
uch
c06011471e
enable KLOADER, PIPE_SOCKETPAIR
2002-02-11 17:18:35 +00:00
uch
3cde195353
add reset method.
2002-02-11 17:13:28 +00:00
uch
f8bc44a14f
add dbg_bit_print_msg define
2002-02-11 17:11:48 +00:00
uch
acb09f9887
totaly clean up SH3/SH4 related code
2002-02-11 17:08:54 +00:00
uch
984e019350
fix memory size estimation. add error check code.
2002-02-11 17:05:45 +00:00
uch
587d245cb8
change debug printf method.
2002-02-11 17:01:09 +00:00
augustss
490beda381
Remove an accidental change from last commit.
2002-02-11 15:20:23 +00:00
augustss
319f13f6ef
Give usbd_do_request_flags() an extra argument for the timeout.
2002-02-11 15:11:49 +00:00
augustss
5f87e5a984
Regen.
2002-02-11 15:00:35 +00:00
augustss
cf31e1b945
Add a bunch of mass storage devices.
2002-02-11 15:00:17 +00:00
augustss
e644076000
A little const poisoning. (From FreeBSD.)
2002-02-11 12:42:48 +00:00
augustss
a91e01c9ee
s/ab_csr/ab_addr/ so it compiles again.
2002-02-11 12:32:43 +00:00
takemura
47c249a13d
Added Vr4122 and Vr4131 support to GENERIC configuration.
2002-02-11 11:44:36 +00:00
augustss
6f566032d7
Whitespace changes.
2002-02-11 11:42:16 +00:00
augustss
0e66a32e2c
Switch to new abort mechanism.
2002-02-11 11:41:30 +00:00
augustss
f8204d29e1
Switch to the same abort mechanism as in [eo]hci; it should be more
...
robust.
2002-02-11 11:40:33 +00:00
wiz
9baadd8ee5
"doesn't" should have an 's'.
2002-02-11 11:19:26 +00:00
wiz
b231fd7631
explicitly, with two l.
2002-02-11 11:01:52 +00:00
wiz
f78eb76cbe
achive is not a good word.
2002-02-11 10:57:57 +00:00
wiz
66df0333a1
s/seperate/separate/
2002-02-11 10:44:38 +00:00
augustss
f1274a71dc
Some minor fixes from FreeBSD.
2002-02-11 10:09:14 +00:00
augustss
1b221b1c9b
Some updates for FreeBSD.
2002-02-11 10:04:28 +00:00
takemura
38e509404e
Added vr4122ip.
2002-02-11 09:21:46 +00:00
skrll
88279a037a
We're not arm32 we're acorn32.
2002-02-11 08:28:16 +00:00
takemura
c9d2bee505
Removed vr4102ip_probe to reduce kernel size.
2002-02-11 08:15:41 +00:00
takemura
9f66659cfb
Added vr4102ip.
2002-02-11 07:55:49 +00:00
kent
c1b55b61ac
uaudio_chan_set_param:
...
Take care of param->factor.
uaudio_set_params:
Fix a problem of precision matching for mulaw/alaw with 16bit.
2002-02-11 07:10:36 +00:00
thorpej
ea83097308
Sync the commented-out subdir list with reality.
2002-02-11 06:51:27 +00:00
takemura
9396668add
Tweaked register access without register offset macro.
2002-02-11 04:56:27 +00:00
takemura
3ef102554d
Fixed dma register sizes.
2002-02-11 04:35:54 +00:00
takemura
9f2314954a
Added DMA Address unit and DMA Control unit. (not tested)
2002-02-11 04:33:22 +00:00
mrg
20f36f0387
make .s and .S files depend on assym.h
2002-02-11 03:43:53 +00:00
perseant
f41358613c
Include the space taken by inodes in the count made by lfs_check();
...
make VOP_SETATTR call lfs_check. This prevents large numbers of inode
changes (say, at the end of tar(1)) from filling the buffer cache.
2002-02-11 02:47:29 +00:00
thorpej
c71d1b0307
Don't pass -mno-pic if we're using ELF.
2002-02-11 00:25:19 +00:00
thorpej
3e9025cfbf
Remove a pretty much useless autoconfiguration message.
2002-02-10 23:28:27 +00:00
chs
9784635eb6
getblk()'s "block size invariant" isn't valid for VBLK vnodes
...
since bounds_check_with_label() will truncate a buffer that crosses
the end of the partition. adjust the assertion to account for this.
fixes PRs 7938, 12156, 12698, 13076, 13210 and 13288.
2002-02-10 23:14:18 +00:00
reinoud
4ec25a3335
Use booted_kernel' instead of the
boot_file' variable.
2002-02-10 23:01:45 +00:00
thorpej
f7d5e6da06
Remove blkclr() and blkcpy(); similar routines have been added to
...
libkern.
2002-02-10 22:06:45 +00:00
thorpej
30bdf5c12e
* Add __unused__ attribute to inline functions.
...
* Call __blkclr() and __blkset() as appropriate.
2002-02-10 22:06:12 +00:00
thorpej
2362fef9a8
Add __blkcpy() and __blkset() (renamed/modified from __blkclr()) to
...
libkern.
2002-02-10 22:04:51 +00:00
is
725d029d19
Remove INSTWDCPCM, because for a while now, GENERIC (and INSTALL) have
...
included both pcmcia support, and wdc instead of idesc as the driver for
the Amiga internal ATA connector.
2002-02-10 20:43:33 +00:00
wiz
f7d9c1c5ff
s/dnard/shark/
2002-02-10 18:28:12 +00:00
chs
1bd3ec1b86
add "-m68030" for sun3x, addresses PR 15312.
2002-02-10 18:22:31 +00:00
chs
94cfc87907
bring in the change from FreeBSD's rev. 1.107 of this file:
...
date: 2002/02/07 00:54:32; author: mckusick; state: Exp; lines: +10 -7
Occationally deleted files would hang around for hours or days
without being reclaimed. This bug was introduced in revision 1.95
dealing with filenames placed in newly allocated directory blocks,
thus is not present in 4.X systems. The bug is triggered when a
new entry is made in a directory after the data block containing
the original new entry has been written, but before the inode
that references the data block has been written.
Submitted by: Bill Fenner <fenner@research.att.com>
This should fix NetBSD PR 15531.
2002-02-10 18:06:03 +00:00
wiz
3cc2ef9997
Update description for icsphy.
2002-02-10 17:36:52 +00:00
wiz
5c800297c6
Match ICS 1893.
2002-02-10 17:09:41 +00:00
wiz
c48956e61c
Regen [ICS 1893]
2002-02-10 17:09:08 +00:00
wiz
9f4c1b7c26
Add ICS 1893
2002-02-10 17:08:24 +00:00
mrg
993c6eb6ac
need core_elf32.c as well, now.
2002-02-10 16:25:49 +00:00
mrg
42aa4bc31d
use MACHINE_ARCH for sparc & sparc64.
2002-02-10 16:25:35 +00:00
mrg
bf06edf092
give splode 8 raid devices
2002-02-10 15:49:39 +00:00
mrg
13ba5ca255
the exec LKMs work on sparc64.
2002-02-10 15:46:28 +00:00
mrg
d3fc678205
look in sys/arch/${MACHINE}/${MACHINE} as well as ${MACHINE_ARCH}
2002-02-10 15:43:41 +00:00
mrg
1b9f6c7a2e
build svr4_sigcode.s on sparc
2002-02-10 15:42:57 +00:00
mrg
cf5b2d8368
build sunos_machdep.c and sunos_sigcode.s on sparc & sparc64
2002-02-10 15:41:58 +00:00
mrg
34b423fa60
don't build compat_aout LKM; hasn't been tested.
2002-02-10 15:40:32 +00:00
martin
046f73ccbb
More ALTQ gotchas from Thomas Klausner:
...
Use IFQ_SET_MAXLEN instead of accesing opaque queue members directly.
Don't forget to IFQ_SET_READY the queue.
2002-02-10 15:29:58 +00:00
takemura
836a4742ac
Fixed locater id -> platform.
2002-02-10 15:17:24 +00:00
martin
39764a5363
Use IF_IS_EMPTY and IFQ_IS_EMPTY instead of accessing queue members
...
directly. Noticed by Thomas Klausner.
2002-02-10 15:17:21 +00:00
takemura
3b60ef2391
Fixed locater id -> platform.
2002-02-10 15:17:20 +00:00
martin
e8aa4b2c2a
Fix typo in comment.
2002-02-10 15:13:43 +00:00
sato
88b86c9804
fix ONLY_4122_4131
2002-02-10 15:09:32 +00:00
takemura
b38c963272
Made vr.c compilable without SINGLE_VRIP_BASE macro.
2002-02-10 14:38:57 +00:00
sato
24db74be12
fix miss changing.
2002-02-10 14:36:52 +00:00
takemura
90888496a2
Made rtc.c compilable without SINGLE_VRIP_BASE macro.
2002-02-10 14:15:32 +00:00
takemura
d5cf5c95e8
Made vrgiu.c combilable without SINGLE_VRIP_BASE macro.
2002-02-10 13:47:06 +00:00
takemura
85e0e861bf
Added base address table to compile without SINGLE_VRIP_BASE macro.
2002-02-10 13:23:55 +00:00
reinoud
a74d22be50
Add some extra comments for the `booted_kernel' variable.
2002-02-10 13:20:26 +00:00
chris
882addcbd3
Fix a potential boot failure, we need to make sure that the pt's used for the kernel mapping are contiguous otherwise map_chunk etc could overwrite the L1 table.
2002-02-10 13:19:27 +00:00
wiz
6d119b5202
pcmcia -> pci in comment.
2002-02-10 12:26:23 +00:00
chris
a73dabb4b1
Following the demise of arch/arm32 update cats, and restore the isa files to a more sane location.
...
Also fix build break on GENERIC cats kernel, seems that conf.h should have been including arm/conf.h.
This completes the removal of arch/arm32.
2002-02-10 12:26:00 +00:00
pooka
80b8890265
point sequioa.h to new location
2002-02-10 11:48:56 +00:00
chris
851adbbffd
Change reference from arm32 to cats in printf, pointed out by wiz.
2002-02-10 11:31:47 +00:00
tsutsui
16ef83d9ba
Use MI md_root.c. CATS port does not support fdc (yet) anyway.
2002-02-10 10:41:34 +00:00
tsutsui
8393f637ec
Remove unused defflags.
2002-02-10 10:37:52 +00:00
kleink
618dddf12f
Fix RCS Id.
2002-02-10 09:29:19 +00:00
thorpej
18c88948c1
Bring over a couple of files from arch/dnard that will be useful in
...
the future.
2002-02-10 07:07:07 +00:00
kent
4653bffb03
uaudio_set_params:
...
Use slinear16_to_mulaw_le() if ULAW recording is requested and the device
supports neither signed 8bit nor unsigned 8bit and supports 16bit.
2002-02-10 06:37:45 +00:00
kent
29b73c4025
Add slinear16_to_mulaw_le().
2002-02-10 06:27:06 +00:00
thorpej
d24d4e6e80
This directory is obsolete (and will probably be deleted from the
...
CVS repostory altogether).
2002-02-10 02:11:13 +00:00
thorpej
9e2f34c62e
Add an entry for:
...
Digital Network Appliance Reference Design (pronoucned "Shark")
2002-02-10 02:09:45 +00:00
thorpej
fa2f3c9fee
Forgot to add this file.
2002-02-10 01:59:34 +00:00
thorpej
8067595564
Kill arch/arm32. The last platform supported there, Shark, is now
...
in arch/shark.
(NOTE: arch/dnard, a premature move to split out the Shark support
code, is going to be deleted. It has bit-rotted.)
2002-02-10 01:53:06 +00:00
thorpej
654b815d7b
Add the Ethertype for 802.3x flow control packets.
2002-02-10 01:28:32 +00:00
gmcgarry
9be34a7e49
Up-to-date kernels for installation media.
2002-02-10 01:07:55 +00:00
gmcgarry
839f3d5b8f
Don't need these.
2002-02-10 01:06:32 +00:00
kleink
db6b1776e2
prep_intr_reg is mapped in kva space, so make it vaddr_t.
2002-02-10 00:54:39 +00:00
reinoud
8843d04234
Please only return errno values !!! ... also doing a bit of KNF'ing
2002-02-10 00:53:28 +00:00
gmcgarry
d934377152
Implement DIOCGDEFLABEL ioctl.
2002-02-10 00:49:57 +00:00
gmcgarry
0b0cdf630f
Some assemblers will optimise addresses within .text into pc-relative
...
references. Bogus for our MMU trampoline code which is relocated to
the last physical page before being invoked. This hack enforces all
addresses wrt the MMU trampoline code not to be pc-relative.
2002-02-10 00:47:59 +00:00
gmcgarry
70d5890284
Use LIST_INSERT_HEAD() to access the head on the interrupt list.
2002-02-10 00:42:15 +00:00
gmcgarry
25a639e366
Also don't print \n without DIAGNOSTIC.
2002-02-10 00:41:21 +00:00
reinoud
2082d60338
We don't need to include "footbridge.h"
2002-02-09 23:58:30 +00:00
thorpej
8edba68a05
Fix problems associated with the SiS 635/735 on-board Ethernet,
...
from Stephen Degler <sdegler@degler.net>, port-i386/15261.
2002-02-09 21:04:02 +00:00
chs
63e29ad187
in LKM context, skip a bunch of unnecessary stuff that doesn't compile there.
2002-02-09 20:01:34 +00:00
chs
679d8cbfdc
define the sun3-only bits all the time, helps when building LKMs.
2002-02-09 19:42:31 +00:00
sato
fad7e32235
add vr4181 giu unit register definitions.
2002-02-09 18:08:44 +00:00
kleink
11402be7a5
Header for the 601's I/O Controller Interface Address Translation
...
segment register format.
2002-02-09 17:44:40 +00:00
sato
b2666184d8
delete '#if 0' codes.
2002-02-09 15:20:49 +00:00
tsutsui
0f5d20e20b
- rename struct iha_scsi_req_q -> struct iha_scb
...
- reorder some functions
- some more cosmetics
2002-02-09 15:13:00 +00:00
sato
86f2021f79
access GIUIOSEL_REG and GIUINTEN_REG
...
only if these registers are not GIU_NO_REG_W.
2002-02-09 15:00:40 +00:00
sato
a96c83ebbb
change NO_REG_W to ICU_NO_REG_W.
2002-02-09 14:54:05 +00:00
sato
f13492fb26
RTC_NO_REG_W unsigned
2002-02-09 14:47:57 +00:00
chris
0a162278aa
Move the arm32/pci files into the cats dir. AFAIK these files are only used by cats.
2002-02-09 12:14:01 +00:00
chris
2ba81d8c9c
Update elf2aout to cope with infile and outfile being the same.
...
Make the cats a.out kernel be called netbsd. This means that make install installs the correct kernel
2002-02-09 11:53:58 +00:00
chris
551471e419
Restore the other files needed for cats build, should really move these elsewhere.
2002-02-09 11:43:27 +00:00
skrll
3f587bd84e
Bring this file back as it is needed by CATS, atm.
2002-02-09 11:03:55 +00:00
lukem
971861de37
use ${INSTALL_FILE} as appropriate
2002-02-09 09:35:59 +00:00
rh
c57778753f
regen
2002-02-09 09:21:24 +00:00
rh
7236711b7c
Add HP Scanjet 5400C
2002-02-09 09:20:44 +00:00
atatat
9dd8465963
(1) Make if_index "wrap" at USHRT_MAX instead of going above it so
...
that other parts of the kernel won't lose gratuitously. There are
places where it's assumed that it won't grow that large.
(2) Avoid accidental reuse of occupied slots in the ifindex2ifnet[]
table.
2002-02-09 05:56:34 +00:00
eeh
48198ba7ca
Fix microsecond calculation in microtime.
2002-02-09 05:01:39 +00:00
eeh
c068b28bac
Increase NMBCLUSTERS.
2002-02-09 04:58:53 +00:00
eeh
c42bdc6b14
Correctly take into account the satck bias in CLKF_INTR().
2002-02-09 04:50:13 +00:00
thorpej
e01bd95698
* The Npwr only has 5 interrupt sources, all in XINT3, so don't bother
...
reading XINT0 (which isn't even implemented by the CPLD on Npwr).
* Adjust the mask of valid IRQ bits for the Npwr.
2002-02-09 03:52:31 +00:00
bouyer
149c671b66
extent_alloc_subregion1(): when a candidate region doesn't fit after being
...
rounded up to respect boundary limits, adjust newstart and last before
skiping to the next region. Otherwise we may check the same candidate
region against the start of the next region, no the one immediatly following
the hole, leading to corrupted map.
This fixes the panic seen on sparc64 with scsi drivers, and probably fixes
PR 15489.
2002-02-09 01:00:09 +00:00
thorpej
727b4699ce
The Npwr has a 19-bit timer. Make sure values programmed into
...
the counter fit.
2002-02-08 23:50:53 +00:00
eeh
424177d21b
Provide more info in psycho_ue.
2002-02-08 20:04:14 +00:00
eeh
bfba946595
Handle the case where a DMA operation wraps from the end of a page to the
...
beginning of the same page properly by double-mapping that page.
2002-02-08 20:03:45 +00:00
christos
980af1007c
Andrew Brown found that we overflowed all cases in the TTLINEDNAMELEN.
...
ouch.
2002-02-08 18:36:53 +00:00
uch
5e1dc96b6e
| Module Name: syssrc
...
| Committed By: uwe
| Date: Thu Jan 31 11:18:08 UTC 2002
|
| Modified Files:
| syssrc/sys/dev/rasops: rasops8.c
|
| Log Message:
| Honor RI_BSWAP.
Endian fix.
2002-02-08 14:55:23 +00:00
uwe
7948c19410
Cosmetic changes: clean up debugging ifdefs and use consistent wording
...
in panic messages.
2002-02-08 13:10:42 +00:00
chris
fbc89911ed
Fix location of some headers, IPAQ kernel now manages to make depend.
2002-02-08 10:37:16 +00:00
gmcgarry
787dd8e0e3
Enter DDB on break if console.
2002-02-08 07:26:16 +00:00
gmcgarry
dad6eb472b
Remove old, custom files.
2002-02-08 06:17:03 +00:00
uch
b3308f4d3d
TLB dump command added to DDB
2002-02-08 06:12:00 +00:00
uch
da20ab3589
add SH3/SH4 namespace free defines.
2002-02-08 06:11:38 +00:00
uch
66510b76a9
add SH-internal memory mapped register access method.
2002-02-08 06:11:16 +00:00
briggs
269d70f6e7
Dup 53c1010-33 entry for 53c1010-66 (PCI_PRODUCT_SYMBIOS_1010_2).
2002-02-08 04:07:34 +00:00
thorpej
9716a068b6
* No need to specify the console speed anymore; it defaults to the
...
correct speed if IOP310_TEAMASA_NPWR is defined.
* Just wildcard the "wm" and "siop" devices.
* Comment out raid and ccd for now.
2002-02-08 03:43:41 +00:00
thorpej
66c81951ae
Default the console to the correct speed on the Npwr (so that
...
it doesn't have to be set in the kernel config file).
2002-02-08 03:41:56 +00:00
briggs
efca4d520d
Wire the internal devices to the right interrupts on NPWR.
2002-02-08 03:28:24 +00:00
thorpej
987cb42a95
No point in setting the ATU Subsys vendor/dev ID on boards that
...
can't plug into a PCI host.
2002-02-08 02:31:12 +00:00
thorpej
367a9543a7
The Npwr doesn't have the board_rev/cpld_rev/backplane_det registers,
...
do don't bother reading them.
2002-02-08 02:30:12 +00:00
jmcneill
a7ff227011
Wups, forgot to add it to some other kernel configs as well.
2002-02-08 01:49:33 +00:00
jmcneill
f7c49dc7e6
Add another pcic at isa attachment. This enables the top PCMCIA slot on
...
my AST Ascentia 910N, and closes port-i386/11797
2002-02-08 01:47:59 +00:00
briggs
6331bb5b24
Let this compile with the IOP310_TEAMASA_NPWR option.
2002-02-08 01:42:41 +00:00
briggs
07ec97aeba
finish conversion from TEAMASA_NPWR to IOP310_TEAMASA_NPWR
2002-02-08 01:41:48 +00:00
thorpej
7380aa1467
Add a "ddb" command (if DDB is configured into the kernel) for
...
easy, convenient dropping into DDB at the "root device: " prompt.
Useful if your console can't do it w/o actually taking an interrupt
and you want to, say, look at the boot messages.
2002-02-08 00:58:58 +00:00
eeh
4daea20c93
Move a brace so this will compile w/o DEBUG.
2002-02-08 00:47:04 +00:00
thorpej
140c8fe847
Don't hard-code the console address in error messages.
2002-02-07 23:53:01 +00:00
tv
e716d57285
Don't spew so much to the console without DEBUG.
2002-02-07 23:23:29 +00:00
tv
aa7e03f796
Handle MAP_ANON (0x100 in Solaris8, not 0x1000) properly, by factoring out
...
the flags common to SVR4 and NetBSD, and mapping the rest manually.
2002-02-07 23:22:24 +00:00
eeh
d3d818a6f4
Fix register allocation in microtime().
2002-02-07 22:23:01 +00:00
thorpej
35a343b018
IFF_POINTTOPOINT interfaces can also transmit packets to broadcast
...
destinations.
2002-02-07 21:47:45 +00:00
eeh
6390142ec0
Make bus_space_barrier() an inline instead of a function vector.
2002-02-07 21:36:54 +00:00
eeh
92ef550481
Overhaul iommu_dvmamap_load_raw().
2002-02-07 21:35:26 +00:00
thorpej
2b9837b4d9
Add support for the Team ASA Npwr IOP310-based server appliance.
2002-02-07 21:34:23 +00:00
uch
b4156f9314
fix # of page directory entry.
2002-02-07 17:06:00 +00:00
uch
6b71166f4e
add missing cache flush code.
2002-02-07 17:05:22 +00:00
augustss
660b4087dc
Add quirks for Minolta S304.
2002-02-07 13:53:14 +00:00
augustss
53a6c27b2e
Add quirk for devices without Get Max Lun.
2002-02-07 13:52:54 +00:00
augustss
86c1274c84
Regen.
2002-02-07 13:52:27 +00:00
augustss
c801ef4f0d
Add Minolta Dimage S304
2002-02-07 13:52:08 +00:00
augustss
d76f24be37
OnSpec doesn't like Mode Sense.
2002-02-07 13:02:26 +00:00
augustss
09f2c3182a
Regen.
2002-02-07 13:00:37 +00:00
augustss
29f28f51f0
Add OnSpec disk controller.
2002-02-07 13:00:13 +00:00
briggs
9827f27b9f
Update from thorpej:
...
* Define type and size of _mcount stub to make PIC code happy.
* Rename mcount to __mcount to get it out of the user namespace.
2002-02-07 05:13:35 +00:00
ross
5014982b5b
add ess0
2002-02-07 02:16:04 +00:00
christos
7555da491d
Turn on mii on 3C980CTXM
2002-02-07 01:32:19 +00:00
jdolecek
104f7c34d6
joyvar.h is now at <dev/ic/joyvar.h>
2002-02-06 21:32:16 +00:00
thorpej
d17cc4f043
* Move some generic ARM OpenFirmware stuff into arch/arm/ofw (still
...
more can move, but not yet).
* Garbage-collect some cruft from arch/arm32 in preparation for
renaming to arch/shark.
2002-02-06 21:30:25 +00:00
kleink
3b7a9506f7
Printf the 601's HID0.
2002-02-06 20:00:48 +00:00
thorpej
690f10fea7
Use arm/conf/Makefile.arm, and add support for building ELF kernels
...
and converting them to a.out.
2002-02-06 19:59:41 +00:00
kleink
69e30815cf
Add a printf bitmask for HID0.
2002-02-06 19:59:30 +00:00
thorpej
c9a1155bcf
Adjust for new location of elf2aout.sh, and echo the command before
...
executing it (like we do for other commands).
2002-02-06 19:59:01 +00:00
wiz
2e56fbc7e0
Another <tab> -> <sp><tab> noted by Patrick Welche.
2002-02-06 19:58:02 +00:00
thorpej
5113cbfb17
A slightly cleaned up version of chris/nick's elf2aout.sh for ARM
...
platforms.
2002-02-06 19:54:47 +00:00
thorpej
eb79ee01a8
ip_mloopback(): process the delayed checksum on the copy, not
...
the original mbuf.
2002-02-06 18:00:01 +00:00
thorpej
da13cb2fb5
Back out all the vm_page_md changes. They are causing some
...
mysterious problems (a similar change to the i386 pmap causes
mysterious problems there, as well), and the issue needs to
be investigated more.
2002-02-06 17:41:42 +00:00
thorpej
4611193917
Efficiency tweaks, some made possible by vm_page_md.
2002-02-06 17:32:35 +00:00
lukem
caa29fae38
#undef DIRBLKSIZ before #define-ing it
2002-02-06 15:44:49 +00:00
pooka
8c1a2832b7
Remove inclusion of unused machine/cpufunc.h, it doesn't belong here anyways.
2002-02-06 14:50:42 +00:00
tsutsui
552bb9895a
TAB/space cosmetics
2002-02-06 12:43:05 +00:00
kleink
8785df9eae
Oops, typo in previous, too.
2002-02-06 12:26:02 +00:00
kleink
ec9a0b843e
* Fix typos and misusage !PMAP_MAP_POOLPAGE mb_map allocation.
...
* Use pmap_kenter_pa() for mapiodev().
2002-02-06 12:24:48 +00:00
chris
ffd3311a48
LINKADDRESS != LOADADDRESS, so fix that typo.
...
Also move the elf2aout conversion to be last in the build sequence, this means that strip is run on the elf kernel.
Also have dbsym run on the kernel, this should allow us to have symbols in the kernel.
This now means kernels boot and run, and can also have ddb symbols.
2002-02-06 00:55:56 +00:00
fredb
554e7c4e9d
Forgot one -- `options COMPAT_15'.
2002-02-06 00:48:53 +00:00
fredb
69538a48bf
Update the GENERIC and GENERICSBC kernels to conform to current fashion:
...
- - Disable `options DIAGNOSTIC' by default, as the checks are reported to
be not really cheap.
- - Add `options COMPAT_AOUT_M68K', commented out, in preparation for ELF.
- - Remove `options EXEC_ELF32' from the kernel config. You can't just
build an ELF kernel -- you need to update your toolchain, and then,
once you go ELF, it's not an option, so it needs to go in std.mac68k,
as on the other m68k ports.
- - Comment out `options COMPAT_SUNOS'. This hasn't been reported to work
for a long time, so it's not very useful in GENERIC.
- - Enable `options IPFILTER_LOG', to go along with the `options GATEWAY'
and `pseudo-device ipfilter' motif.
2002-02-06 00:45:53 +00:00
christos
582f45a690
Add __MNT_CONTROL_FLAGS to __MNT_FLAGS for the sake of completeness..
2002-02-05 21:25:48 +00:00
thorpej
58eebd58b3
Use vm_page_md rather than pmap_physseg. Saves lots of cycles in
...
common operations.
2002-02-05 21:14:36 +00:00
kleink
cd6a8bc27c
Add MPC601 MQ and RTCU/RTCL SPRs.
2002-02-05 19:49:17 +00:00
chuck
df904ed198
after discussion with christos, use string "hidden" rather than "ignored"
2002-02-05 19:35:03 +00:00
thorpej
9485327397
Allow platforms to use an extra level of indirection for FIQs,
...
enabled by definining __ARM_FIQ_INDIRECT in <machine/types.h>.
This is needed for OpenFirmware systems (like the Shark), where
the OFW vector page is used, and kernel entries merely patched
into it.
2002-02-05 18:26:07 +00:00
fredb
c26310d581
whitespace cleanup
2002-02-05 15:28:03 +00:00
fredb
31543d3f23
Add an explicit transformation for iwm.s -> iwm.o, patterned after the
...
kernel's ${NORMAL_S}. In particular, we need the ${CPPFLAGS} from
<bsd.kmod.mk> to support non-self-hosted builds. (Changing iwm.s to iwm.S
would also work.)
2002-02-05 15:26:52 +00:00
reinoud
fe0ecbaede
At last enable the real time clock again on acorn32 !! thanks a lot to Mike
...
Pumford for the patches.
2002-02-05 14:36:35 +00:00
pk
ae36e0e350
bootpath_build(): parse boot path correctly if the boot device arguments
...
consists of more than one character (we still pay attention to the first
argument character only). From bt@csfps.de ; PR#15495.
2002-02-05 13:54:39 +00:00
chs
90503a3cda
add an assert (hopefully to find where we recycle vnodes without
...
freeing all the pages, like I've seen recently).
2002-02-05 07:50:58 +00:00
thorpej
90544559d3
Don't put `frompc' into a0 in the delay slot of the __mcount
...
call; `jal __mcount' might be expanded by the assembler, and
thus a bogus `frompc' value could be passed.
2002-02-05 07:12:20 +00:00
eeh
e16b1e8bf6
Add a sound driver for Blade 100s (which doesn't seem to do much. All I
...
get is the sound of silecne.)
2002-02-05 01:55:49 +00:00
eeh
94a482c8a0
Fix a blatant inconsistency in PCI_PRODUCT handling.
2002-02-05 01:51:51 +00:00
manu
b778bba3d3
Added system calls: getdents64/ngetdents64
2002-02-04 20:26:34 +00:00
uch
c6bcb69ec7
recompile
2002-02-04 17:41:37 +00:00
uch
2e968e7e37
SH4 and HD64465(SH4 companion chip) serial console support.
2002-02-04 17:38:26 +00:00
uch
e79ccc5b22
enable PERSONA HPW650PA
2002-02-04 17:33:08 +00:00
uch
8484a699cd
add CacheSync() WinCE(2.10 or later) API declaration.
2002-02-04 17:32:36 +00:00
uch
7758e1728a
smart debug message.
2002-02-04 17:32:02 +00:00
uch
c154e13e2c
change system information print. remove ExtEscape (WinCE API) test. this was not useful.
2002-02-04 17:31:34 +00:00
uch
45ac5fbf94
correct file opening mode. CreateFile(_filename, GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
2002-02-04 17:31:05 +00:00
uch
d7868a7885
HITACHI HD64465 UART module register define.
2002-02-04 17:23:44 +00:00
junyoung
956ac1ab10
Regen.
2002-02-04 16:57:57 +00:00
junyoung
1c782b74b1
Add some more product ID's for ATI Mach64 graphics cards.
2002-02-04 16:56:49 +00:00
tsutsui
425a197cab
Remove chip description which is also mentioned in dev/ic/rtl81x9.c.
2002-02-04 16:33:15 +00:00
nonaka
5d557da31c
s/asm/__asm__ volatile/
2002-02-04 16:17:36 +00:00
pk
3ae8fa4104
Rename esym' to
kernel_top' and always initialize it in locore from
...
the information provided by the loader if possible (defaulting to `end').
If the DDB symbols aren't needed, `kernel_top' is adjusted in
autoconf:bootstrap() before calling pmap_bootstrap(). It will also
preserve the bootinfo data (if passed by the loader) for non-DDB kernels.
2002-02-04 08:36:36 +00:00
thorpej
0cc39d8d8a
Need <bsd.own.mk> to use ${MACHINE_CPU}.
2002-02-04 08:35:27 +00:00
thorpej
462fa41153
* Make this lint'able.
...
* Reduce some code duplication.
2002-02-04 08:34:27 +00:00
thorpej
87c05210dd
Fix for ELF + __NO_LEADING_UNDERSCORES__.
2002-02-04 08:33:34 +00:00
perseant
8ded9a2c7d
Correct free list tail pointer, when adding blocks of new inodes to v2
...
filesystems. Should fix PR #14408 .
2002-02-04 03:32:16 +00:00
thorpej
2685463c0e
Use ${MACHINE_CPU} to assign ARCHSUBDIR.
2002-02-04 00:24:14 +00:00
pooka
f323b44887
remove include of <machine/cpufunc.h>, it's not used here
...
fixes compile (at least) on arm32
2002-02-03 23:32:10 +00:00
pooka
d70864a866
make this compile:
...
include dev/ic/joyvar.h instead of the now non-existant arm32/isa/joyvar.h
2002-02-03 23:17:58 +00:00
thorpej
74cd9f1058
In setregs(), pass PS_STRINGS in r9.
2002-02-03 22:28:09 +00:00
augustss
7f01f1dd6b
Some white space fixes from FreeBSD.
2002-02-03 18:15:20 +00:00
manu
26aff33a7d
Typo fix
2002-02-03 17:41:03 +00:00
manu
5c72031257
Added system calls: gettimeofday, getitimer, setitimer
2002-02-03 17:39:54 +00:00
manu
5b436803dd
Removed the hack in mapelf to get libX11 loading. The new version assumes
...
that the load addresses in the section array are increasing, and that no
section in the array overlap with each other. IRIX proably makes the same
assumptions, but this has not been tested.
The key point with relocation is to always use the same offset for each
section. Because userland gets only the load address off the first section, it
has to assume that all the remaining sections kept the same offset with
respect to the first section. By using fixed offset instead of finding
some free space for each section, we can eliminate the libX11 load hack.
2002-02-03 17:28:19 +00:00
darrenr
0d5f0d9024
* add machdep.booted_device and machdep.boot_args (both fetched from
...
appropriate PROM variables).
* return "netbsd" for machdep.booted_kernel if the PROM doesn't return us a
kernel name.
2002-02-03 14:10:02 +00:00
jmc
edd781367c
Change some wording on fw's to make it more logical sounding.
2002-02-03 07:29:14 +00:00
jmc
c4bd465ed5
Add IEEE1394_MAX_REC macro
2002-02-03 07:25:11 +00:00
jmc
715f7380b0
Add an unreg function.
...
Add a uio struct to the abuf so direct uio supporting calls can be setup.
Change all refs of csr in the abuf to addr as thats it's real function.
2002-02-03 07:24:48 +00:00
darrenr
1ff5e232ba
add missing #include for SUN4 options
2002-02-03 05:53:28 +00:00
chs
eecf9e208a
fix PR 15299 by making MFS filesystems not be "async".
...
in the longer term, MFS needs to be made a lot more VM-friendly.
2002-02-03 03:51:57 +00:00
manu
98f3287e7d
Added some system calls: gethostname, sethostname, getdomainname,
...
setdomainname, alarm
2002-02-03 01:21:47 +00:00
dbj
ecf4398451
increment uvmexp.traps on entry to trap()
2002-02-02 22:02:00 +00:00
manu
97db5a818c
Added errno translation for non native OSes emulation (IRIX, Linux, Ultrix)
2002-02-02 20:28:59 +00:00
manu
4aa2e3fde7
Fixed the X11 load bug. dynamic linking now seems to be fully functionnal,
...
even for program with a DSO using overlapping load virtual addresses.
The fix is a mean hack, see the comments in irix_syssgi.c. It would be nice to
get uvm_map_findspace() to return the page we suggest instead of the page which
is 16384 bytes away.
2002-02-02 19:27:18 +00:00
gson
fe2fc5699c
Fix the bcea redefinition issue in a different way: instead
...
of removing the duplicate variables, make sure that any duplicate
variable that has an initial value in libsa also has an initial
value here; this keeps the linker from pulling in the libsa
definition.
2002-02-02 18:53:12 +00:00
jdolecek
f32b3f4f89
Reduce the massive code duplication regarding joy(4). Split it into
...
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
2002-02-02 18:37:38 +00:00
jdolecek
34b1784adf
enable the joystick port on attach, too
2002-02-02 18:10:28 +00:00
bjh21
043db35f0a
cpu_cache_syncI_rng -> cpu_icache_sync_range
2002-02-02 16:53:39 +00:00
bjh21
c738201135
We shouldn't need an icache sync when catching a signal, so don't bother.
2002-02-02 16:52:45 +00:00
bjh21
2667358f8e
Get rid of "unused variable" warnings on arm26.
2002-02-02 16:30:28 +00:00
drochner
711fef427b
install intr.h
2002-02-02 12:27:01 +00:00