Commit Graph

48534 Commits

Author SHA1 Message Date
matt cbc61e5fc2 Add ehci/usb support. 2008-10-24 16:49:02 +00:00
matt 2a71ce51c5 Add EHCI attachment for GEMINI port. 2008-10-24 16:48:29 +00:00
cegger 5cbbf5c20d findroot(): set booted_device also when specifying a network device to bootdev.
Useful for booting with root on nfs.
2008-10-24 16:37:25 +00:00
cegger 7f01a821b9 struct device * -> device_t 2008-10-24 16:26:07 +00:00
cliff d6043b6f56 fix comment regarding IO extent. 2008-10-24 16:18:34 +00:00
matt 0cc8aca036 Make this reflect reality. 2008-10-24 16:17:08 +00:00
matt 8e41274d19 Add entry for FA526. 2008-10-24 13:23:45 +00:00
martin 58175029a4 Avoid code duplication: make cpu_lwp_fork() use cpu_setfunc(). Leave
the inlinig to the compiler. Suggested by Nick Hudson.
2008-10-24 07:54:41 +00:00
matt ebde8b5e81 Make this generate less errors when compiling. :) 2008-10-24 05:39:00 +00:00
matt f5d7ce3d2f Add support for Cortina Systems SL3516 eval board. 2008-10-24 04:23:18 +00:00
matt bca83f03da Add pci_conf_hook entry. Add pc_cfg_cmd cell for pci_conf_write optimization. 2008-10-24 04:08:48 +00:00
matt 5e827473c5 fix typo (thx nick) 2008-10-23 21:38:39 +00:00
matt c6d8e2874c Rework syscall.c similar to i386. Saves 3KB 2008-10-23 18:13:52 +00:00
aymeric c1b8e3521a pass the right sensor types so that the kernel doesn't panic() on my
iBook G3
2008-10-23 07:35:46 +00:00
matt a96df19b68 Don't enable L4 emul. Add some usb stuff. 2008-10-22 17:38:59 +00:00
matt be32a7ef3c Adapt to the 3530 address spaces. 2008-10-22 17:29:33 +00:00
hans af5e538279 fix userret() and resurrect cpu_setfunc() to make vax build again. ok by matt. 2008-10-22 11:24:28 +00:00
matt f3868737d3 Initial BEAGLEBOARD support. Compile tested only so far. 2008-10-22 10:50:56 +00:00
matt fbba39f598 Switch icu to CFATTACH_DECL_NEW. Fix typo. Add 3530 definition. 2008-10-22 10:45:47 +00:00
ad 938672fb9c +wbinvd 2008-10-22 08:42:38 +00:00
jnemeth a44b3bd750 add pseudo-device drvctl 2008-10-22 07:23:42 +00:00
matt 9be6da6c71 Add TISDP2420_INSTALL and remove md from TISDP2420 2008-10-21 23:45:06 +00:00
cegger b72e8c4339 catch up with amd64: add hvm_op hypercall 2008-10-21 22:35:25 +00:00
cegger 397d181874 The 'sc' in xenbus_sc implies a softc, but it is actually a device_t. Since the device_t/softc split you can't cast a softc out of a device and vice versa.
Therefore rename xenbus_sc to xenbus_dev to prevent any possible confusions.
2008-10-21 21:55:44 +00:00
cegger 7395238cc5 xenbus_probe_init():
- use xendomain_is_dom0()  (from jym@)
- replace return with kthread_exit(0)  (from jym@)
- cleanup error handling
- plug memory leak in error path
- use aprint_error_dev for error messages (from jym@)

xenbus_attach():
- use aprint_error_dev for error message
2008-10-21 21:28:05 +00:00
matt 736e9962f0 Add Cortex cpus 2008-10-21 19:03:24 +00:00
matt 31ebcdb4fc Use #ifdef, not #if 2008-10-21 19:01:54 +00:00
matt 383e2b5dad Adapt to SA (conditional KERN_SA) and add cpu_setfunc 2008-10-21 19:01:00 +00:00
matt 518bc3b66a Add GPIO_BASEx depending on which CPU. 2008-10-21 18:50:25 +00:00
cegger 2de31871b9 introduce two macros: xendomain_is_dom0() and xendomain_is_privileged(). Use them. 2008-10-21 15:46:32 +00:00
ad d1b01a3709 Provide a small inline wrapper for sysent::sy_call() and use it to store
the active syscall description in struct lwp. To be used at some future
point to prevent unloading of modules that provide syscalls, while the
syscalls are in use.
2008-10-21 12:16:58 +00:00
ad a9327b33e2 Undo revivesa damage to userret(). 2008-10-21 11:51:23 +00:00
cegger 331c30d3a5 catch up with GENERIC
- add verbose options (commented out)
- add descriptive comments
- sort them alphabetically
2008-10-21 10:13:23 +00:00
macallan 7fef38b51e If output-device contains a video mode specifier ( as in
screen:r1152x900x76 ) cut it off and pass it to the console driver. This
way radeonfb has a fighting chance to setup a mode similar or identical to
the firmware's.
2008-10-21 06:07:14 +00:00
wrstuden 15e53296cb upcallret() will work much better if it's not in the middle of another
routine!
2008-10-21 04:16:59 +00:00
christos 58120dc797 forgot one more pie to disable. 2008-10-20 20:00:57 +00:00
christos 44c25f2fda disable PIE for boot code. 2008-10-20 03:02:07 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
snj 682ea0e2b3 s/explicitely/explicitly/ 2008-10-19 21:27:46 +00:00
marcus e4036a331d Removed a local variable that is no longer needed (should have been removed in last commit...) 2008-10-19 21:24:20 +00:00
marcus 8a975ad955 Replaced funky delay loop with a call to DELAY (fixed problems with newer GCCs). 2008-10-19 14:57:22 +00:00
joerg 711cc8fd5d Include opt_multiboot.h to allow the option to work. 2008-10-19 14:12:28 +00:00
mjf 88c41a9303 Fix debug code that had bitrotted. This allows the maple(4) driver to
be compiled with MAPLE_DEBUG defined.

	o line 798: variable buf shadows previous local
	o line 1425: event_thread is no longer a struct proc but now is
		     a lwp_t. Use the correct p_pid member.
2008-10-19 14:05:49 +00:00
joerg 2201ddb77c Add u3g entries in kernels that have ugensa as well. 2008-10-19 11:34:31 +00:00
christos 393453b724 fix typo 2008-10-19 03:39:26 +00:00
bouyer f1567130a6 Don't use a pointer to vm_map_entry after releasing the vm_map_lock().
Pointed out by yamt@.
2008-10-18 16:59:52 +00:00
martin f219f266bb Include saframe.h, fixes PR port-m68k/39761 2008-10-18 13:38:42 +00:00
cegger fa517365e8 for AMD CPUs: utilize new ci_feature4_flags field and check if SVM is present & disabled by the BIOS.
If so, then print this information in the dmesg, but only once for cpu0.
Don't do this check in a Xen DomU.
2008-10-18 09:08:34 +00:00
nakayama 013857af9f Change type of per-CPU event counters to EVCNT_TYPE_MISC. 2008-10-18 04:41:14 +00:00
nakayama b585d2d805 - fix corner case bugs.
- avoid unnecessary write backs.
- remove meaningless local variable usages.
2008-10-18 04:20:37 +00:00