simonb
6b6e4f4f60
Simplify include files that just include <mips/locore.h>.
2002-06-05 06:18:34 +00:00
simonb
8492ceb1ff
White space nits.
2002-06-05 06:09:28 +00:00
simonb
db50a069f8
Remove an ELF-related comment that isn't needed any more.
2002-06-05 06:02:52 +00:00
simonb
2100183aff
For the CP0 status register bit definitions- add the MX, PX and NMI bits
...
and rename TLB_SHUTDOWN and SOFT_RESET to TS and SR (the abbreviations
in the MIPS documentation).
XXX: this file really needs to be cleaned up one day...
2002-06-05 05:56:48 +00:00
mhitch
aa39671913
Setting chipmem_start and chipmem_end to the same value (size of chip
...
memory) greatly confuses the chip memory allocator and can prevent
some systems from even starting the kernel. Remove the initialization
of chipmem_start (it's initialized in locore.s).
2002-06-05 04:29:30 +00:00
fredette
f4f0d8a310
Added files to support generic HP PA-RISC based machines. hp700-specific
...
files to follow.
2002-06-05 01:04:18 +00:00
uwe
cbb23a42ca
Fix phys->pci memory pass-through mapping.
...
While here, correct wording in a comment.
2002-06-05 00:23:01 +00:00
ragge
e2718cabea
Do not disable interrupts until output queue is drained.
2002-06-04 21:58:55 +00:00
thorpej
04076e5943
Make this work with an ISO C preprocessor.
2002-06-04 21:44:40 +00:00
thorpej
d941ddfee0
Don't use -traditional-cpp if HAVE_GCC3.
2002-06-04 21:39:09 +00:00
ragge
c691ddb3fb
Repair VAX8600 support, which had bit-rotten, probably not used since -98.
2002-06-04 19:04:32 +00:00
fvdl
e4eac0d964
Fix rdtsc and rdpmc inlines, and fixup rnd.h to do the right thing.
2002-06-04 17:52:46 +00:00
fvdl
9c71037485
Remove all i386 host bridges, as they don't apply. Remove pchb_rndattach
...
call for now (may be back later).
2002-06-04 17:51:30 +00:00
fvdl
99193cfa98
Woops, pass the correct argsize to ktrsyscall.
2002-06-04 15:45:05 +00:00
fvdl
ab19cd2899
Clear P_32 on native exec (from eeh in the sparc64 port).
2002-06-04 15:44:34 +00:00
ragge
2f48a39412
Need longer delay while waiting for mscp packets, otherwise it times out
...
on VAX8650.
2002-06-04 15:13:55 +00:00
eeh
4ff7000d80
Fix the fork trampoline to properly use the supplied tstate.
2002-06-04 15:04:08 +00:00
eeh
abb7b6a965
Clear the P_32 flag when exec-ing native binaries.
2002-06-04 14:48:09 +00:00
eeh
587856dfdd
Make the code that matches boot devices much more flexible so it handles
...
device classes as well as funny names for matching. This should allow
us to properly recognize we're booted from a SCSI disk on a PCI controller.
2002-06-04 14:44:34 +00:00
fvdl
c029f886c8
Propagate P_32 flag on fork. Use correct trampoline for 32bit return.
2002-06-04 12:58:13 +00:00
fvdl
2c7bad720d
For 32bit execs, frob the stackframe to return via the old system call
...
return path.
2002-06-04 11:14:21 +00:00
fvdl
90c2a2ddc1
Fix up argument passing to ktr_syscall.
2002-06-04 11:12:18 +00:00
simonb
4a852aed2d
Add smbus@sbobio and rtc@smbus.
2002-06-04 08:35:05 +00:00
simonb
f4e42e7eb6
Add an extremely rough SMBus handler and RTC driver. This will be
...
cleaned up significantly when we have an MI SMBus framework, but at
least we can see the RTC on the swarm now.
2002-06-04 08:32:41 +00:00
simonb
349831dcf6
Use "cpu*" and not "cpu0" to attach all CPUs.
...
Add PROCFS and fix a whitespace nit while we're here.
2002-06-04 05:53:31 +00:00
simonb
a1572a6b96
Match all possible CPUs, but print warnings that the processors after
...
the first are offline due to the lack of SMP support in the kernel.
2002-06-04 05:49:26 +00:00
simonb
9cc65a96d0
3 ports are now using the reciprocal count divisor code now, move it
...
to <mips/cpu.h>, and add MIPS_SET_CI_RECIPRICAL and MIPS_COUNT_TO_MHZ
macros to use it.
2002-06-04 05:42:41 +00:00
fvdl
01fbe9c413
Drink the swapgs kool-aid.
...
Enable the use of syscall/sysret as the default system cal entry
point.
2002-06-03 18:23:16 +00:00
fvdl
619aaa1337
Set COPTS to -O by default.
2002-06-03 18:18:43 +00:00
eeh
30cc4dc796
Pass on the P_32 flag on fork and support fork syscall returns using
...
%g7 as the completion address.
2002-06-03 18:08:43 +00:00
simonb
8b4906e391
Add prototypes for the 64-bit pagezero functions.
...
Bracket some function prototypes with #ifdef/#endif.
2002-06-03 01:51:05 +00:00
fredette
bcd8676e8a
Reverted previous commit. It was meant to fix a problem that
...
was already fixed by nathanw, had I bothered to check.
2002-06-03 00:56:55 +00:00
fredette
e0b7d8c222
Now make a machine/ directory with symlinks to a small number
...
of machine-specific headers. When ${MACHINE} is sun2, this
allows building the sun3 and sun3x parts of libsa, which need
things like <machine/param3.h> and <machine/param3x.h> to be
#includeable.
2002-06-03 00:29:04 +00:00
fredette
180293c7b7
exit() is now declared in libsa's stand.h, and takes an int.
2002-06-03 00:18:26 +00:00
drochner
d2b9876081
move initialization of the "struct pglist" returned by uvm_pglistalloc()
...
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
lukem
06de426449
SIMPLEQ rototill:
...
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
bjh21
b3dd6235ca
Since we don't have a wsmouse attachment for the ARM7500 PS/2 mouse, turn
...
on the pre-wscons device for it instead. This allows X to work on my NC.
2002-06-01 23:43:48 +00:00
bjh21
40a8771d1e
Using -N (OMAGIC) when linking the kernel seems to avoid BtNetBSD's doing
...
stupid things when loading it on an NC, so do that. Fixing (or replacing)
BtNetBSD would be better, of course.
2002-06-01 23:24:15 +00:00
simonb
339203767f
Remove some unused debug cruft.
...
Only print out the registers passed to us from CFE #ifdef DEBUG.
2002-06-01 16:14:23 +00:00
simonb
dbae8649c2
Remove the unneeded early memsize/physmem calculations.
...
KNF, ANSIfy.
2002-06-01 16:12:01 +00:00
ragge
7a69e342b6
Add 11/780 and 8600 to list for who to create a RPB.
2002-06-01 15:33:22 +00:00
simonb
9f6638d8c1
Add statclock and todr function arguments to the systemsw.
...
Add a system_set_todrfns() function.
2002-06-01 14:38:27 +00:00
simonb
e8aaf3c28b
Stop using the _MIPS_BSD_API_LP32_64CLEAN ABI. This causes a few problems
...
and it's easier/better to wait for true N32/N64.
2002-06-01 14:29:32 +00:00
simonb
4cb13fbec6
There's two SMBuses in the BCM1250; list them both on the on-board device
...
list.
Get rid of some magic numbers.
2002-06-01 13:56:56 +00:00
simonb
51a91ebabb
KNF; make some function static; other minor cleanups.
2002-06-01 13:55:48 +00:00
simonb
1e10b4d4ad
Split USE_64BIT_FUNCTIONS into USE_64BIT_INSTRUCTIONS and
...
USE_64BIT_CP0_FUNCTIONS.
Add 64-bit pagezero function.
2002-06-01 13:52:23 +00:00
simonb
341ed8c0d3
Use CPU_MIPS_USE_WAIT and CPU_MIPS_NO_WAIT in the CPU table, and use
...
the generic name "mips_wait_idle" for the old function that had both
rm52xx_idle and mipsNN_idle entry points.
2002-06-01 13:45:45 +00:00
simonb
3611959ac8
Remove some unnecessary nops after some mfc0's.
2002-06-01 13:16:44 +00:00
simonb
cf5f852d1c
Standardise on the name "MIPS_SR_BEV" instead of a couple of different
...
#defines for the same status bit.
2002-06-01 12:27:03 +00:00
simonb
5b5cc1ebb8
Add two new cpu capability flags: CPU_MIPS_USE_WAIT for CPUs that use a
...
"wait" instruction based cpu_idle(), and CPU_MIPS_NO_WAIT for specific
CPUs that don't use this (applicable to mips32/64 mainly).
2002-06-01 12:10:45 +00:00
simonb
d75c18b050
Use the current MIPS in_cksum for in4_cksum too.
2002-06-01 11:41:33 +00:00
itojun
937b671271
use exit(int), not exit(void), consistently - even if the arg has no meaning.
2002-06-01 11:40:31 +00:00
simonb
e5aff46bc6
Add evbmips and sbmips.
2002-06-01 09:37:30 +00:00
tsubai
5fcd112b3a
Add gcc 3.x version.
2002-06-01 09:22:44 +00:00
nathanw
23d9c4fc27
Explicitly include <arch/sun3/include/param3{,x}.h> rather than
...
<machine/param3{,x}.h>, so that this file can be included on non-sun3 builds.
2002-06-01 06:20:37 +00:00
thorpej
c49ac7a5a6
Use __mips__ instead of mips.
2002-05-31 21:43:49 +00:00
thorpej
e50420de38
Statements must follow labels.
2002-05-31 21:40:49 +00:00
thorpej
144cc23985
Use __mips__ instead of mips.
2002-05-31 21:19:03 +00:00
thorpej
80f6433965
Fix printf format issues.
2002-05-31 21:09:03 +00:00
thorpej
698df788fc
Add -ffreestanding.
2002-05-31 20:57:41 +00:00
thorpej
fca656f5b2
Don't use multi-line string literal.
2002-05-31 20:52:14 +00:00
kleink
0bf753ef67
Cosmetics: there are exceptions to the PVR major/minor rule.
2002-05-31 20:10:45 +00:00
thorpej
10e4eb9d0b
Make this work with an ISO C preprocessor.
2002-05-31 20:01:28 +00:00
thorpej
9e383c402e
Use C-style comments in a few places where ' appears in the comment,
...
so that this works with GCC 2.95.3's ISO C preprocessor.
2002-05-31 19:59:00 +00:00
thorpej
969c677abf
Remove redundant (and incorrect) extern decl.
2002-05-31 19:49:42 +00:00
thorpej
28afbb384c
Build with -ffreestanding.
2002-05-31 18:26:26 +00:00
thorpej
6ef955a02d
Make this work with an ISO C preprocessor.
2002-05-31 18:22:54 +00:00
thorpej
3a00c62229
Move the IDTVEC() macro to <machine/asm.h>, and make it work with
...
an ISO C preprocessor.
2002-05-31 18:07:31 +00:00
thorpej
a5baff6d08
Add an __unused__ attribute to n_support and n_lower, since they are
...
unused if a kernel supports all CPU families.
2002-05-31 17:46:51 +00:00
ragge
f811a80bc3
Handle machine checks separate from other "stray" interrupts.
2002-05-31 15:58:26 +00:00
ragge
787f3adbcf
ALIGNENTRY must always be 0 on vax, otherwise loadfile_aout won't work.
2002-05-31 15:22:01 +00:00
kleink
46b946bc5f
Fill in real cache size/organization information and recolor; currently
...
doesn't make a difference except for the 604e.
XXX Does not consider L2 caches yet.
2002-05-31 15:04:14 +00:00
bjh21
54f310b7ce
Use ${PRINTOBJDIR} rather than rolling our own. This makes parallel
...
builds work properly.
2002-05-31 13:46:00 +00:00
toshii
f98f1c4df5
Add a missing config_hook_init call.
2002-05-31 13:43:28 +00:00
bjh21
31e94b1399
Insert .WAIT between libsa and boot so that parallel builds have a chance
...
of working.
2002-05-31 13:42:25 +00:00
augustss
e916f073c3
Add bus_space_vaddr().
2002-05-31 11:31:30 +00:00
augustss
fb0ca293ff
Add some.
2002-05-31 11:13:23 +00:00
augustss
301d69b351
Remove some devices.
2002-05-31 11:03:53 +00:00
augustss
c838cc089e
Don't use IPL_AUDIO.
2002-05-31 11:00:38 +00:00
augustss
81dc1093c0
Don't define IPL_AUDIO since there's no splaudio().
2002-05-31 10:53:34 +00:00
augustss
f87ec98c88
Add some device, remove some devices.
2002-05-31 10:46:33 +00:00
thorpej
002ed08e32
Fix 2 sequence point errors.
2002-05-30 22:43:07 +00:00
thorpej
c40766dbee
Add missing "__volatile" to the declaration of enable_reg_soft (the
...
extern decl in enable.h already has volatile).
2002-05-30 22:40:31 +00:00
nathanw
343166210e
Always build the m68000 math routines, since we compile libsa in m68000 mode.
2002-05-30 22:33:12 +00:00
nathanw
88591a36d8
#include <arch/sun3/include/param.h>, not param3x.h, so that we get
...
appropriate multiple-inclusion protection. The #define _SUN3X_ ensures
that param3x.h is included by param.h.
2002-05-30 22:31:57 +00:00
thorpej
78bfb83bf6
Don't use multi-line string literals.
2002-05-30 22:25:51 +00:00
thorpej
2b20452bf1
Statements must follow labels.
2002-05-30 22:19:11 +00:00
thorpej
5da14150ab
Don't include macro params when #undef'ing it.
2002-05-30 22:11:14 +00:00
thorpej
3a536c1642
Make this work with an ISO C preprocessor.
2002-05-30 22:04:55 +00:00
thorpej
d0e990fcad
Get rid of the XDEFS thing; the new toolchain provides a proper
...
cross compilation environment.
2002-05-30 22:02:13 +00:00
thorpej
6edcabc59d
Fix a typo (#ifdef defined(...))
2002-05-30 21:58:56 +00:00
thorpej
203bc161ae
Don't use multi-line string literals.
2002-05-30 21:51:28 +00:00
thorpej
f4e7583fb8
Make this work with an ISO C preprocessor.
2002-05-30 21:49:20 +00:00
thorpej
e0f6041809
Don't use multi-line string literals.
2002-05-30 21:47:25 +00:00
thorpej
66a9d33599
Don't use multi-line string literals.
2002-05-30 21:36:38 +00:00
thorpej
a36957a2dd
Don't use multi-line string literals.
2002-05-30 21:27:41 +00:00
thorpej
9c144a7b82
- Don't use multi-line string literals.
...
- Statements must follow labels.
2002-05-30 21:26:13 +00:00
thorpej
1f374d20b5
Don't use multi-line string literals.
2002-05-30 21:20:41 +00:00
thorpej
34820075d5
Statements must follow labels.
2002-05-30 21:09:54 +00:00
thorpej
85af08accf
Remove an unnecessary (and undefined, due to lack of a sequence point)
...
assignment.
2002-05-30 21:00:23 +00:00
thorpej
9a97f023a3
Fix undefined operation (= is not a sequence point).
2002-05-30 20:56:26 +00:00
thorpej
2335982213
Remove unnecessary assignments (for which the operation may be
...
undefined).
2002-05-30 20:28:27 +00:00
thorpej
8f0c98bbe2
Statements must follow labels.
2002-05-30 20:03:27 +00:00
thorpej
763a08c0dc
Put the __unused__ attribute one some unused kbd maps.
2002-05-30 20:02:24 +00:00
augustss
c2ed70bddf
Add missing files to the pmppc port.
2002-05-30 20:02:03 +00:00
thorpej
3d13a6c10b
Don't include params on macro when #undef'ing it.
2002-05-30 19:59:36 +00:00
thorpej
9ba5027914
Nuke a trigraph.
2002-05-30 19:52:52 +00:00
thorpej
b208a0fd3f
Regenerate.
2002-05-30 19:45:49 +00:00
thorpej
efde83a1fd
Tweak a comment so that it doens't turn into a trigraph if
...
the config file is included in the kernel source.
2002-05-30 19:45:15 +00:00
thorpej
cc938a1daf
Account for changes to struct partition.
2002-05-30 19:03:50 +00:00
thorpej
c26e1749fc
Add -ffreestanding to CFLAGS.
2002-05-30 18:35:08 +00:00
thorpej
1768ff83e0
Don't use multi-line string literals.
2002-05-30 18:32:18 +00:00
thorpej
1964f8446c
Make this work with an ISO C preprocessor.
2002-05-30 18:30:17 +00:00
nonaka
79e01c5f6f
Support IBM RS/6000 43P 7043-140.
2002-05-30 16:10:03 +00:00
eeh
0ef5e0455e
Automagically install symbols and generate a loadable binary image when
...
building a kernel rather than as a separate target.
2002-05-30 15:24:57 +00:00
eeh
fb36aee628
Add an INSTALL kernel with DEBUG and space for a miniroot.
2002-05-30 15:23:09 +00:00
eeh
4992f2adc9
Make this more GENERIC.
2002-05-30 15:22:16 +00:00
eeh
6230497489
Add cardbus support in case someone has a PCI->cardbus card.
2002-05-30 15:21:24 +00:00
augustss
1cad75290c
Remove extra lines.
...
Fix some comments.
2002-05-30 09:08:51 +00:00
augustss
1331023854
Add some files for the Artesyn PMPPC board. This is a PowerPC based
...
Mezzanine PCI board.
NOTE: this is not yet all the files needed for the port.
2002-05-30 08:51:06 +00:00
greg
5004b7788d
Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
2002-05-30 01:44:59 +00:00
fvdl
cec79c16b4
Include sys/types.h or u_int*
2002-05-30 00:36:42 +00:00
fvdl
b16e023917
Enable syscall/sysret insn use. They have the potential to lead to
...
a faster system call path (but currently won't be much faster).
Signal trampoline to be converted.
Rename eflags -> rflags where appropriate.
2002-05-28 23:11:38 +00:00
fvdl
8b277a3d68
Add definition for CPU-private data (in a remapped page in the data
...
segment). Somewhat of a kludge to be able to switch stack pointers
in in the syscall entry point without clobering a register, avoiding
the terror of 'swapgs'.
2002-05-28 23:09:36 +00:00
fvdl
cfe60d7a95
Shuffle order of selectors around to appease syscall/sysret (bah).
2002-05-28 23:07:35 +00:00
fvdl
92f44882b8
rdmsr/wrmsr don't have 64 bit versions, fix the inline functions.
2002-05-28 23:06:28 +00:00
bjh21
07db2878a8
Use ${FGEN} rather than fgen.
2002-05-28 21:56:54 +00:00
nathanw
800bc79f00
Descend into sun68k for sun3 builds.
2002-05-28 21:11:04 +00:00
nathanw
4de762cb8f
Remove in favor of sun68k/stand.
2002-05-28 21:06:04 +00:00
nathanw
4e25c99464
Remove in favor of sun68k/stand
2002-05-28 21:05:23 +00:00
nathanw
29f364076e
Don't descend into stand; it is being deprecated in favor of sun68k/stand.
2002-05-28 21:02:03 +00:00
bjh21
23f7ce3522
.WAIT after building libbug and libsa, and before building anything that uses
...
them.
2002-05-28 19:34:15 +00:00
bjh21
0d79902e3f
Use ${PRINTOBJDIR} rather that rolling our own.
...
This prevents parallel builds passing "--- xxx ---" (which make prints to
indicate it's building target "xxx") to ld.
2002-05-28 19:32:42 +00:00
bjh21
446be066e9
Use #if 0 for commenting out multiple lines, rather than dodgily-nested
...
comments (about which GCC warns).
2002-05-28 19:09:38 +00:00
tron
0f15ab8163
Remove senceless benchmark loop for i8xx hardware random generator
...
attach code. The throughput was neither calculated nor displayed.
2002-05-28 17:25:43 +00:00
tron
94d3fd0f89
Add hardware random generator support for Intel i845, i850 and i860
...
chipsets.
2002-05-28 17:23:07 +00:00
scottr
fe6c8f5812
Mark kernel text read-only, except for the low memory variables used by
...
the Macintosh ToolBox. Originally committed in rev 1.273.
2002-05-28 17:00:16 +00:00
scottr
f55aa726f8
Add entries for remaining PowerBook Duo models originally
...
committed in rev 1.273.
2002-05-28 16:57:02 +00:00
scottr
be52d514c6
Back out unintended changes from previous commit.
2002-05-28 16:53:24 +00:00
bjh21
40d80d8c16
Add support for LIBSA_NO_FS_CLOSE, LIBSA_NO_FS_WRITE, LIBSA_NO_FS_SEEK and
...
LIBSA_NO_TWIDDLE.
LIBSA_NO_FS_SYMLINK is irrelevant here, and LIBSA_FS_SINGLECOMPONENT would
be pointless.
2002-05-28 14:38:55 +00:00
simonb
2fa75d0170
Need to include <machine/intr.h> here with old native toolchain; not sure
...
what the difference was between this and newer gcc/binutils.
2002-05-28 10:11:26 +00:00
haya
de6fbd495c
Bugfix: add character device #62 in chrtoblktbl[].
2002-05-28 10:01:23 +00:00
lukem
9d8552460f
add puc, and com & lpt at puc
2002-05-27 23:58:52 +00:00
lukem
a0336432b3
add lpt_puc support (from files.i386)
2002-05-27 23:41:33 +00:00
bjh21
1d76b4db4b
1.4: get_page() abstracted.
2002-05-27 20:18:56 +00:00
bjh21
c489f6804b
Add a function, get_page(), whose job is to find which logical page should
...
be used to load a given physical page. At the moment, this just returns
the page's current logical mapping, but in future it might handle returning
bounce pages for physical pages which are in use, and copying to the correct
page just before loading the kernel.
2002-05-27 20:17:11 +00:00
ragge
bb2b3afc9a
Read correct Ethernet address on VXT2000.
2002-05-27 17:32:01 +00:00
ragge
97b3433515
Use correct ethernet address address on VXT2000.
2002-05-27 16:54:18 +00:00
jdolecek
d02e4285f9
bump ramdisk size, 2M isn't enough
2002-05-26 18:13:56 +00:00
jdolecek
a14bf4ee89
update comments
2002-05-26 12:53:22 +00:00
jdolecek
2f8917ee1b
regen (RCS Id fix)
2002-05-26 12:52:27 +00:00
jdolecek
64efb25dc0
remove space in generated NetBSD RCS Id
2002-05-26 12:51:55 +00:00
jdolecek
b69489fb3b
pregenerate grf_ultms.c, so that gspa isn't needed during kernel build
2002-05-26 12:47:41 +00:00
fvdl
5659e1960c
Remove use of pcb_fs and pcb_gs.
2002-05-26 12:19:38 +00:00
fvdl
f6d35976a9
Remove fs and gs fields.
2002-05-26 12:08:49 +00:00
bjh21
fb65355d04
Remove #ifdef NC stuff, syncing with iomd/todclock.c.
2002-05-26 12:07:55 +00:00
fvdl
1371b7fb28
Don't stuff fs and gs in the PCB, they need to be dealt with in
...
the trapframe.
2002-05-26 12:07:40 +00:00
simonb
178eb5321c
Fix previous so that the constants are outside of the #ifdefs such that
...
they are actually compiled(!).
2002-05-26 07:37:08 +00:00
fvdl
66f94c684f
Move the kernel to the upper 4G of virtual address space and use
...
-mcmodel=kernel.
2002-05-26 00:23:49 +00:00
jmcneill
2f2e418115
Add explanation for PMS_DISABLE_POWERHOOKS, as requested by hubertf.
2002-05-25 17:05:33 +00:00
ichiro
4c034ead9b
make compile when define DEBUG
2002-05-25 07:58:35 +00:00
simonb
4e7ebf2dd2
Include <machine/intr.h> here.
2002-05-25 04:30:16 +00:00
simonb
efd6a59812
Move IPL/spl interrupt code to intr.h; this include file is expected to
...
exist in some networking code.
2002-05-25 04:27:21 +00:00
simonb
1f3bc4331e
Make infty, snan and qnan externs and declare in ieee_handler.c.
...
Add an empty statement after a goto label to keep gcc-current happy.
2002-05-25 03:54:36 +00:00
simonb
648246d46a
Add an empty statement after a goto label to keep gcc-current happy.
2002-05-25 03:45:12 +00:00
ragge
7259fa6a37
%d -> %ld in some debug messages, after the ELF switch.
2002-05-24 21:41:40 +00:00
ragge
4d559e645f
Boot support for the VXT2000 X terminal, based on some info on the VAXLinux
...
mailing list.
2002-05-24 21:40:59 +00:00
briggs
2070a8bccc
Only attempt to handle mapping IDE interrupts if we are in SERIAL mode.
2002-05-24 15:47:17 +00:00
lukem
adc470b96d
only include scsi support if NSCSIBUS > 0
...
fixes sun2 (and probably sun3) DISKLESS kernel build
2002-05-24 09:51:07 +00:00
leo
65dd34362f
Fix typo.
2002-05-23 14:59:28 +00:00
leo
1babc14d15
Fix the siron()/siroff() macro's. They were using a too loose contraint
...
that made the wd-driver fall over on kernels compiled with the latest
assembler. The macro;s now use the single_inst_*() functions so there
are less places to go wrong here next time...
2002-05-23 06:46:20 +00:00
leo
3f3c4827e0
Update md config:
...
- md0 -> 1MB image on a 720KB floppy
- md1 -> 1.44MB image on a 720KB floppy
- md2 -> 1.44MB image on a 1.44MB floppy
2002-05-23 06:39:32 +00:00
leo
4393af0b6d
regen.
2002-05-23 06:32:42 +00:00
leo
2ad2395021
Remove the 'ex at pci' driver. The ex driver does not work with the
...
3c900-COMBO card at the moment. Something is wrong with DMA.
2002-05-23 06:30:32 +00:00
leo
5d6a896647
Force the absolute jump in a more elegant way. Suggested by Jaromir Dolecek.
2002-05-23 06:08:40 +00:00
nathanw
eb5a18d259
Deliberately #include the appropriate arch-specific param.h to get
...
the correct value for NBSG, even when building with a different sun68k
target.
2002-05-23 03:50:37 +00:00
gmcgarry
da51df2271
Clarify comment: cpu_startup() doesn't do autoconfiguration.
2002-05-23 03:05:30 +00:00
briggs
f03fce66ce
Fix odd typo from addition of pba_bridgetag.
2002-05-22 23:54:14 +00:00
bjh21
205186731b
Substantial overhaul of podule IDs. Unlike on PCI or USB, podule IDs are
...
assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all
manufacturers. This means that associating each one with a manufacturer (and
checking the manufacturer when attaching) is bogus. Thus, we don't do that
any more.
This should have the pleasant side-effect of getting APDL IDE interfaces
working, since they're just ICS ones with a different manufacturer ID.
2002-05-22 22:43:13 +00:00
bjh21
6d59ad5ec5
Add podule_readcmos(), for getting the CMOS configuration for a podule.
...
Only implemented on acorn26 for now, but the acorn32 implementation should
be pretty much identical.
2002-05-22 22:13:12 +00:00
thorpej
d4260bb037
Back out an unintended change.
2002-05-22 19:06:23 +00:00
uch
ba28fa4dc2
change disklabel to
...
16 partition.
no bsd area of the disk.
2002-05-22 15:01:33 +00:00
drochner
7a829b7e85
-Subtract vm_map_min(kernel_map) from kernel virtual addresses to get offsets
...
into kernel_object where this was missing.
(important here because VM_MIN_KERNEL_ADDRESS != 0)
-add some diagnostics
-eliminate some differences to other Utah derived pmaps
2002-05-22 14:34:26 +00:00
drochner
60b6f587bc
Subtract vm_map_min(kernel_map) from kernel virtual addresses to get offsets
...
into kernel_object where this was missing.
This is a no-op on ports where VM_MIN_KERNEL_ADDRESS==0, ie all but
cesfic.
Confirmed and corrected by Chuck Silvers.
2002-05-22 14:29:23 +00:00
manu
c56a07ad1c
Added an irix_machdep.h (in the future, COMPAT_IRIX will be available on
...
several MIPS architectures)
2002-05-22 04:59:45 +00:00
rafal
3ac921616c
Make sure to read from stdin, not stdout. From Scott Taylor.
2002-05-21 21:53:35 +00:00
rafal
722dca8509
Turn kernels into ecoff as well by default.
2002-05-21 21:01:34 +00:00
rafal
a5a7e0f25c
Add RAMDISK kernels for installation.
2002-05-21 21:00:35 +00:00
tsutsui
4a46bc7dbc
boot block info stuff is now in MI <sys/bootblock.h>.
2002-05-21 16:11:11 +00:00
scottr
91087ff57e
Don Bruder's extensive debug output provided in PR 16907 showed that
...
intvid didn't find the frame buffer on his PB 170 in NetBSD 1.5. This is
because the PowerBook 140/145+145B/170 entries in intvid_info[] were
entered into the table directly from the corresponding hardware tech
notes. Unfortunately, the actual frame buffer is mapped at an offset
of 32 KB from the base of the region (at least when in 32-bit mode).
Since all 4 of these systems have identical video configurations, I'm
updating the rest to match.
2002-05-21 07:05:31 +00:00
manu
17f9f77621
Filling tables for device 62 (irix_usema) where it was missing
2002-05-21 06:35:08 +00:00
jdolecek
9caf54f80a
readdisklabel(): fabricate sane default disklabel in case there isn't
...
any on the disk
Implemented by Christian Limpach, sent in port-next68k/16929.
2002-05-20 20:49:16 +00:00
jdolecek
89924fe79b
Fix race condition between the DMA handler (which gets called
...
on spldma), and rest of driver/network code (which runs on splnet) in way
if->if_snd queue is accessed. Solve by using intermediate queue.
Problem found, and fix provided by Christian Limpach in port-next68k/16798
2002-05-20 20:19:36 +00:00
jdolecek
56eb55e177
Adapt this to post thorpej-scsipi world.
...
Fix provided by Christian Limpach in port-next68k/16928.
2002-05-20 18:03:03 +00:00
jdolecek
a36ba752c5
Check for zsc properly, and fix typo in #include.
...
Pointed out, and patch provided by Christian Limpach in private e-mail.
2002-05-20 17:55:46 +00:00
lukem
854c067af6
Update to <sys/bootblock.h>'s shared_bbinfo.
...
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 14:12:23 +00:00
lukem
f35d18a7da
Update to <sys/bootblock.h>'s shared_bbinfo.
...
From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
2002-05-20 14:05:22 +00:00
mhitch
d4b541239a
The second-stage boot loader, boot.amiga, uses the default command in the
...
boot loader image. Installboot can modify the default command in the
first-stage bootblocks, which will have no effect. Copy the default command
from the first-stage bootblock into the second-stage bootloader so modifying
the commandline with installboot actually works again.
2002-05-20 05:58:45 +00:00
scottr
c3abd2f233
From John Klos, originally committed to the amiga port:
...
Updated NKMEMPAGES_MAX_DEFAULT so that large memory systems won't crash
when allocating/deallocating lots of memory at once.
2002-05-20 05:28:11 +00:00
scottr
ed8eb9970b
SMALLRAM is an effective replacement for the SPOT and MYSTERY configs,
...
which are IIcx and IIx machines with not much RAM, respectively.
The PUMA config is configured somewhat optimally for one of Allen's
Quadras but doesn't do anything special as compared to SMALLRAM.
2002-05-19 22:01:01 +00:00