lonewolf
ae33e68d84
Correct offsets for HPC_PBUS_CHx_{BP,DP} and add HPC_PBUS_DMACTL_* definitions.
2003-09-18 15:00:26 +00:00
skd
f5c4ea935a
Added kernel support for single stepping, adapted from FreeBSD.
...
Approved by christos.
2003-09-18 05:26:41 +00:00
cl
3c10927ebe
add MD part of SA/pthread pagefault handling on all m68k ports
2003-09-17 23:17:39 +00:00
drochner
27c7714f95
syntax error in comment
2003-09-17 11:57:34 +00:00
agc
299e4a53ec
Add COMPAT_16, pointed out by Bryan Vyhmeister.
2003-09-16 21:56:00 +00:00
cl
4ba5ca7f2f
fix copy-paste oversight in MD part of SA/pthread pagefault handling
2003-09-16 19:02:51 +00:00
cl
2532f4497c
add MD part of SA/pthread pagefault handling on amd64
2003-09-16 15:49:06 +00:00
cl
fe74654bab
add MD part of SA/pthread pagefault handling on sparc64
2003-09-16 14:00:27 +00:00
cl
8c7a07f686
add MD part of SA/pthread pagefault handling on sparc
2003-09-16 13:59:59 +00:00
cl
abc609d801
add MD part of SA/pthread pagefault handling on i386
2003-09-16 13:57:47 +00:00
agc
341e8b0d1a
Add a kernel configuration file for the Jornada 728.
2003-09-16 08:22:00 +00:00
agc
497a13cc5b
Make the number of 4K DRAM pages into a CPP definition, so that it can be
...
set from a kernel configuration file. Proposed by Brett Lymn on port-hpcarm.
2003-09-16 08:18:22 +00:00
uwe
d889e9a63d
US keydesc corrections from Bryan Vyhmeister (bsd at hub3 dot net).
...
Tested by Julian Coleman <jdc@netbsd>.
2003-09-15 21:03:10 +00:00
martin
361fe6808c
Make a panic format 32bit safe.
2003-09-15 07:38:22 +00:00
simonb
9d585c89bb
Use common mips generic software interrupt routines.
...
Changes from Izumi Tsutsui, tested by Havard Eidnes.
2003-09-15 06:39:20 +00:00
ichiro
22d06d95f5
fix typo
...
#if DEBUG -> #ifdef PCI_DEBUG
2003-09-15 05:11:31 +00:00
ichiro
4be788fe81
add address decode of "PCI Configuration type 1"
2003-09-15 05:07:29 +00:00
he
ff39169476
Revert addition of rnd here; it's already present due to the inclusion
...
of the WALNUT config file, so causes a duplicate definition error here.
2003-09-14 21:49:58 +00:00
cl
a82fc36e8b
make compile: fix GCC3 check and add defflag PANICBUTTON
2003-09-14 17:13:36 +00:00
junyoung
740c1aa81e
Remove a duplicate $NetBSD$.
2003-09-14 12:59:33 +00:00
chris
27dc577349
Tidy up a couple of bits to avoid duplication within the switch.
2003-09-13 14:31:34 +00:00
chris
cfb7a98211
Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
...
SA_SIGINFO work.
2003-09-13 13:30:01 +00:00
simonb
f7e3330a08
Remove a variable that is assigned to but not used.
2003-09-13 11:12:06 +00:00
christos
280bbfe466
Set si_code for T_PROTFLT|T_USER. Pointed out by enamicode.
2003-09-12 23:20:26 +00:00
tsutsui
14b42ecf3b
Use common mips generic software interrupt routines.
2003-09-12 17:55:40 +00:00
christos
51d8c27c8d
pick up the right sigreturn symbol. we could have #define __HAVE_SIGINFO
...
instead too.
2003-09-12 16:51:04 +00:00
tsutsui
f9325594bb
Remove a redundant function declaration.
2003-09-12 15:29:48 +00:00
chs
c5e2454205
handle pmap_procwr() on kernel procs (MIPS1).
...
needed for new signal trampoline stuff.
2003-09-12 15:29:16 +00:00
tsutsui
3fad926516
Protect against multiple inclusion.
2003-09-12 15:03:24 +00:00
tsutsui
9dae7193b1
TAB/space cleanup.
2003-09-12 14:59:11 +00:00
christos
75c419ccc0
include opt_compat_netbsd.h, sort includes. Thanks yamt.
2003-09-12 12:39:59 +00:00
briggs
06ea4a681d
Don't assume that we are the PCI host. Actually check, and make sure that
...
we set things up so that we can run either as a PCI host or as a PCI slave
(working within the PCI BARs that the system BIOS has configured for us).
2003-09-12 04:39:59 +00:00
christos
9889f06536
make sigcontext visible all the time instead of including opt_*.h from a
...
large number of files.
2003-09-12 01:13:35 +00:00
briggs
38da12464f
We need a little more symtab space.
2003-09-11 22:52:38 +00:00
christos
2bf3634159
fix typo.
2003-09-11 20:48:35 +00:00
christos
7340db7385
Bring back sigcontext to userland by popular demand.
2003-09-11 20:22:30 +00:00
martin
346b195550
Backout previous, now that <sys/syscall.h> is fixed it's SYS___sigreturn14
...
again (until we convert to siginfo).
2003-09-11 19:36:29 +00:00
christos
99ee91793f
make vm86 use __gregset_t
2003-09-11 19:17:07 +00:00
christos
a6540cf740
XXX: vm86 for sigcontext comment is gone.
2003-09-11 19:16:05 +00:00
christos
ab63d91442
old vm86 call with COMPAT_16 code.
2003-09-11 19:15:12 +00:00
scw
973e9cff89
Add definitions required for new in_cksum.
2003-09-11 18:58:44 +00:00
scw
877b3cbe5e
Hand-optimised in_cksum/in4_cksum for ARM and XSCALE.
...
Contributed by Wasabi Systems, with input from Chris Gilbert,
Richard Earnshaw and David Laight.
2003-09-11 18:54:31 +00:00
kleink
d440784b30
__{BEGIN,END}_DECLS-wrap prototypes.
2003-09-11 09:40:11 +00:00
briggs
ab0f909e6e
s/SYS___sigreturn14/SYS_compat_16___sigreturn14/
2003-09-11 03:57:29 +00:00
christos
2300d30c79
delete debug printf's.
2003-09-10 21:40:02 +00:00
christos
7b176f233f
sort the opt_ includes.
2003-09-10 21:38:40 +00:00
christos
5dfabd4458
Add compat_16_machdep.c
2003-09-10 19:49:47 +00:00
christos
4d5acf4941
expose sendsig_sigcontext for compat_16
2003-09-10 19:49:22 +00:00
christos
6f6f525ca6
move compat_16 stuff into a separate file.
2003-09-10 19:48:48 +00:00
grant
dc97144230
add gem and brgphy so we have ethernet on the PowerBook G4 DVI.
2003-09-10 18:06:26 +00:00
christos
f7f3566b1e
#ifdef struct sigframe_sigcontext and struct sigcontext, so that only code
...
that really needs them, get them.
XXX1: We need to fix the vm86 api.
XXX2: We need to fix the ibcs2 signal delivery mechanism.
2003-09-10 16:48:16 +00:00
christos
0b16bf9a36
make obsolete trampoline code COMPAT_16. Unfortunately sigreturn14 is used
...
by IBCS2; grr.
2003-09-10 16:46:59 +00:00
christos
d0b2ede633
need opt_ibcs2.h
2003-09-10 16:46:15 +00:00
drochner
8bedb90edc
in cpu_setmcontext(), check where we go, not where we are coming from,
...
and line-terminate a diagnostic message which was caused by that bug
2003-09-10 11:39:09 +00:00
martin
313b12e0cc
Remove rnd here and add a prominent note at the top of the file -
...
this config includes GENERIC32, only additional stuff goes in here.
2003-09-10 07:14:25 +00:00
thorpej
62a064e24e
Bump initial kernel PTs to 4.
2003-09-09 20:42:38 +00:00
itojun
919da6bf44
have COMPAT_16
2003-09-09 07:14:01 +00:00
tron
ee3ff63574
Remove obsolete file.
2003-09-09 06:21:30 +00:00
kleink
8d633905ac
Bring /* LINTSTUBs */ closer to reality.
2003-09-08 22:37:01 +00:00
petrov
536f8085b8
Support multisegment dmamap sync, adopted from OpenBSD.
2003-09-08 17:23:15 +00:00
scw
6e67b64a47
Add support for non-executable mappings.
2003-09-08 08:01:52 +00:00
petrov
33d0a022bc
OF_mapintr: swizzle interrupt for PCI bridges,
...
don't process OBP interrupts, return error if interrupt is not mapped.
2003-09-08 03:33:52 +00:00
kleink
a4909cd01e
g/c byte-reversing bus_space_set_region_1() entries.
2003-09-07 22:12:05 +00:00
uwe
9f598eb5ba
DOH, sparc was not doing p_userret processing in userret()!
...
Adding it helps SA a great deal. E.g. ogg123 actually works now.
2003-09-07 20:41:05 +00:00
ragge
bfd142bfad
Remove next_instr_address(), it's a macro.
2003-09-07 13:33:38 +00:00
tron
8cfe1dc600
Add "COMPAT_16" option.
2003-09-07 09:33:56 +00:00
manu
d13828a7dd
forgotten commit for KERN_PROCARGS sysctl in COMPAT_DARWIN
2003-09-07 07:50:31 +00:00
tsutsui
8a3f779eab
Fix typo.
2003-09-07 05:49:57 +00:00
isaki
bd7195dece
Remove an advertising clause.
2003-09-07 04:24:05 +00:00
uwe
edee4547b6
Define 'nil' as long and remove the cast in the *only* place it's used.
...
Makes gcc3 happy as well.
2003-09-07 00:52:01 +00:00
uwe
f8a341efaa
Drop bogus ## to make gcc3 happy.
2003-09-07 00:30:40 +00:00
christos
d5f61bb017
SA_SIGINFO changes
2003-09-06 23:15:35 +00:00
christos
66a72d2998
Add COMPAT_16
2003-09-06 22:39:23 +00:00
christos
1dc335c017
SA_SIGINFO changes.
2003-09-06 22:03:09 +00:00
kleink
1b91dce6c3
Rearrange bus_space initialization slightly, taking advantage of being
...
able to pass a bus_space with an extent already assigned to
bus_space_init(). This eliminates creating the extents twice, and
makes it a bit easier to read.
2003-09-06 21:07:00 +00:00
fvdl
5a759ef06c
Move the bulk of pci_intr_string into a seperate intr_string function. Use
...
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.
2003-09-06 17:44:36 +00:00
fvdl
40b81ea5a1
If possible, put the device name of the APIC used into the interrupt string,
...
not "apic N". This makes it easier to match vmstat output with dmesg output.
2003-09-06 14:55:50 +00:00
fvdl
631d339e09
When establishing the ACPI SCI, make sure it's always active low (as well
...
as level-triggered). Do this by changing the MP config entry that was
set up for the interrupt. Do not change anything if there was an ACPI
interrupt source override, assume that this contains the correct
information already.
2003-09-06 14:38:41 +00:00
rearnsha
5d78bf50ac
ANSIfy.
2003-09-06 13:34:29 +00:00
rearnsha
81594136ec
irqhandler.h and related baggage now obsolete.
2003-09-06 13:01:29 +00:00
rearnsha
3a05158011
Remove include of ifpga/irqhandler.h.
2003-09-06 12:58:48 +00:00
rearnsha
9066202e72
Delete GENASSYM_EXTRAS.
2003-09-06 12:57:22 +00:00
rearnsha
b548db6846
Obsolete.
2003-09-06 12:36:29 +00:00
rearnsha
8395e3535e
config option is now CPU_ARM10.
2003-09-06 11:41:11 +00:00
rearnsha
256da36a1c
Switch to using generic soft interrupts.
2003-09-06 11:31:20 +00:00
rearnsha
fec013d595
Fix incorrect definition of IFPGA_SC_LBFCODE_BEN1 and missing
...
definition of IFPGA_SC_LBFCODE_BEN0.
Add definitions for unused interrupt bits and a suitable mask (preparation
for switch to generic soft-ints code).
2003-09-06 11:27:01 +00:00
rearnsha
333d22f36e
Fix handling large values of delay when the timer might wrap.
2003-09-06 11:21:44 +00:00
rearnsha
7c9aacc774
Add bouncing support
2003-09-06 11:12:53 +00:00
rearnsha
a25a2641d9
General cleanups of the bootstrap code
2003-09-06 10:57:12 +00:00
rearnsha
b867034038
When an Integrator board has less than 256M of SDRAM fitted, the
...
memory that is "obscured" by the SSRAM is visible at a wrapped address.
So we can use the full amount of SDRAM in almost all cases.
2003-09-06 10:28:26 +00:00
rearnsha
15f5c8f7db
Remove a verbose-boot message that kills the bootstrap (since the
...
console port mapping has just been moved).
2003-09-06 10:21:19 +00:00
rearnsha
0663dd6d22
The third argument to pmap_map_chunk is the pa not the va.
2003-09-06 10:18:07 +00:00
rearnsha
20b73e2b48
Add a flags field to _PhysMem structure so that we can describe
...
attributes of memory regions (BOOT_DRAM_CAN_DMA, BOOT_DRAM_PREFER).
Rearrange order of BootConfig members so that the describing how many
dram regions we have preceeds the descriptions of each region.
2003-09-06 10:08:13 +00:00
rearnsha
d35277ea35
Default all builds to not have debug information. Significantly
...
reduces disk space needed for a make release, especially if using
dwarf2 debug.
2003-09-06 10:00:51 +00:00
rearnsha
b805fdb7fa
Add build-system support for ARM10.
2003-09-06 09:48:47 +00:00
rearnsha
46af0c9f17
Make sure _ARM32_BUS_DMA_PRIVATE is defined before we pull in any
...
include files to avoid problems with the rats nest of dependencies.
2003-09-06 09:46:37 +00:00
rearnsha
da86d47fb0
Support for initializing ARM10 processors in write-through mode.
2003-09-06 09:44:10 +00:00
rearnsha
ec2b5e2dfd
Support for ARM10E class devices.
2003-09-06 09:42:12 +00:00
rearnsha
1eba58255a
Support for ARM10. Extract some additional information about the
...
dcache so that we can have cache cleaning code that works for any
permitted arm10 cache architecture.
2003-09-06 09:31:37 +00:00
rearnsha
bb00ee6bce
Add a function to read the processor cache configuation register.
2003-09-06 09:14:52 +00:00
rearnsha
637a44c215
Processor-specific operations for ARM10 class devices.
2003-09-06 09:12:29 +00:00
rearnsha
d4e1e335e8
Add support for ARM10 class processors.
2003-09-06 09:10:46 +00:00
rearnsha
a515ec698a
Add processor-specific declarations for ARM10 class processors.
2003-09-06 09:08:35 +00:00
rearnsha
446ca3f32d
Fix declarations of primary cache variables, so that they are
...
declarations, not definitions.
2003-09-06 09:04:52 +00:00
rearnsha
cfcc3a8ad4
Add support for ARM10 class devices.
2003-09-06 08:55:42 +00:00
rearnsha
e1f8618cbd
Add arm1020E cpu id
2003-09-06 08:43:02 +00:00
itojun
fc918f8713
add rnd(4) device to installation media.
...
necessary for many purposes, including password seeding, tcp sequence number,
and more. see tech-security
2003-09-06 03:25:23 +00:00
dsl
fe89b1db32
Add memcmp, memcpy and memset
...
Fix strncmp(x, y, 0)
Use unsigned compares for strcmp and memcmp (and bcmp).
Compiles but untested
AFAICT http://h71000.www7.hp.com/doc/72final/4515/4515pro_025.html#4515ch9_146
cmpc3/5 set %r4 and %r5 to zero, It doesn't look as though the procedure
call is set to preserve these, and I doubt that gcc is treating them as
scratch registers - does our vax pcs actually have %r2 and %r3 as scratch regs?
2003-09-04 10:40:44 +00:00
matt
cec9cb32df
Move CLKF_BASEPRI to machine specific <intr.h> file since it depends on
...
the encoding of the spl for the port.
2003-09-03 21:33:31 +00:00
ragge
ffaea276d3
Add a few more prototypes.
2003-09-03 19:35:26 +00:00
ragge
a90264a9b5
Add alloca() prototype. XXX should be somewhere else.
2003-09-03 19:35:02 +00:00
simonb
05c33c1c05
Need to set BUS_DMA_COHERENT to BUS_DMA_NOCACHE on IBM ppc4xx CPUs.
...
The "emac" interface now works properly again on my Walnut. Much
thanks to Steve Woodford for tracking this down.
2003-09-03 13:30:05 +00:00
mycroft
9b3ff19873
Whoops, reenable some stuff.
2003-09-03 03:19:04 +00:00
mycroft
7929022703
Add gzboot support for SMDK2410.
2003-09-03 03:18:30 +00:00
mycroft
56cdfe0eab
GC a bogus variable that was causing link failures with PCMCIA.
2003-09-03 03:17:22 +00:00
mycroft
e5168f409e
Use generic versions of rr_1, wr_1, sr_1 -- some PCMCIA cards use these.
2003-09-03 03:15:02 +00:00
mycroft
f13bd83ab3
Minor tweak for some macros elsewhere.
2003-09-03 03:12:28 +00:00
mycroft
1e2b27307d
Add some register definitions.
2003-09-03 03:11:50 +00:00
mycroft
b715eaff3c
Recognize some TI processors -- not that you'd want to use them.
2003-09-03 02:07:07 +00:00
mycroft
a93d49837e
Don't clear PCIC_INTR_ENABLE here, either -- not appropriate.
2003-09-02 22:48:30 +00:00
fvdl
ce2fedd6fb
Compile in the !MPACPI && NIOAPIC case.
2003-09-02 20:10:30 +00:00
fvdl
cd1ddca4f8
Use MPBIOS_SCANPCI by default.
2003-09-01 00:35:44 +00:00
fvdl
e8769fc0a0
Update a few types and formats.
2003-08-31 23:24:04 +00:00
fvdl
60ae17c7ae
Fix signed/unsigned warnings.
2003-08-31 22:40:13 +00:00
chs
ea3277f683
add a defflag for USELEDS.
2003-08-31 01:55:27 +00:00
chs
e46cb5bfce
add some placeholders so we can at least build.
2003-08-31 01:28:58 +00:00
chs
b5ed452510
just include the hppa version.
2003-08-31 01:28:22 +00:00
chs
e9303b36fc
disable some things that don't build yet.
2003-08-31 01:27:18 +00:00
chs
a2ffedf11f
add a hack for the link set stuff.
2003-08-31 01:27:00 +00:00
chs
cc0b88792e
update for LWPs, and some lite cleanup.
2003-08-31 01:26:31 +00:00
chs
c023b4180f
add "makeoptions MACHINE_ARCH=..." in std.* for mips ports
...
where it is constant (to ease cross-building).
2003-08-30 22:44:38 +00:00
fvdl
06298770b0
Add another -DBOOT_ELF64 for amd64.
2003-08-30 20:38:58 +00:00
fvdl
2d5fec0580
Remove a lot of stuff, making it closer to the i386 INSTALL.
2003-08-30 20:09:04 +00:00
fvdl
ee4b42342e
Add -DBOOT_ELF64 for amd64.
2003-08-30 18:25:07 +00:00
fvdl
8ea680bb14
Add -m elf_i386 (for amd64) to LD.
2003-08-30 15:24:41 +00:00
fvdl
e8b1f4f135
Add -m elf_i386 to ${LD}, not ${LDFLAGS}, since bsd.lib.mk doesn't
...
include ${LDFLAGS} when using ld -x on an object file.
XXX what's the point of these ld -x rules anyway?
2003-08-30 15:15:01 +00:00
dsl
677dd78600
Placate people who insist on using non-standard disk layouts by adding
...
a valid MBR entry for partition 3 (covering the first 15 sectors) into the
end of the partition boot code.
2003-08-30 13:33:55 +00:00
nakayama
68369c646a
Wrap diag message with #ifdef DIAGNOSTIC.
2003-08-30 04:07:56 +00:00
dsl
b98ddfffb3
libsa/bcmp.c now defines both bcmp and memcmp
2003-08-29 19:50:26 +00:00
bsh
43f6db1ea7
support CS8900A ethernet on SMDK2410.
...
XXX: SMDK2410 has no EEPROM connected to CS8900A. Currently the only
way to set MAC address is give it via kernel config option.
2003-08-29 13:54:03 +00:00
ragge
23faa91baa
Understand qt as root device.
2003-08-29 13:52:45 +00:00
ragge
c55ba2df08
Add the qt driver to GENERIC.
2003-08-29 13:51:47 +00:00
bsh
b0c5091bcb
tweak memory controller on startup for CS8900A at CS3 and CL-PD7610 at
...
CS2.
2003-08-29 13:46:38 +00:00
dsl
154703d1f9
Use memset (instead of bzero) to clear bss.
...
bootxx_lfs now fits in the available space.
2003-08-29 12:58:39 +00:00
bsh
de45322924
support EXTINT[4:23] as interrupt sources. They are cascaded to
...
IRQ4 (EXTINT[4:7]) and 5 (EXTINT[8:23]). ssextio driver handles these interrupts.
2003-08-29 12:57:50 +00:00
dsl
99ace74e7b
Create linker map file so it is possible to see which library members
...
are included and why.
2003-08-29 12:56:59 +00:00
bsh
2a0faa1f10
change CPU clock to 200MHz at kernel startup.
2003-08-29 12:42:13 +00:00
bsh
e979aaa6ea
add option SMDK2XX0_CLOCK_CONFIG to change CPU clock at kernel startup.
2003-08-29 12:41:12 +00:00
bsh
23b593ca51
+ set vendor name as Samsung.
...
+ delete debug printf() and use aprint_normal()
2003-08-29 12:38:48 +00:00
nakayama
fd41cea78c
Use proper bus number from pci_attach_args instead of (unused) var.
2003-08-29 12:36:44 +00:00