jdolecek
e6286b949a
Add some framework for MI assignment of device majors - add sys/dev/majors
...
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.
Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.
Follows recent discussion on tech-kern@
2003-10-05 08:04:24 +00:00
bsh
fba8e3e432
add -DCPU_S3C{2800,2410} for board/sscom.c
2003-10-05 06:58:26 +00:00
bsh
55f95bf493
move back get_com_freq() to sscom.c with #ifdef CPU_{S3C2800,S3C2410}
2003-10-05 06:57:20 +00:00
nsmrtks
991956a30c
print PC in stray interrupt
2003-10-05 02:00:16 +00:00
imp
6be55c3077
The Mobile Pro 780 is the same as the MobileGear II MC/R530. In fact,
...
its platform code is R530A. As such, the external video patches for
the R530 work for the '780. This gives a 640x480 video out (but only
the middle 240 pixels are used, to match the lcd resolution) on the
console and in X11.
2003-10-04 18:05:09 +00:00
chris
7aff502aa8
Add Experimental ELF support for cats. Only to be used if you feel daring
...
enough to run the ABLE firmware.
2003-10-04 15:43:05 +00:00
chris
1961c764a1
Fix booting from ABLE on cats. Two problems fixed here:
...
1. ABLE sets the l1pt to use domain 3 for it's entries (no idea why) so to
cover all bases when setting the domain before the change to the new L1pt
become a client of all domains.
2. It seems that we setup the kernel entries without any access permission.
(note not sure that this isn't a bug) And rely on the control bits
containing either ROM or SYST enable. which allows access to pages without
access permissions set. We actually enable SYST when we do the full detect
of the CPU, but we don't detect the CPU till after the L1pt switch, which
we never make it past. Fix this by explicitly enabling the SYST bit in the
control register. rather than relying on the firmware to have dont the right
thing.
2003-10-04 14:28:28 +00:00
tsutsui
d788e7c9ec
- some KNF
...
- hz -> Hz in printf
2003-10-04 09:41:27 +00:00
tsutsui
d330e7b609
TAB/space cleanup.
2003-10-04 09:19:23 +00:00
junyoung
d1486d51cb
Rearrange instructions for better use of pipeline. This shaves off 0.5%
...
of time on interrupt/trap entry on my Athlon 1800.
2003-10-04 05:57:51 +00:00
petrov
3dd6a14153
ansify.
2003-10-03 07:50:12 +00:00
bsh
81227d1ae1
avoid compile error with GCC3, and add some comments.
2003-10-03 07:24:05 +00:00
hannken
2d5deed228
Make it compile (again) with DEBUG enabled. With SUN4 defined, segfixmask
...
was an u_long while whithout SUN4 it was an int.
Approved by: Paul Kranenburg <pk@netbsd.org>
2003-10-02 16:02:09 +00:00
simonb
106fc7cad0
White-space nit.
2003-10-02 13:53:49 +00:00
simonb
b73d5ee5b9
Use common m68k struct trapframe instead of rolling our own.
2003-10-02 13:53:08 +00:00
simonb
8d464a511c
Don't depend in libc, et al.
2003-10-02 13:52:07 +00:00
uwe
c313f02140
Whitespace nit.
2003-10-01 21:51:15 +00:00
simonb
457cdc6624
Quieten down lint a little with a /* LONGLONG */ comment.
2003-10-01 15:47:27 +00:00
mycroft
de16a50404
Enabling caching of the video memory, and preset the modified bits.
2003-10-01 06:14:57 +00:00
petrov
0545d82fe3
remove unused fastvec.
2003-10-01 02:01:20 +00:00
mycroft
e0933f24da
Some small cleanup -- make the base,limit values vaddr_t, not char*.
...
Also add some code that attempts to deal with C16_VIDEO interrupts, though it
does not seem to make my color slabs work again.
2003-10-01 01:25:06 +00:00
mycroft
5f4d907d3f
Add some debugging code to log intrstat history so I can track down stray
...
interrupts.
2003-10-01 00:07:48 +00:00
matt
86b06b2e50
Rearrange and with COMPAT_* properly
2003-09-30 21:45:09 +00:00
manu
2522a3f784
Build PowerPC again with _HAS_SIGINFO. Remove the ifdef on _HAS_SIGINFO
...
in the header file since all platforms supported by COMPAT_DARWIN now have it.
2003-09-30 21:04:54 +00:00
matt
8881697abd
Add -ffreestanding
2003-09-30 18:58:39 +00:00
mycroft
5e57353b7b
Add P1003_1B_SEMAPHORE.
2003-09-30 03:57:36 +00:00
thorpej
2652188cc4
New generic I2C framework. Supports bit-bang and "intelligent" I2C
...
interface controllers (of varying intelligence levels).
Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.
2003-09-30 00:35:30 +00:00
matt
de203a6459
Fix GCC3'ism's
2003-09-29 22:54:28 +00:00
matt
2298bf0a7a
trap.c: Set ksi.ksi_trap to frame->trap.
...
sig_machdep.c: Use ksi->ksi_addr in compat code to supply the
'code' argument to the old signal routines.
2003-09-29 22:24:53 +00:00
matt
ec1689548e
Set ksi_addr to frame->code.
2003-09-29 22:20:52 +00:00
matt
050d126a03
Add SA_SIGINFO support for VAX.
2003-09-29 21:04:53 +00:00
tsutsui
e67b04670b
Remove '#' from if/endif, otherwise it fails on elf64 environment.
...
From Christopher SEKIYA.
2003-09-29 14:34:44 +00:00
wiz
37ac1db454
available, not avaliable. From miod@openbsd.
2003-09-29 09:50:21 +00:00
scw
960dfae23f
Define ELF32_MACHDEP_ENDIANNESS according to target byte order.
2003-09-29 09:08:20 +00:00
simonb
953b5b465b
Add a dependancy on assym.h; helps "make -j N" kernel builds.
2003-09-29 05:14:23 +00:00
junyoung
4c47dc9339
Fix typo in comments.
2003-09-29 04:03:55 +00:00
cl
e1614ccdf9
Cast through (void *) to appease gcc3.
2003-09-29 01:20:41 +00:00
cl
0dcee00de1
add register storage class for gcc3
2003-09-28 23:21:06 +00:00
cl
33c9599295
u_int short -> u_short for gcc3
2003-09-28 23:14:42 +00:00
cl
ce3867fe3b
Cast through (void *) to appease gcc3.
2003-09-28 22:56:58 +00:00
cl
212af23c55
Cast to (void *) to appease gcc3.
2003-09-28 22:00:26 +00:00
cl
096e210c5a
always use -traditional-cpp
2003-09-28 21:22:45 +00:00
cl
1ee8b0b19c
x68k has sc_events and not k_events in struct kbd_softc
2003-09-28 21:14:41 +00:00
cl
5701ee6c8e
catch up with const ksiginfo_t and const sigset_t
2003-09-28 21:12:26 +00:00
chs
ec439fca35
avoid hanging during autoconf if no mouse is attached. fixes PR 11111.
...
based on code from Christian Groessler.
2003-09-28 17:25:07 +00:00
tsutsui
1d11374304
Cast through (void *) to appease gcc3.
2003-09-28 13:02:18 +00:00
tsutsui
7f019aacfd
- Remove (commented out) options COMPAT_ULTRIX, which is not usable on mipseb.
...
- Fix (commented out) obsolete options MINIROOTSIZE.
- space/TAB cosmetics
2003-09-28 12:56:09 +00:00
martin
d15431449a
Include <compat/netbsd32/netbsd32_exec.h> to get the proper 32bit
...
sendsig etc. prototypes.
2003-09-28 10:27:25 +00:00
martin
220f7552d7
Ansify and add missing include.
2003-09-28 10:16:41 +00:00
tsutsui
6ca112843e
- Add MIPS_KSEG2_TO_PHYS() and MIPS_PHYS_TO_KSEG2() macro.
...
- Add definitions of the MIPS4 config register.
From Christopher SEKIYA.
2003-09-28 08:43:29 +00:00