christos
bf3905ed0c
Add ptm device.
2004-05-27 02:57:24 +00:00
abs
eb8a427e28
Adjust the reserved heap space based on memory size. This avoids running out
...
of heap on machines with large amounts of memory. Tested on 33MB RISC OS 4
and 128MB RISC OS 5 machines. Updated version to 3.40.
2004-05-26 23:13:03 +00:00
thorpej
2ecdd552dc
Add the notion of "shadow registers" to the wdc driver. These shadow
...
registers are registers that overlap with others on many controllers, but
which may actually be distinct on some controllers. Right now, the two
shadows are:
- wd_status (usually overlaps wd_command)
- wd_features (usually overlaps wd_error)
Add a new helper function, wdc_init_shadow_regs(), used to initialize
the shadow register handles on controllers where they do actually overlap.
Partially from Jordan Rhody @ Wasabi Systems, Inc.
2004-05-25 20:42:40 +00:00
tsarna
f7fae574cc
add uep driver
2004-05-24 23:50:11 +00:00
yamt
9080a4b746
instead of blindly set IF in MCOUNT_EXIT,
...
save eflags in MCOUNT_ENTER and restore it.
2004-05-24 14:01:10 +00:00
martin
b1998403bc
Back to SIZEOF_HEADERS.
2004-05-24 07:20:26 +00:00
kleink
8b9e7c1154
Change {u,}int_fast{8,16}_t to 32-bit types.
...
Note: While this is technically an ABI change I believe it is a
change that we can afford at this time (and to be pulled up to
2.0, which will be the first release for amd64). The types are
not widely used yet, and a survey of pkgsrc has not shown uses
that would be adversely affected by it.
2004-05-23 22:17:10 +00:00
christos
0b36703edc
put back SIZEOF_HEADERS now that bfd is fixed; you will need to recompile
...
libbfd...
2004-05-23 18:09:44 +00:00
martin
ebfe3ad1ce
Instead of SIZEOF_HEADERS (which ld gets wrong) use 1024 for now.
2004-05-23 16:10:25 +00:00
kochi
39dacd3455
prevent panic for machines without any ACPI MADT table.
2004-05-23 05:57:57 +00:00
martin
aacd0f5586
Use 1024 instead of SIZEOF_HEADERS for now.
2004-05-23 01:15:05 +00:00
christos
d70a6522f9
Use 1024 instead of SIZEOF_HEADERS, so that we can include a note section.
2004-05-22 22:06:54 +00:00
kleink
a8f9b18e52
Bring back {u,}int_fast8_t back to 8 bits, as I had misunderstood Charles.
2004-05-22 14:16:59 +00:00
grant
e26fd850ec
add `scsibus* at umass?' so usb mass storage devices which attach to
...
sd@scsibus can be used out of the box.
whitespace tweak for wd* at umass?
2004-05-22 03:16:26 +00:00
kleink
dd80e25e65
Change {u,}int_fast{8,16}_t to 32-bit types, as the previous minimum-
...
width implementation was a rather poor choice. Per discussion with
Charles Hannum.
Note: While this is technically an ABI change I believe it is a
change that we can afford at this time (and to be pulled up to
2.0). The types are not widely used yet, and a survey of pkgsrc
has not shown uses that would be adversely affected by it.
2004-05-21 22:52:06 +00:00
heas
a60b59cc89
Map the ffb's DAC register space and add support for video "blanking"
...
(aka WSDISPLAYIO_{S,G}VIDEO).
2004-05-21 21:45:04 +00:00
heas
de28b23591
ffb wsdisplay type should be sunffb/SUNFFB
2004-05-21 19:21:31 +00:00
kochi
79431a3d74
Fix panic / bogus PCI bus detection.
2004-05-21 16:22:05 +00:00
kochi
1b9c589055
Clean up variable usage.
2004-05-21 16:20:36 +00:00
kochi
cf6dbb07cc
Make sure we don't use the same bus number for PCI and ISA.
2004-05-21 16:19:25 +00:00
kochi
efd20e5cdf
Back out bogus node check of revision 1.22.
...
This check is not necessary.
2004-05-21 16:17:48 +00:00
kochi
9d0aaa11b9
add some comments, make local variables/functions static and some style fix.
2004-05-21 16:15:03 +00:00
he
cdb8aaf716
Bump ramdisk size from 800k to 900k so the contents fit again.
2004-05-21 15:25:18 +00:00
he
8e58484dd6
Adapt to the statfs -> statvfs changes.
2004-05-21 08:35:00 +00:00
atatat
a1296cdfe4
Whitespace nits
2004-05-21 03:30:40 +00:00
martin
479d5e8fca
We need sigdebug and sigpid not only for COMPAT_16, but also SVR4 and
...
SunOS, so move it to a more generic place and fix the ifdefs.
Fixes PR port-sparc64/25650.
2004-05-20 11:36:43 +00:00
heas
d07b682ed3
add DAC command/value register offsets
2004-05-20 01:50:43 +00:00
petrov
45a1b56bc0
De-_P()fy, remove not MULTIPROCESSOR defines for sparc64_ipi_xxx.
2004-05-20 00:56:12 +00:00
petrov
1f82a4c90e
ifdef protection for sparc64_ipi_ function calls.
2004-05-20 00:52:58 +00:00
abs
3c2fbd8521
Add qsort to libsa (taken from sys/dev/vinum/vinumqsort.c) and use instead of
...
bubblesort in acorn32 bootloader. Reduces time to sort memory on A710 equipped
RiscPC from over twenty seconds to effectively instantaneous.
Update boot version to 3.30
2004-05-19 23:37:41 +00:00
he
7ce138ffc9
Hm, let ipfresend also compile; move <machine/intr.h> include
...
in under the _KERNEL_OPT define.
2004-05-19 23:15:43 +00:00
he
78e8bae64a
Since we are using the spl() functions here, also include <machine/intr.h>.
2004-05-19 22:50:09 +00:00
he
c9a13e2ac5
Include <machine/kbdmap.h> only outside the kernel, as that file
...
isn't present in that location in the source tree.
2004-05-19 08:44:20 +00:00
gavan
34762c053a
Claim maximum available memory during boot32 startup. This removes
...
the need to explicitly set the WIMP slot size before running the bootloader.
Conditional on BOOT_MAXIMISE_MEMORY, so as not to interfere with potential
future uses of libriscos.
Also remove references to increasing WIMP slot size, as this is now
meaningless.
2004-05-18 23:29:30 +00:00
he
09b074c177
Add some mulitple include protection.
...
Include kbdmap.h from iteioctl.h so that kdump compiles, otherwise
the size of struct kbdmap as used in various ioctl defines is unknown.
2004-05-18 20:08:51 +00:00
chs
6e6e8ad7fe
convert pmap_deactivate() from a macro to an inline function
...
so that the kernel builds again.
2004-05-18 15:33:11 +00:00
thorpej
896bc924e1
Supply rr_1 and wr_1.
2004-05-17 22:00:47 +00:00
thorpej
984caa9835
Fix missing parenthesis in DIAGNOSTIC message.
2004-05-17 20:47:17 +00:00
mhitch
1f358dcd03
Add missing KERNEL_PROC_UNLOCK() in upcallret(). This should fix PR#22219
...
and maybe also PR#23731, which appears to be a duplicate of 22219.
2004-05-17 17:43:08 +00:00
joda
c80da893ae
the EST and TM2 flags in the second cpuid register were swapped
...
(according AP-485); while here add a few more flags
2004-05-17 15:38:17 +00:00
chs
df674b2ca1
for instruction TLB miss traps, process the fault with VM_PROT_EXECUTE
...
instead of VM_PROT_READ (to support non-executable mappings).
2004-05-16 17:07:29 +00:00
chs
f6d0516ba0
in pmap_protect(), don't just return if the desired permissions include write.
...
we could be removing execute permission.
2004-05-16 17:07:07 +00:00
wiz
1249084227
"panicking" needs a k.
2004-05-16 15:44:10 +00:00
yamt
8956861179
curcpu: fix a typo. (cpuinfo -> cpu_info)
...
no functional difference.
2004-05-16 12:32:53 +00:00
he
b6e471013e
Expand the ramdisk image size from 3m to 3148k so that the contents
...
fits again.
2004-05-14 17:00:21 +00:00
cl
c489489b14
- increase number of receive buffers
...
- handle case where last receive buffer is used
2004-05-14 14:23:35 +00:00
cl
4dd8e2b2cf
use relative links: using $S fails if $S is relative to another dir
...
than the one where it's used
2004-05-14 14:07:46 +00:00
he
bf3ab88a22
Use lower optimization level (-O0) for miscfs/genfs/genfs_vnops.c
...
in order to avoid an internal compiler error with gcc 3.3.3 nb2.
2004-05-14 08:58:32 +00:00
yamt
66b2ec5ff7
fix a compile error in the case DDB && !GPROF.
...
the problem pointed by Jaka Jejcic on current-users@ and
by several others privately.
2004-05-13 20:30:39 +00:00
he
d05f876265
Avoid lint failure in setjmp.h; lint doesn't handle __attribute__
...
modified declarations.
2004-05-13 19:54:25 +00:00