Commit Graph

126153 Commits

Author SHA1 Message Date
kochi
23f6ddb8d9 change acpi_resource_parse API to support _PRS parsing as well as _CRS 2004-04-11 09:38:19 +00:00
kochi
0dd2fcbaed + add prototype
+ designated initializers
+ call callback functions only when defined
2004-04-11 09:25:28 +00:00
he
30f13a8751 Avoid using preprocessing conditionals in a macro argument list at least
as long as all ports have not yet been converted to using gcc 3.3.3.

Build bug discovered when building for vax.
2004-04-11 09:10:58 +00:00
kochi
e0945a0006 change acpi_resource_parse API to support _PRS parsing as well as _CRS 2004-04-11 08:56:48 +00:00
kochi
b547a6d28f change acpi_resource_parse API to support _PRS parsing as well as _CRS 2004-04-11 08:36:19 +00:00
kochi
9a5dc2e233 return (x) -> return x 2004-04-11 06:52:38 +00:00
kochi
2bde9b6026 return (x) -> return x
use consitent variable name for ACPI_STATUS
2004-04-11 06:48:25 +00:00
rh
56d86cdd8c Make pkg_add recognise binary packages built with ignored recommendations
(IGNORE_RECOMMENDED set in the presence of RECOMMENDED pre-requisites).
This change is fully backward-compatible: binary packages have set the
corresponding BUILD_INFO since RECOMMENDED was implemented.  Packages
built before that time will install as before.
Bump PKGTOOLS_VERSION to 20040411.
This closes PR pkg/24712 by Thomas Klausner.
2004-04-11 06:13:46 +00:00
kochi
e80850866a de __P, ANSIfy PCIBIOS related files. 2004-04-11 06:00:25 +00:00
snj
853c328fb4 Bump date for last. 2004-04-11 04:15:53 +00:00
oster
e3d079e02e Swapping to RAID 5 is happy now. Remove indications to the contrary. 2004-04-11 02:46:27 +00:00
darrenr
c4acd0486b from freebsd's kern/36219, the if expression in deciding whether or not
to return something check the value of bd_state in the wrong place.
2004-04-11 01:41:01 +00:00
pooka
451031bddf RCS Id police 2004-04-11 00:44:47 +00:00
cl
9f3568420d call HYPERVISOR_exit on reboot 2004-04-11 00:44:15 +00:00
cl
d145eca4fb catch up with arch/x86/x86/intr.c
1.15/kochi
use designated initializer for struct pic initializers.
just for readability.

update the xenev_pic initializer as well
2004-04-11 00:18:29 +00:00
cl
2bdade5a16 - remove pmap_kenter_ma prototype here
- xennet? is an interface not a driver (boot message)
2004-04-11 00:00:43 +00:00
cl
1eec38f848 get the time from Xen 2004-04-10 23:50:23 +00:00
cl
9ce2a8f441 add prototype for pmap_kenter_ma 2004-04-10 23:47:24 +00:00
cl
96cf6c6c11 - fix signatures for HYPERVISOR_stop, HYPERVISOR_dom0_op and
HYPERVISOR_block_io_op
- add error checking for HYPERVISOR_mmu_update and
  HYPERVISOR_update_va_mapping
- add missing memory barriers
- initialize dom0_op->interface_version
2004-04-10 23:46:26 +00:00
cl
c0b5dece66 Make rcr2() always return 0. We only get cr2's value for page faults and
trap() knows where to find it.
2004-04-10 23:39:54 +00:00
cl
7556fed6d2 fix kernel command line parsing:
- initialize bootdev for if it's not set in the command line
- correctly parse command lines with multiple spaces between words
2004-04-10 23:33:50 +00:00
darrenr
eee3190c06 Fix bpf so that select will return for a timeout (from FreeBSD.)
Fix the behaviour of BIOCIMMEDIATE (fix from LBL BPF code via FreeBSD.)

In bpf_mtap(), optimise the calling of bpf_filter() and catchpacket()
based on whether or not the entire packet is in one mbuf (based on
similar change FreeBSD but fixes BIOC*SEESENT issue with that.)

Copy the implementation of BIOCSSEESENT, BIOCGSEESENT by FreeBSD.

Review Assistance: Guy Harris

