scw
45eb1758c0
Clean this up somewhat, and correct some bad offsets.
2002-09-05 09:53:17 +00:00
msaitoh
a991dcef11
Add __movstr_i4_{odd,even} for -m4.
...
Written by SHIMIZU Ryo.
2002-09-05 08:35:15 +00:00
petrov
3962bed888
compiler warning.
2002-09-05 08:02:29 +00:00
erh
5a02e1abe2
Adjust the check for what segments should go on the low priority free list.
...
If a segment starts exactly at 16M don't try to split it because that causes
the code to try to call uvm_page_physload with a zero length segment.
(kern/17199)
2002-09-05 02:43:00 +00:00
gendalia
18a1b84074
GIGO: garbage in, garbage out
...
SOP: standard operating procedure
TWIAVBP: the world is a very big place
2002-09-04 23:51:55 +00:00
tron
3237921cc3
Add new files installed by XFree86 4.2.1.
2002-09-04 22:56:21 +00:00
scw
fd955ca5d6
Make it plain to the compiler that __sigtramp_sigcontext_1() really is
...
an external function, instead of an array. Otherwise, it won't set
bit 0 of the trampoline's address to indicate SHmedia mode.
2002-09-04 21:44:07 +00:00
scw
891c86cef4
Use r4 to preserve the filedes pointer across the syscall instead of r3.
2002-09-04 19:19:07 +00:00
mycroft
1e06edb63b
There is no need to do an imb after each call to the binder, because we only
...
patch the GOT, not the PLT. However, do an imb when setting up the PLT thunk,
just in case.
2002-09-04 19:13:00 +00:00
junyoung
937e5f4f83
Previous commit broke the normal build; this should really fix the
...
problem, toolchain/18020. From Frederick Bruckman <fredb@immanent.net>.
2002-09-04 16:57:47 +00:00
martin
a9cd647f4d
Adapt to recent sbusvar.h changes.
...
Use a slightly less conservative timing configuration.
2002-09-04 16:17:52 +00:00
martin
e7856d0f2a
Adapt to sbusvar.h changes.
2002-09-04 16:12:23 +00:00
scw
570420748b
Need opt_kernel_ipt.h here.
2002-09-04 15:31:06 +00:00
scw
dd3511071d
Mondo pmap fixes, including a bunch of DEBUG stuff.
...
This still needs a bunch of work, but is good enough to get
us to single-user mode.
To paraphrase a quote from Short Circuit: "NetBSD/sh5 is alive!".
2002-09-04 15:30:12 +00:00
scw
94d1813039
Don't inlcude "opt_kernel_ipt.h" here.
...
Move KERNEL_IPT_SIZE inside _KERNEL check.
2002-09-04 15:26:29 +00:00
scw
ad5e71606f
Don't claim we can support a stat clock at this time; I still need to
...
sort out some clocking issues.
2002-09-04 15:18:14 +00:00
scw
4b8905020d
- #define the physical start of RAM.
...
- Set up a Panic Stack,
- Don't pre-map the sysfpga at this time.
- Calculate the CPU speed only if SH5_CPU_SPEED isn't defined.
- On a related note, make the CPU speed probing code more accurate.
- Print the CPU speed at startup.
- Force RB_SINGLE for now, at least until I get a bootloader written.
2002-09-04 15:14:46 +00:00
scw
e94347123e
Set SMC_FLAGS_32BIT_READ flag before calling the MI code.
2002-09-04 14:55:42 +00:00
scw
0dbf19c561
Add a flag, SMC_FLAGS_32BIT_READ, which is settable by the bus-specific
...
back-end to indicate that the device always sees reads as 32-bit
transactions, even if the host does 8 or 16-bit reads.
This is necessary for the SH-5 "Cayman" on-board ethernet. The SMsC part
is behind an FPGA which maps all cpu reads to 32-bits transactions.
2002-09-04 14:54:37 +00:00
scw
c5c693afff
Oops, free bus space via uvm_km_free() instead of pmap_kremove().
2002-09-04 14:39:56 +00:00
scw
7f0cd9b561
Some bug fixes:
...
- in _EXCEPTION_EXIT, copy the current ASID to the pre-exception
context before we switch.
- fix the pteg hash generation code and EPN masking in the tlb
miss handler.
Sprinkle some DIAGNOSTIC checks.
2002-09-04 14:37:53 +00:00
scw
8f18047310
Fix a couple of bugs:
...
- a && which should have been a &
- advance the PC to the next insn before dealing with a syscall (trapa)
Sprinkle some DEBUG/DIAGNOSTIC code.
2002-09-04 14:34:01 +00:00
jdolecek
ae25afd5a6
Do not get confused by empty MBR when gathering information for disk layout.
...
This fixes install/18153 by Johnny C. Lam.
Base for fix provided by Tyler Retzlaff. Tested by Tyler, Grant Beattie & me.
2002-09-04 14:22:20 +00:00
scw
5496168b35
In setregs(), set SF_FLAGS_CALLEE_SAVED in the new process' trapframe
...
to ensure the callee-saved set will be restored when we switch to it.
(It doesn't actually matter to the new process; it just inherits some
crud in those registers from the kernel if we don't set the bit).
Also ensure the strings pointer in r7 is sign-extended.
2002-09-04 14:13:28 +00:00
scw
99355049c8
Zap a couple of bugs caused by finger-trouble during initial development.
2002-09-04 14:04:28 +00:00
scw
e6913f183b
Ditch the 2*sizeof(void *) padding when setting up the child's kernel stack.
2002-09-04 14:02:47 +00:00
scw
348a751bf7
A bunch of fixes/simplifications to copyin/out and friends.
...
XXX: These are still the interim, unoptimised versions.
2002-09-04 14:01:24 +00:00
scw
adaa2cbf20
Don't bother setting SR.BL before double-checking a TLB entry. It's
...
sufficient just to set SR.IMASK to 0xf (which also allows single-
stepping through the code).
2002-09-04 13:58:36 +00:00
scw
987c8cb69b
When tracking movi/shori, don't discard the upper 32-bits before
...
printing in ILP32 mode. They still contain useful information.
2002-09-04 13:56:09 +00:00
abs
2cbe5b958f
Add back __attribute__() data for pstatus() removed by error in last commit.
...
Noted by wiz.
2002-09-04 13:49:20 +00:00
lukem
5c6c83e074
- remember failure condition after first compare_dir in do_postfix()
...
- add another todo item which i'll work on later
2002-09-04 13:05:27 +00:00
itojun
69bb32570a
postfix check (may need to do more). part of PR 18155
2002-09-04 08:00:01 +00:00
jdolecek
32fad21d27
regen: claim syscall slots for kqueue(2) and kevent(2)
2002-09-04 07:46:25 +00:00
jdolecek
281be34ad1
claim syscall slots for kqueue(2) and kevent(2)
2002-09-04 07:45:41 +00:00
itojun
37bd81ba1e
allow "deprecated" bit to be manually set. PR 18163
2002-09-04 07:22:28 +00:00
junyoung
9cc71f17e2
Fix a problem that 'make obj' doesn't work within tools/makewhatis.
2002-09-04 06:39:58 +00:00
jdolecek
4581b93651
Fix comments for #endif, to keep proper nesting and reflect reality.
...
Fixes kern/18162 by Roskens.
2002-09-04 06:34:21 +00:00
enami
caa54090d6
Add comment about my rev. 1.27 change.
2002-09-04 04:21:54 +00:00
itojun
5e8477f10f
correct integer overrun
2002-09-04 03:58:37 +00:00
itojun
98ba20f9e4
backout 1.78, ioctl(SIOCSIFADDR) is needed to test if the interface
...
supports AF_INET or not
2002-09-04 03:45:01 +00:00
mason
8b01de5e08
Commit with correct RCS IDs in these files - hadn't looked into them
...
previously to note that they reference the RCS ID in "pcmciadevs".
Hence, committed versions which incorrectly pointed back to the RCS ID
of the "pcmciadevs" that existed prior to my addition. Corrected in this
commit.
2002-09-04 02:21:09 +00:00
thorpej
467482eee8
Add support for memory-mapped PCnet-PCI chips.
2002-09-04 01:36:07 +00:00
matt
48bbf5f234
Use the queue macros from <sys/queue.h> instead of referring to the queue
...
members directly. Use *_FOREACH whenever possible.
2002-09-04 01:32:31 +00:00
wiz
0b87087d0c
"initialse" looks nice, but is not correct.
2002-09-04 01:12:03 +00:00
wiz
604d7cb2eb
implemented, not implementated; arbitrary, not arbritrary.
2002-09-04 01:07:12 +00:00
wiz
aae8095f40
completion, not completition; mark up errno; use \- instead of -.
2002-09-04 01:03:58 +00:00
wiz
c4beccd3bf
completion, not completition; use \- instead of -.
2002-09-04 01:03:24 +00:00
wiz
0822a37f3c
heavily, not heaviliy.
2002-09-04 00:59:44 +00:00
wiz
3c4b7573d6
initialize for consistency.
2002-09-04 00:47:12 +00:00
wiz
9b2aeac54a
Some more markup.
2002-09-04 00:41:40 +00:00