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
tsutsui
8cfcd66841
Regen; add Initio INIC-850/1060 SCSI and variants.
2002-02-02 11:58:28 +00:00
tsutsui
2f9238db1b
Add Initio INIC-850/1060 SCSI and variants.
2002-02-02 11:56:43 +00:00
tsutsui
8c857ca266
Regen; add HiNT Corp. HB1 PCI-PCI bridge.
2002-02-02 11:30:04 +00:00
tsutsui
3800e16a5a
Add HiNT Corp. HB1 PCI-PCI bridge.
2002-02-02 11:28:46 +00:00
augustss
6462ad0b3c
Fix typo so that 48kHz can be set. From Stephen Ma in kern/15456.
2002-02-02 11:18:42 +00:00
augustss
e16f901581
Make auich support variable rate codec, and suspend/resume.
...
From URA Hiroshi in PR kern/15431 (partly from OpenBSD).
2002-02-02 11:13:44 +00:00
takemura
6929f9f471
Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
...
port before auto configuration.
Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
2002-02-02 10:50:08 +00:00
tls
eeda20f137
Kick DEFAULT_MAXPTYS from 256 to 992
2002-02-02 07:18:55 +00:00
gehenna
5306945459
Add entry for ELECOM LD-USBL/TX
2002-02-02 06:04:46 +00:00
gehenna
604899daad
regen
2002-02-02 06:02:26 +00:00
gehenna
aa93973989
Add ELECOM LD-USBL/TX (ethernet adapter)
2002-02-02 06:00:56 +00:00
uch
7caec24d41
bootinfo.h, config_hook.h, platid.h are moved to hpc/include
2002-02-02 05:31:56 +00:00
gmcgarry
b7ac65ebe2
Use pmap_kenter_pa() for msgbuf
2002-02-02 04:17:37 +00:00
augustss
c0530aa288
Regen.
2002-02-02 02:29:49 +00:00
augustss
9df6e6d623
Add PhotoClip USB Camera (from FreeBSD).
2002-02-02 02:29:28 +00:00
thorpej
02d97c5caf
G/c FIQ stuff.
2002-02-01 22:27:12 +00:00
is
a4cfa723ac
regenerate: fix typo in card name string.
2002-02-01 22:04:02 +00:00
wrstuden
0dd5e345ea
Check in machinery to make ofwboot load at 600000, while ofwboot.elf
...
and ofwboot.xcf will load at 640000. The idea is that we can now
leave load-base at 600000, and it will work right for all three methods.
The problem is that the file loader and the net loader use load-base
as a scratch area, so if the executable really wants to load there,
the load fails.
2002-02-01 18:45:29 +00:00
uch
6edf1a4018
bootinfo.h, config_hook.h, platid.h are moved to hpc/include
2002-02-01 18:16:03 +00:00
uch
4202622d3c
if PCLOCK isn't setted, use estimated value calculated by kernel.
2002-02-01 17:52:54 +00:00