PRs: kern/8674, kern/12170
2004-04-10 23:31:51 +00:00
cl
0488cca3a2 remove incorrect assert: pdp-pool entries can be reclaimed at any time,
even while APDP is mapped.
2004-04-10 23:31:41 +00:00
pooka
4b60b79ce8 build arcemu 2004-04-10 22:48:44 +00:00
pooka
bc32b3ffbe Clock interrupt routine for mips1 (ip12) from Steve Rumble. 2004-04-10 22:48:12 +00:00
pooka
03e520f443 * The HPC endianness register isn't mapped on my IP12, so don't try to
unconditionally read it
* IP12 glue from Steve Rumble
2004-04-10 21:59:42 +00:00
pooka
0df6470670 don't attempt to init pckbd console on IP20 2004-04-10 21:47:33 +00:00
pk
9450998e71 pmap_copy_page4m(): we only need to flush the local cache since we use
private virtual addresses.
2004-04-10 20:51:24 +00:00
pk
9d95da7f96 Remove a number of redundant TLB page flushed, which are now done in
setpgt4m_va() and updatepte4m() as necessary.
2004-04-10 20:43:02 +00:00
pooka
3f96344b80 Don't unconditionally initialize seeprom chip type after we've
conditionally initialized it to the correct type.

spotted by Steve Rumble
2004-04-10 20:23:05 +00:00
pooka
9b2f4efe28 Rework conditional statement a bit to print bit about using ARCS for
console I/O if nothing really attached, not if we just called consinit()
with an invalid IPxy mach_type.

inpired by Steve Rumble
2004-04-10 20:15:12 +00:00
pooka
737a72e779 attach zs console on IP12
from Steve Rumble
2004-04-10 20:03:11 +00:00
pk
6452e19758 De-__P(). 2004-04-10 20:00:29 +00:00
pk
217297d742 Remove a remnant instance of __P(). 2004-04-10 19:58:45 +00:00
pk
6d82d89741 Expose CPUSET_ALL to non-MULTIPROCESSOR source. 2004-04-10 19:55:57 +00:00
pooka
cafa4ad8f9 ARCBIOS emulation code to be used on machines without ARCBIOS
Currently supports only IP12, but can be made to support others.

includes effort from Steve Rumble and myself
2004-04-10 19:53:48 +00:00
pk
667d14673b Group updatepte4m() and the MP & SP versions of setpgt4m_va() together,
which is just a bit more pleasing to the eyes.
2004-04-10 19:40:19 +00:00
pooka
b9ae63d8be protect against multiple inclusion 2004-04-10 19:32:53 +00:00
thorpej
4c019a313e Add 802.3x flow control support. From HITOSHI Osada. 2004-04-10 19:23:49 +00:00
pk
83037215bf Do not maintain the number of valid pages per segment (`sg_npte') anymore
for the kernel map on SRMMU machines. This allows pmap_kenter() and
pmap_kremove() to update mappings without needing to lock the pmap
or raising the interrupt level.
2004-04-10 19:22:59 +00:00
pooka
a7250523da At least my IP12 works better without the port-flipping glue,
so un-glueify IP12 for the time being.
2004-04-10 19:20:19 +00:00
pooka
a674ac1bc3 and finally, the big moment you've all been waiting for:
make it actually compile
2004-04-10 19:07:58 +00:00
pooka
89a2f53d77 fix off-by-one in revision print 2004-04-10 19:07:06 +00:00
pooka
88764f7031 add watchdog enable and disable
from Steve Rumble
2004-04-10 19:06:33 +00:00
pooka
f59c5e58e8 Add physical offsets for memory configuration registers to be used
outside bus_space.
2004-04-10 19:02:39 +00:00
thorpej
a6d603afd1 gmii_phy_getflowcontrol(): Bail out early if the MAC didn't tell us to
do flow control processing.
2004-04-10 18:54:46 +00:00
pk
2648b0d48c pmap_protect4m: skip PTE update for invalid pages in the specified range. 2004-04-10 18:48:35 +00:00
thorpej
84694bb5fa Fetch negotiated flow control parameters. From HITOSHI Osada. 2004-04-10 18:47:56 +00:00
pk
f852e1c1e4 setpte4m: remove ineffective debug assertions. 2004-04-10 18:40:04 +00:00
darrenr
221fa57241 With recent changes to BPF, pushing the default buffer size to 1MB, running
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.)  In each of these applications, add code to set the buffer
size to 32k before setting the interface.
2004-04-10 17:53:05 +00:00