simonb
8ca32cb009
Use -ffreestanding.
2003-10-08 01:36:19 +00:00
simonb
27fbee2ad2
Don't use multi-line strings (keeps gcc331 happy).
2003-10-08 01:35:49 +00:00
simonb
07704f0a5a
Use consistent type qualifiers for CPU1_alive (keeps gcc331 happy).
2003-10-08 01:33:54 +00:00
simonb
605b20c064
Use <lib/libkern/libkern.h> for str*() prototypes instead of the userland
...
header <string.h>.
2003-10-08 01:30:40 +00:00
simonb
b00f4b8b66
Remove tokens at the end of #undef.
2003-10-08 01:27:22 +00:00
thorpej
9ed3b44b84
Use ksi_signo and ksi_code accessor macros.
2003-10-08 00:40:54 +00:00
thorpej
68723a995b
* Shuffle some data structures so, and add a flags word to ksiginfo_t.
...
Right now the only flag is used to indicate if a ksiginfo_t is a
result of a trap. Add a predicate macro to test for this flag.
* Add initialization macros for ksiginfo_t's.
* Add accssor macro for ksi_trap. Expands to 0 if the ksiginfo_t was
not the result of a trap. This matches the sigcontext trapcode semantics.
* In kpsendsig(), use KSI_TRAP_P() to select the lwp that gets the signal.
Inspired by Matthias Drochner's fix to kpsendsig(), but correctly handles
the case of non-trap-generated signals that have a > 0 si_code.
This patch fixes a signal delivery problem with threaded programs noted by
Matthias Drochner on tech-kern.
As discussed on tech-kern. Reviewed and OK's by Christos.
2003-10-08 00:28:40 +00:00
fvdl
a7a118bf66
Backout previous for now, it breaks second CPU spinup. It'll be back later.
2003-10-07 21:47:57 +00:00
fvdl
9771ccbb32
Changes from Christos to fall back to MPBIOS for interrupt probing
...
if MPACPI fails, so that MPACPI can be used to only probe CPUs
if needed.
2003-10-07 18:10:36 +00:00
skd
8d474d5a86
Siginfo changes for alpha kernel. Approved by thorpej@netbsd.org.
2003-10-07 17:04:18 +00:00
tsutsui
608b19ae28
Use proper mips_dcache_{wb,inv,wbinv}_range() ops in dmamap sync function
...
if possible. Tested on my O2 (with r5ksc patch).
XXX should we apply similar changes to mips/bus_dma.c and use it?
2003-10-07 16:03:09 +00:00
tsutsui
fd316d7ac1
Use proper macros.
2003-10-07 14:37:06 +00:00
skd
6347eb786e
Support for proper siginfo FP codes. Also, set si_trap to fp status word.
...
Approved by fvdl.
2003-10-07 14:35:37 +00:00
ragge
4728b0483f
The last commit broke the boot code (memset may be larger than 64k).
...
Johnny Billquist fixed it and bugfixed some routines.
2003-10-07 12:01:27 +00:00
tron
ebbe253d6d
Add COMPAT_16.
2003-10-07 09:43:58 +00:00
uwe
576576bafb
Add definitions for IRR0 bits.
2003-10-07 01:24:32 +00:00
fvdl
b894e42a80
SIGINFO support.
...
Todo: 32bit compat support (COMPAT_NETBSD32 will not compile right now,
as it won't on other platforms).
2003-10-06 22:53:47 +00:00
shige
244b994892
Use xrtc driver on generic I2C framework instead of original xrtc
...
driver at src/sys/arch/evbppc/obs405/dev/x1226.c.
Remove todclock service.
2003-10-06 18:20:54 +00:00
scw
4eea84b735
Gah. Pick up the MI i2c headers from the right place.
...
Pointed out by Shigeyuki Fukushima on port-powerpc@.
2003-10-06 18:19:24 +00:00
shige
0af4acb526
Add Real time clock support code.
2003-10-06 18:15:08 +00:00
scw
2ba7642346
MD i2c glue for the 405GP's onboard IIC controller.
...
Bit-bang only for now.
2003-10-06 16:15:46 +00:00
thorpej
2c0d381bd7
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.
(NOTE: "cvs ci" was missed on this directory during the initial checkin
of the new I2C code.)
2003-10-06 16:11:19 +00:00
thorpej
2af80d899e
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.
(NOTE: "cvs add" was missed on this file during the initial checkin
of the new I2C code.)
2003-10-06 16:08:42 +00:00
thorpej
d322684f55
Add support for the i80312 and i80321 I2C controllers.
2003-10-06 16:06:05 +00:00
scw
bd61b1e9b3
Rename dsrtc to avoid clashing with the MI i2c ds1307 driver.
2003-10-06 16:04:15 +00:00
thorpej
df011fda1d
Make sure to pass mod/ref seeds with PMAP_WIRED.
2003-10-06 15:43:35 +00:00
he
c50a79523e
Include <string.h> for memset and memcmp prototypes.
2003-10-06 08:44:39 +00:00
pk
3de506eaf1
No need for SVR4/SunOS5 FPE_* codes as these are compatible with ours.
2003-10-06 07:10:41 +00:00
he
557593445b
Include libkern.h to get definitions for strcpy, strlen, and memset.
2003-10-06 06:41:45 +00:00
matt
0c7bac0672
Change headers to comply with the new toolchain changes.
2003-10-06 05:27:19 +00:00
lukem
420f3b76ba
Replace BP_* with I386_BP_FLAGS_*, for consistency with other stuff in
...
<sys/bootblock.h>
(CONSDEV_ should be converted as well, but that's more intrusive...)
2003-10-06 05:24:54 +00:00
simonb
ba957518fe
Whitespace nits.
2003-10-06 02:53:33 +00:00
thorpej
388386eef7
Make sure to pass mod/ref seeds with PMAP_WIRED.
2003-10-06 00:40:36 +00:00
he
a665876c87
Remove argument list from #undef of divrnd macro; fall-out from gcc3?
2003-10-06 00:04:55 +00:00
mycroft
a0ca611f94
Minor tweaks to the color framebuffer code -- still don't know what the deal
...
with the interrupt is.
2003-10-05 22:00:25 +00:00
pk
a9b14e04b8
sparc kernel support for SA_SIGINFO.
2003-10-05 21:13:23 +00:00
matt
73ca535921
Add SA_SIGINFO support for ARM (from Chris Gilbert).
2003-10-05 19:44:58 +00:00
tsutsui
61b40c3946
Update comment to follow the previous R4000 ID addtion.
2003-10-05 17:31:09 +00:00
tsutsui
779268c4cf
Define ELF2ECOFF here for native build.
...
(BTW, objcopy with OMAGIC kernel won't work on old pmax and sgimips machines?)
2003-10-05 16:53:15 +00:00
tsutsui
d1a36ee086
Include opt_mips_cache.h for options MIPS3_L2CACHE_ABSENT and
...
MIPS3_NO_PV_UNCACHED.
2003-10-05 16:38:03 +00:00
tsutsui
800933ed42
No need to include opt_mips_cache.h here.
2003-10-05 16:34:51 +00:00
tsutsui
086016d756
Add pcn at pci, tl at pci and tlphy, which I've confirmed working on O2.
2003-10-05 15:44:36 +00:00
tsutsui
b0cd3c8093
Apply a bunch of patches written by Christopher SEKIYA
...
(with several cosmetic changes by me) which fixes O2 (IP32) support.
Now my R5000 O2 works fine in multiuser with on-board AIC7880 SCSIs
and several PCI network cards (but only on serial console yet).
L2 cache on R5000/Rm5200 is still disabled for now, but it will be
fixed later, hopefully.
See recent discussion on port-sgimips for details.
2003-10-05 15:38:08 +00:00
tron
0fba6709ad
Add entry for bce(4).
2003-10-05 11:42:38 +00:00
tsutsui
14658b124b
Add R10000 cache ops, written by KIYOHARA Takashi and posted on port-sgimips.
...
Enabled by options ENABLE_MIPS4_CACHE_R10K for now.
2003-10-05 11:10:25 +00:00
scw
486ed93284
Kernel bits for siginfo on sh5.
2003-10-05 09:57:47 +00:00
jdolecek
c8694a1a8a
include sh5 majors in majors.evbsh5 rather than files.evbsh5, so that
...
it would be more obvious where all the majors are defined
2003-10-05 09:00:19 +00:00
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
tsutsui
026b6946bd
Fix typo. From Christopher SEKIYA.
2003-09-28 08:21:08 +00:00
tsutsui
e7500ac4b0
Add another R4000 CPU revision ID. From Christopher SEKIYA.
2003-09-28 08:16:51 +00:00
tsutsui
992acd3aab
Add options COMPAT_16.
2003-09-28 07:39:48 +00:00
is
d774eeb6ea
Bring some stuff up-to-date. To be continued.
2003-09-27 21:32:12 +00:00
he
772b1d9073
Allow kernels without the haltwo driver configured to build, i.e.
...
make the driver optional by adding the haltwo attribute.
2003-09-27 21:11:21 +00:00
is
23074d4396
pregenerate grf_ultms.c, so that gspa isn't needed during kernel build
2003-09-27 20:52:59 +00:00
is
3af256db77
PPC_OEA is in std.amigappc
2003-09-27 20:51:54 +00:00
cl
2f20c17423
make gcc3's `deprecated use of label at end of compound statement' go away
2003-09-27 20:16:59 +00:00
cl
3f16119f55
Cast through (void *) to appease gcc3.
2003-09-27 20:01:58 +00:00
mhitch
28527002f8
Cast through (void *) to appease gcc3.
2003-09-27 19:34:17 +00:00
tsutsui
499f56cda2
sys__sigreturn14 -> compat_16_sys___sigreturn14
2003-09-27 17:51:42 +00:00
mrg
3942bb7a51
enable broadcom BCM4401 (bce) driver (as found on recent dell laptops)
2003-09-27 13:16:16 +00:00
tsutsui
ddc207b63e
Add options COMPAT_16.
2003-09-27 10:07:57 +00:00
matt
a8a3bf5bed
ANSIfy.
2003-09-27 04:44:42 +00:00
matt
827263a8bc
Use ksi_signo instead of _signo.
2003-09-27 03:51:54 +00:00
christos
6fc26a7684
add SIGTRAMP_VALID and gc old sigcontext <-> ucontext macros.
2003-09-27 03:14:31 +00:00
matt
60ff688f72
Define SIGTRAMP_VALID properly.
2003-09-27 00:58:32 +00:00
nathanw
4d59420344
Move __cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED to machine/types.h
...
so that they can be used in a namespace-friendly way.
2003-09-26 22:45:41 +00:00
wiz
db579612f4
Definition, not defintion. From miod@openbsd.
2003-09-26 22:25:21 +00:00
wiz
cff5e477ad
Process has only one c. From miod@openbsd.
2003-09-26 22:23:58 +00:00
matt
6986092cfe
Add a machine-dependent SIGTRAMP_VALID macro which is used to test whether
...
a trampoline version is valid or not.
2003-09-26 22:14:19 +00:00
tsutsui
81d5d9d0f3
TAB/space cleanup.
2003-09-26 21:41:16 +00:00
christos
597d36cd65
Add needed header file.
2003-09-26 21:28:45 +00:00
christos
9eb9621f0e
fix fallout from frame to frame * conversion.
2003-09-26 21:24:34 +00:00
christos
541faba137
catch up with const sigset_t
2003-09-26 18:10:01 +00:00
christos
44f376e8fc
move MI stuff to the MI include
2003-09-26 18:09:38 +00:00
christos
a0a66e38c7
move MI stuff to the MI include.
2003-09-26 18:09:13 +00:00
christos
85d91a39fe
add catch up with const sigset_t *
2003-09-26 18:05:01 +00:00
christos
4f76392503
catch up with const sigset_t *
2003-09-26 18:04:11 +00:00
matt
fb54d529b8
Copy out the entire ksiginfo_t, not just the first word.
2003-09-26 18:00:47 +00:00
lonewolf
c8d69e8d1c
Attach haltwo on Indigo2 machines also, it reportedly works on them.
2003-09-26 16:58:06 +00:00
simonb
5c54e29374
Cast through (void *) to appease gcc3.
2003-09-26 16:02:24 +00:00
simonb
a35e8c4a16
Cast through (void *) to appease gcc3.
...
XXX1 - why does this "type-punned pointer" warning only affect little-
endian MIPS and not big-endian MIPS?!
XXX2 - too much duplicated code.
2003-09-26 16:00:28 +00:00
simonb
cff4731c81
Avoid multi-line strings.
2003-09-26 15:34:11 +00:00
simonb
091072d91a
Can't use __FUNCTION__ with string concatenation in gcc331.
2003-09-26 15:29:22 +00:00
simonb
e2c040a1f7
Don't have a label as the last part of a compound statement (fixes a
...
gcc331 warning).
2003-09-26 14:30:15 +00:00
simonb
e5be45f167
Disable pass3 DMA for now; booting a box to multi-user with root-on-nfs
...
reliably wedges during the dev_mkdb command in uvn_fp2.
2003-09-26 13:34:56 +00:00
simonb
550b4bef88
Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs. Test
...
compiled on most architectures.
2003-09-26 12:02:55 +00:00
simonb
1d558954a5
Add "ULL" to large constant; keeps gcc331 happy.
2003-09-26 10:34:41 +00:00
chs
592a0a8b16
in pmap_enter(), invalidate the TSBs before pre-loading the new values,
...
since we only pre-load one and the other one could be stale.
also, remove the bogus dcache_flush_page() from pmap_clear_modify() again,
since the problem it was intended to mask seems to have disappeared.
2003-09-26 03:59:33 +00:00
uwe
a8bc4b332e
Minor nit. Use more compact "device hd64461if {}" instead of separate
...
"define" and "device" lines. Ditto for hd64465if. Same ioconf.c is
generated.
2003-09-26 00:52:33 +00:00
eeh
a6192488f7
Define ksi.
2003-09-26 00:00:17 +00:00
matt
2deb8b2e7b
Deal with the constification of ksiginfo_t and sigset_t in signalling.
2003-09-25 22:22:36 +00:00
christos
ecfb034cb3
constify siginfo/trapsignal
2003-09-25 22:04:17 +00:00
christos
cfba45c856
constify sendsig/trapsignal
2003-09-25 22:00:02 +00:00
matt
9a305fca59
Use direct entry for siginfo trampoline. Deal with missing
...
legacy trampolines in a cleaner manner.
2003-09-25 21:59:55 +00:00
matt
83003b0798
Fill in ksi_code.
2003-09-25 21:58:46 +00:00
mycroft
eefae40298
Hide the use of config_interrupts() in one place.
2003-09-25 19:29:48 +00:00
mycroft
864b96269c
Modify the fdcattach() interface again, splitting it into two parts, so that
...
DRQ allocation is done earlier.
2003-09-25 19:06:19 +00:00
matt
85a83bcb92
Add COMPAT_16
2003-09-25 18:56:17 +00:00
matt
85a5f3065d
Add siginfo support for PowerPC.
2003-09-25 18:42:18 +00:00
matt
49317aa149
Remove db_onpanic check.
2003-09-25 17:36:33 +00:00
lonewolf
3111a2e6ea
Support for HAL2 audio controller attached to the HPC ASIC, found on SGI Indy.
...
The driver is not too heavily tested and only supports audio playback and
master volume setting currently.
2003-09-25 16:35:50 +00:00
pooka
a41fa163fd
iavc@pci
2003-09-25 16:00:24 +00:00
ichiro
066497ec38
add comment and delete unused definition
2003-09-25 14:48:16 +00:00
ichiro
663ccee1cc
pci bus support
2003-09-25 14:11:18 +00:00
mycroft
3d7395ab71
Update for new attach method.
2003-09-25 01:12:43 +00:00
mycroft
3e08e45a55
Fix GCC 3 barfage.
2003-09-24 11:57:44 +00:00
shige
95fa35eb8e
Delete this file because filename includes uppercase letters.
2003-09-24 11:51:19 +00:00
shige
e0a74e8b1e
Rename ibm4xxGPx_autoconf.c to all lowercase filename.
2003-09-24 11:48:18 +00:00
shige
0a36d23137
Copy IBM4xxGPx specific autoconf code from evbppc/walnut/autoconf.c.
2003-09-24 11:47:02 +00:00
mycroft
ba50df223e
Take a stab at making this compile, at least.
2003-09-24 07:15:52 +00:00
matt
9c8a5009b3
Define va_list as __builtin_va_list for GCC 3.x. Change stdarg macros
...
appropriately. (this is committed from a system run a kernel and userland
built with these changes).
2003-09-24 02:39:56 +00:00
shige
dc98452dce
Copy PCI codes for IBM405GPx from evbppc/walnut/pci/{pchb.c,pci_machdep.c}.
2003-09-23 15:30:22 +00:00
shige
03467d74b5
Add devices info for IBM405GPR.
2003-09-23 15:26:46 +00:00
shige
91be153592
Add global cpu_model variable.
2003-09-23 15:25:26 +00:00
shige
e20e959b37
Copy IBM4xxGPx specific autoconf code from evbppc/walnut/autoconf.c.
2003-09-23 15:24:15 +00:00
shige
a8dd07e005
Copy IBM4XX OpenBIOS locore.S from evbppc/walnut.
2003-09-23 15:21:58 +00:00
shige
fc29eb23bf
Add some PCI definitions listed in evbppc/include/walnut.h.
2003-09-23 15:19:05 +00:00
shige
2977d5a89a
Add IBM40x specific machdep functions.
2003-09-23 15:14:02 +00:00
shige
87f629a7b8
Add IBM405GPr PVR.
2003-09-23 15:10:05 +00:00
shige
94959351e8
Add IBM405GPx specific kernel configuration file.
2003-09-23 15:06:40 +00:00
shige
ee990c494d
Move todclock driver from evbppc/walnut/dev.
2003-09-23 15:01:50 +00:00
shige
ff6df75f63
Add on-chip IIC driver.
...
Add some definitions for IIC driver.
2003-09-23 14:56:08 +00:00
shige
9c7b98f8ce
Add new evbppc port.
...
This port is for OpenBlockS266.
OpenBlockS266: IBM405GPr OpenBIOS.
X1226 is a rtc chip connected with IIC bus.
2003-09-23 14:45:12 +00:00
cl
3337c2e727
move #defines back to frame.h
2003-09-23 11:33:50 +00:00
scw
6b19830ebb
Tweak register usage to shave a couple of instructions off
...
the Xscale code.
2003-09-23 10:01:36 +00:00
jandberg
bc88a03488
regen after wsmouse addition
2003-09-22 18:29:05 +00:00
jandberg
05be5081d9
added wsmouse
2003-09-22 18:23:01 +00:00
jandberg
448afe509a
add wscons support to amiga mouse
2003-09-22 18:17:30 +00:00
tsutsui
75ae5bc4d8
Count clock interrupts.
...
clock_intr() functions on sun3 are called directly without dispatchers.
XXX should use evcnt(9)?
2003-09-22 17:53:46 +00:00
tsutsui
e1e026b917
KNF a bit.
2003-09-22 17:21:51 +00:00
tsutsui
da943b106a
Remove #ifdef _KERNEL inside #ifdef _KERNEL.
2003-09-22 17:11:46 +00:00
tsutsui
4c224a510b
- replace a magic number with macro
...
- some KNF
2003-09-22 16:54:14 +00:00
cl
95bf6d89d8
SA_SIGINFO support for m68k (compat svr4)
2003-09-22 14:47:35 +00:00
cl
11af0a3c8d
SA_SIGINFO support for m68k (emul linux)
2003-09-22 14:36:42 +00:00
cl
6821f967f5
SA_SIGINFO support for m68k (compat hpux)
2003-09-22 14:35:58 +00:00
cl
bf9728e0db
SA_SIGINFO support for m68k (compat sunos)
2003-09-22 14:34:57 +00:00
cl
4169237230
SA_SIGINFO support for m68k (port specific changes)
2003-09-22 14:26:57 +00:00
cl
9289d63920
SA_SIGINFO support for m68k
2003-09-22 14:18:33 +00:00
cl
20dfd3bdde
regen
2003-09-22 14:12:29 +00:00
cl
a4186d3dd8
add COMPAT_15/COMPAT_16
2003-09-22 14:11:15 +00:00
matt
1df05a73fe
Fix GCC 3.3.1 nits.
2003-09-21 19:33:13 +00:00
matt
6bf111a80e
Fix GCC 3.3.1 nits.
2003-09-21 19:32:37 +00:00
jdolecek
7cea8a1389
cleanup & uniform descriptor owner handling:
...
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
the owner of descriptor, according to appropriate sematics
of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
pass the ioctls down to soo_ioctl() as any other ioctl
change discussed on tech-kern@
2003-09-21 19:16:48 +00:00
matt
a57c218722
Need to remove .comment too.
2003-09-21 15:21:03 +00:00
skd
e7e68c0c6d
Backed out single step emulation.
...
Approved by thorpej@netbsd.org .
2003-09-21 15:14:51 +00:00
matt
b9d20d131e
Fix GCC 3.3.1 nits
2003-09-21 15:12:16 +00:00
matt
c280e763ef
Adapt to new wdcattach calling conventions.
2003-09-21 15:11:04 +00:00
matt
749adf24a9
Fix GCC 3.3.1 nits.
2003-09-21 15:10:05 +00:00
cl
cebad0b338
make compile
2003-09-21 14:41:33 +00:00
matt
f9188e9265
Fix some GCC3.3.1 nits (-ffreestanding, #include <lib/libkern/libkern.h>)
2003-09-21 14:17:13 +00:00
matt
533ad6c08b
Fix more GCC 3.3.1 nits.
2003-09-21 06:52:42 +00:00