jeffs
19adf5c987
Make userret() "static __inline". This lets it be inlined, even if you
...
do not have the compiler inline normal functions to save space. It helps
a bit on lmbench.
2000-12-14 21:24:53 +00:00
bjh21
395a883e48
Pull across arm32 rev 1.19:
...
Remove ALTENTRY(). It's dangerous and should not be used.
2000-12-14 20:50:56 +00:00
mycroft
fbcb53e0b5
Sync with -current, add COMPAT_LINUX.
2000-12-14 20:46:06 +00:00
bjh21
e266a563d8
Filter out non-ASCII characters from podule descriptions.
...
I think my MIDI card had a \r at the end, which was confusing.
2000-12-14 20:40:29 +00:00
scw
5cabdd3709
Some snippets of documentation for mvme68k...
2000-12-14 20:30:14 +00:00
bjh21
84d111ea01
Move RCSID to the end of locore so it doesn't end up in zero page if we
...
compile with an asm.h which doesn't know about section .ident.
2000-12-14 20:30:03 +00:00
bjh21
a6b4048c85
Get ELF RCSIDs back
2000-12-14 20:26:42 +00:00
mycroft
e06ad67fa5
Remove ALTENTRY(). It's dangerous and should not be used.
2000-12-14 20:15:26 +00:00
bjh21
14198dc0bd
Sync with arm32 -- they've got ELF stuff there these days.
2000-12-14 19:28:12 +00:00
bjh21
acff6e4375
Use _C_LABEL rather than _C_FUNC.
2000-12-14 19:22:39 +00:00
marcus
724713366e
Made weak_alias create correct labels on sh-elf.
2000-12-14 18:47:30 +00:00
mycroft
c0d0ffef4e
Some #ifdefs to make LKMs happy.
2000-12-14 18:44:20 +00:00
mycroft
33d5c07c1b
Clean up #includes.
2000-12-14 18:34:59 +00:00
mycroft
1b77a6e458
Add COMPAT_LINUX.
2000-12-14 18:28:30 +00:00
mycroft
3c073877f3
osf1_locore.s -> osf1_sigcode.s, to match the global convention.
...
Add linux_syscall.c.
2000-12-14 18:06:13 +00:00
mycroft
3418812d3c
Partial syscall cleanup, as per other ports.
2000-12-14 10:33:42 +00:00
martin
ee0eb24c13
Don't include opt_*.h if compiling as LKM.
2000-12-14 10:24:42 +00:00
onoe
a7125e435c
Add PCI version of Aironet, not tested at all.
...
ISA/ISApnp version won't come since I don't know about isa...
2000-12-14 04:11:25 +00:00
mycroft
0a01b4476a
Do the previous with a forwarding declaration of struct proc instead.
2000-12-14 00:41:50 +00:00
mycroft
473eee8c82
Wrap mdproc in #ifdef _KERNEL.
2000-12-14 00:38:20 +00:00
jdolecek
ca57e681bd
g/c obsolete vtrace(2) stuff
2000-12-13 18:13:05 +00:00
kleink
7ed30e9594
This code wasn't written in Utah or Berkeley.
2000-12-13 09:41:57 +00:00
mycroft
008f44277d
Do the fast/slow path separation, a la x86.
2000-12-13 07:53:58 +00:00
mycroft
108d17eb16
Do the md_syscall, __HAVE_MINIMAL_EMUL and __HAVE_SYSCALL_INTERN thangs.
2000-12-13 03:16:36 +00:00
mycroft
716c484ada
Remove unnecessary #includes.
2000-12-13 01:24:46 +00:00
mycroft
760ab2591f
Oops; add PROC_PC().
2000-12-13 00:46:31 +00:00
mycroft
dc26c1ab17
Start cleanup of syscall(), similar to i386 and arm32. getpid() rate on my
...
AS200 goes from ~279000/s to ~446000/s.
2000-12-13 00:38:20 +00:00
simonb
79b09f2c56
Bump the initial data size limit to 32MB - large enough to compile a
...
kernel with an ELF toolchain.
2000-12-12 23:46:22 +00:00
sato
595779fbdc
delete unused HPCFB_BSTORE codes.
2000-12-12 22:41:02 +00:00
he
4ce4648c24
Add the an(4) driver to these configurations as well.
2000-12-12 21:14:51 +00:00
mycroft
a34a3ecb5e
Slight tweak.
2000-12-12 20:49:16 +00:00
mycroft
a7889f8229
Whoops. Previous change was not correct.
2000-12-12 20:30:12 +00:00
mycroft
2c7eaf2b50
Minor code rearrangement.
2000-12-12 20:22:49 +00:00
mycroft
a8ac146577
Adjust for userret() interface change.
2000-12-12 19:45:47 +00:00
mycroft
ea3353ea19
Clean up some DEBUG stuff, move want_resched check from userret() to ast().
2000-12-12 19:41:50 +00:00
mycroft
4944313b38
GC a little more cruft, and use __HAVE_MINIMAL_EMUL.
2000-12-12 18:26:43 +00:00
mycroft
d90febaada
More cleanup.
2000-12-12 18:13:29 +00:00
thorpej
c5293456da
Adapt to bpfattach() changes, and further centralize the bpfattach()
...
and bpfdetach() calls into link-type subroutines where possible.
2000-12-12 18:00:22 +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
9fc58d6908
Whoops, lay off the crack.
2000-12-12 06:36:19 +00:00
mycroft
446f34fb60
suswintr() and fuswintr() return -1 on error, not 0.
2000-12-12 06:32:39 +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
6a719db6e7
Still more cleanup.
2000-12-12 05:35:48 +00:00
mycroft
c656add165
More cleanup.
2000-12-12 05:26:38 +00:00
mycroft
e58eb48f25
Begin cleaning up the syscall path, a la i386.
2000-12-12 05:21:02 +00:00
nisimura
a141a84ce1
Relocate boot flag detection from consinit() to more logical place.
2000-12-12 04:07:35 +00:00
nisimura
80195863fc
This file is a replicant of hp300. The following is peculair to
...
the original HPBSD implementation and HP hardware design.
* Portions of the last segment of KVA space (0xFFF00000 -
* 0xFFFFFFFF) are mapped for a couple of purposes. 0xFFF00000
* for UPAGES is used for mapping the current process u-area
* (u + kernel stack). The very last page (0xFFFFF000) is mapped
* to the last physical page of RAM to give us a region in which
* PA == VA. We use the first part of this page for enabling
* and disabling mapping. The last part of this page also contains
* info left by the boot ROM.
Nuke lptpa because that is irrelavant for LUNA.
Put #if defined(M68040) for consistency postponing efforts of LUNA-2.
2000-12-12 04:06:08 +00:00
mycroft
0175db6e40
#ifdef KTRACE some stuff.
2000-12-12 03:33:16 +00:00
bjh21
afb44982ee
Correct the mangled-vectors check.
2000-12-11 23:51:58 +00:00