reinoud
9f68c8b2b1
Putting param.h back to arm32 include directory
2001-02-26 00:06:45 +00:00
reinoud
1a53c63fd7
Finally implemented the moving VIDC chip; this solves the red colour too at startup
...
for RiscPC, A7000 and RC7500. A better solution should be made but is currently
unavailable for all the VIDC stuff isnt using bus_space at all...
2001-02-25 17:17:55 +00:00
bjh21
6b7ad3aa3e
__HAVE_NWSCONS and __HAVE_DEVICE_REGISTER are MACHINE-dependent.
2001-02-23 22:02:43 +00:00
reinoud
92493b7a32
Missed this file in the merge due to a typo !
2001-02-23 21:27:46 +00:00
reinoud
c1f753f9b4
Big patch for merging common include files of the new hpcarm tree and the old arm32
...
tree into the new arm substree. All moved files are relinked with a stub that included
the file from the new location; this might be done better later.
2001-02-23 21:23:45 +00:00
reinoud
37eca554a2
vidcvideo rename phase 2 : getting it to build again; tested ok
2001-02-21 00:51:26 +00:00
bjh21
d7fca27e58
Garbage-collect vestigial support for the Simtec Hydra board. The main code
...
to support it was never committed to the tree, and it would probably need
major reworking anyway.
2001-02-19 13:29:39 +00:00
reinoud
3043022c3a
Added extra kernel vm by moving up vidc space
2001-02-18 00:56:42 +00:00
reinoud
a598ade96e
Updated MAGIC number for new bootloader
2001-02-18 00:55:31 +00:00
bjh21
8b601afaf3
Re-introduce <arm/endian_machdep.h>, this time using GCC's idea of the target
...
endianness.
2001-02-17 14:55:44 +00:00
bjh21
a4e55e0f13
Shared ARM ptrace(2) implementation. Mostly the same as the arm32
...
version, but with some #ifdefs for arm26.
Also, don't define PT_STEP, since we don't implement it. This should
reduce code size a little.
2001-02-11 17:03:04 +00:00
bjh21
9826a76781
Common <arm/reg.h> (and hence common struct reg) for ARM.
...
This is theoretically backward-incompatible on arm26, but GDB doesn't work there
yet anyway.
2001-02-11 14:51:55 +00:00
tsutsui
276fc3f6b7
One more fix for pci_intr_map() API change.
2001-02-08 13:55:45 +00:00
bjh21
8805bd8b56
Unify arm26 and arm32 trapframe structures. The unified trapframe is the same
...
shape as the old arm32 one, but there are a few #defines to keep arm26 code
happy. Anything that depends on the precise shape of the trapframe,
and especially on being able to treat it as an array of registers, has been
updated.
2001-01-20 17:14:19 +00:00
bjh21
2c89ce7e74
Add <arm/frame.h>, for shared stack frame structures. Currently, only sigframes
...
are common.
2001-01-18 21:48:25 +00:00
tv
e58532a4bf
No-op commit to force update to a non-"-kk" revision.
2001-01-18 17:47:58 +00:00
thorpej
d85a75f583
Make sure everybody has an splvm() and equate it with splimp() (splimp()
...
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
bjh21
8df387473f
Move <machine/signal.h> into shared directory.
2001-01-13 17:02:36 +00:00
bjh21
5159a10d97
Share <machine/elf_machdep.h> between arm26 and arm32.
2001-01-11 22:28:06 +00:00
bjh21
a2dacbe06d
Switch over to using the generic arm header files for everything that arm26
...
and arm32 agree on.
2001-01-11 22:07:53 +00:00
takemura
c5fd828440
replace 'long long' with int64_t to compile stand alone program with
...
compiler other than GCC.
2001-01-03 10:08:55 +00:00
sommerfeld
851de295eb
Change pci_intr_map to get interrupt source information from a "struct
...
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".
This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.
Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
matt
1ea4047532
Add __ELF__ case for RCSID. Now identical to arm26 version.
2000-12-28 03:53:31 +00:00
itojun
efa2b7073c
make mbstate_t bigger (32 -> 128 bytes).
...
XXX if you have libc after citrus locale import, please recompile libc,
and your applications that use mbstate_t (rather rare). really sorry
for the mess.
2000-12-26 10:35:28 +00:00
itojun
823498203f
populate _BSD_MBSTATE_T_. add warning regarding to rune_t.
2000-12-21 06:03:47 +00:00
mycroft
e06ad67fa5
Remove ALTENTRY(). It's dangerous and should not be used.
2000-12-14 20:15:26 +00:00
mycroft
4944313b38
GC a little more cruft, and use __HAVE_MINIMAL_EMUL.
2000-12-12 18:26:43 +00:00
mycroft
9e9c8e676b
Adjust some profiling stuff for the kernel.
2000-12-12 17:38:45 +00:00
mycroft
5e6430ffd8
Clean this up and add profiling stuff.
2000-12-12 07:35:25 +00:00
mycroft
7057d01bbc
Inline need_resched() and need_proftick(). Make need_proftick() actually *do*
...
something!
2000-12-12 06:06:05 +00:00
mycroft
e58eb48f25
Begin cleaning up the syscall path, a la i386.
2000-12-12 05:21:02 +00:00
chs
c29a1b4461
allow ports to override PAGER_MAP_SIZE in machine/vmparam.h.
...
some ports (such as arm32) don't have enough KVA for the
increased default size once the UBC mapping is also present.
2000-11-27 08:19:50 +00:00
matt
edc0af8cd3
Add OF_nextprop and required conf-glue for /dev/openfirm.
2000-11-14 07:13:02 +00:00
abs
0b8ff41f41
Recalculate NVRAM checksum when updating the NVRAM. Avoids 'reboot'
...
and 'halt' corruptring the NVRAM contents under RISC OS 4.
Taken from patch by Dave Daniels for PR/8759
2000-11-01 12:28:50 +00:00
is
643b30ef1d
Admit that we count wired pages.
2000-09-27 21:34:29 +00:00
augustss
e9a2baa2ff
Grab a major # for USB scanners.
2000-09-23 04:30:08 +00:00
thorpej
4db6fc7542
Make need_resched() take a "struct cpu_info *" argument. This
...
causes gives a primitive form of processor affinity. Its use in
roundrobin() still needs some work.
2000-08-25 01:04:06 +00:00
thorpej
58e7a6954b
Add spllock(). See spl(9) for details.
2000-08-22 19:46:26 +00:00
thorpej
23a7f255d4
Make sure we provide splsched() as described in spl(9).
2000-08-21 02:06:31 +00:00
tshiozak
51a53de0d5
Preparation for the future introduction of multibyte locale.
...
- MB_LEN_MAX is increased to 32.
- To ensure binary compatibility for old executables
under multibyte locale, versioned setlocale is added.
- __mb_len_cur definision is added in setlocale.c
and enable it in stdlib.h .
It is also important for multibyte locale stuffs,
but I just forgot.
2000-08-08 22:31:13 +00:00
itojun
d738f90fd7
raise MSIZE from 128 to 256.
...
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small
already (less than 80) and there are chances for unwanted packet loss due
to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
(even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
extension header)
portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00
mrg
b564830503
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:44:03 +00:00
kleink
bb2ed0f487
G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
2000-06-27 05:53:22 +00:00
kleink
47b5c5e3b1
Resolve some formatting nits; add __intptr_t and __uintptr_t.
2000-06-27 04:58:51 +00:00
kleink
e695f72a2e
Add <machine/int_types.h>, which provides namespace-pure definitions
...
of exact-width integer types.
2000-06-26 15:42:16 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
kleink
133ea38323
Add a WEAK_ALIAS() macro.
2000-06-23 12:18:45 +00:00
matt
d3649351f1
Add support for machdep.console_device, machdep.booted_device,
...
and machdep.booted_kernel sysctl variables on arm32. (booted_kernel
only currently available on Sharks)
2000-06-07 04:59:28 +00:00
matt
ea16c1ada3
Enable __HAVE_DEVICE_REGISTER and add a ofw_device_register to shark_machdep.c
...
This works for booting diskless. It should work for booting off ide but that
is untested for the moment.
2000-06-06 20:17:34 +00:00
cgd
489af6e337
fix pasto pointed in the evcnt changes pointed out by Robert Swindells
2000-06-05 23:28:20 +00:00