Commit Graph

50801 Commits

Author SHA1 Message Date
hubertf
af120bb199 Replace more printfs with aprint_normal / aprint_verbose
Makes "boot -z" go mostly silent for me.
2010-01-31 00:43:37 +00:00
phx
de19fe45f2 Fixed compiler warnings when CV_INT_NUM == 2 or CV64CONSOLE is not defined. 2010-01-30 16:49:14 +00:00
phx
0f34e84a7a Do not crash when ite wasn't configured to be console. 2010-01-30 16:47:05 +00:00
phx
7a2724aa59 Define DCIAS() for amigappc. 2010-01-29 19:56:41 +00:00
mrg
d06de812e8 don't set ksi_errno here. no other MD code does, and one
of the pthread tests demands it.
2010-01-29 05:17:36 +00:00
mrg
801fc55e41 make fpu_mtx visible only ifdef _KERNEL. 2010-01-29 05:14:11 +00:00
phx
8d1fe29ab0 New machine commands for PPC OEA:
bat: prints the BAT registers and translations
mmu: prints MMU registers (sdr1, sr0..15)
2010-01-28 21:10:48 +00:00
phx
1267c66af6 Fixed some more instructions and their operands.
Print the register-indirect operand with displacement in load/store
instructions as d(rN).
Conditional branches are printed with their simplified mnemonic (i.e.
beq instead of bc x,y). Also append the branch-prediction flag +/-i.
Print real labels for 16-bit branches instead of just an offset.
Use the simplified mnemonic cmpw and cmpd, and much more enhancements...
2010-01-28 19:01:32 +00:00
mbalmer
45aabfbe67 Fix language. 2010-01-28 14:05:03 +00:00
phx
1e985e8579 Reverted last commit for db_disasm.c and db_inteface.c.
Sorry, erroneously commited them...
2010-01-28 12:45:01 +00:00
phx
3817671c1d Fixed typo: PPC_OEA64_BIRDGE -> PPC_OEA64_BRIDGE 2010-01-28 12:37:45 +00:00
mrg
85d544cd45 enable LOCKDEBUG
enable bge @ pci
enable ieee1394
2010-01-28 06:04:23 +00:00
mrg
65764deca6 in savefpstate(), make sure we fill in the _first_ read of %fsr into
the fpstate structure, not the last one.  avoids fs->fs_fsr lacking the
traptype field later when fpu_cleanup() is processing it, which leads
to a panic() occuring.

idea, and code suggestions from uwe.
2010-01-28 05:08:11 +00:00
martin
deb09ce52e Properly close the firmware handle before starting the kernel.
This makes netbooting via bge* work.
2010-01-27 22:18:37 +00:00
mrg
495ccd8f3e convert fpulock into fpu_mtx. 2010-01-26 03:06:01 +00:00
phx
949a5c1e8c We will always return chip mem instead of z2 mem for amigappc. 2010-01-24 15:39:50 +00:00
phx
68295da59f No include directive supported in a majors.* file. We have to copy the
port-amiga majors.
2010-01-24 12:17:05 +00:00
phx
069961a3bd Fixed a typo. Make ./build.sh release work. 2010-01-24 10:36:34 +00:00
haad
d636871e36 Finaly fix problems with using WEDGE like devices as xen backend devices. 2010-01-24 04:06:31 +00:00
kiyohara
36e1ccd0db Please calculate KERNEL_PT_KERNEL_NUM from KERNEL_VM_BASE.
Moreover, can define KERNEL_VM_BASE somewhere. (ex. in conf/YOUR_GUMSTIX)
  For instance, allow miniroot.fs over 16Mbytes.
2010-01-24 03:46:48 +00:00
mrg
21cd236200 remove the final uses of DATA_START.
now we can remove the 16KB space reserved at the start of the data segment,
and i now understand why i wrote this now removed comment 3.5 years ago:
"this shouldn't be needed... but kernel usually hangs without it"
2010-01-23 23:39:27 +00:00
mrg
f5a9da5b0c remove most of the code that writes debugging info DATA_START + offset. 2010-01-23 23:06:27 +00:00
mrg
65c616adcc remove CHKPT() macro and uses. it's likely wrong in SMP land and probably should
be replaced with KTR-style uses if necessary.
2010-01-23 22:55:04 +00:00
cegger
51023c610c fix address overflow with 32bit PAE.
Reported and tested by Mark Davies on port-xen@.
2010-01-23 22:32:42 +00:00
mrg
d073a245cf fix a comment. 2010-01-23 21:46:59 +00:00
bouyer
7f3017c5d2 Use paddr_t to store physical address and cast mfn values to paddr_t
before shift. Fix overflow issue preventing xend from working as
reported by Mark Davies on port-xen@
2010-01-23 18:26:37 +00:00
mrg
7c531d9b9e rename cpu_info{}::cpu_name member to cpu_longname, to avoid a potential conflict
with <sys/cpu.h>.
2010-01-23 16:06:57 +00:00
mrg
07b833621b rename a local cpu_name structure member to avoid potential conflict
with <sys/cpu.h>'s.
2010-01-23 15:58:13 +00:00
mrg
4a128212f1 rename pridtab{}::cpu_name to cpu_displayname.
should fix a build error reported by he@.
2010-01-23 15:55:54 +00:00
jruoho
bbbe476240 ACPI_BAT_DEBUG is no more. 2010-01-23 15:40:14 +00:00
kiyohara
bd39102ecb Initialize md_syscall in syscall_intern(). But the md_syscall of ia64 not
support yet.
And remove white-space.
2010-01-23 06:20:31 +00:00
kiyohara
254c86e397 Switch to ACPICA 20090730, and update for API changes. 2010-01-23 06:13:20 +00:00
mrg
43c8973ab2 document powerpc ddb commands. PR#38307. 2010-01-23 01:32:06 +00:00
martin
fb74de11bc Recognize ie @ vme as a network device. 2010-01-22 16:11:26 +00:00
martin
f9e1815aaf Unify the name of the device property to hold a MAC address - there was
no clear majority for either "mac-addr" vs. "mac-address", but a quick
gallup poll among developers selected the latter.
2010-01-22 08:56:04 +00:00
martin
cfecc310ae Copy the "shared-pins" property over to device_props as well. 2010-01-21 15:58:32 +00:00
pooka
6cd1fb47bd remove accidentally committed bit. pointed out by Patrick Welche 2010-01-21 12:02:25 +00:00
martin
eb839ec6d8 Make sure to not provide the global ethernet address for add on
interfaces w/o FCode (the respective driver will know what to do).
2010-01-21 11:43:20 +00:00
martin
38619af42b Split the part out of prom_getether() that deals with the local
firmware device node into a new function.
2010-01-21 11:40:01 +00:00
pooka
e5b23d6072 Move arch-local variable to a better namespace to make build again. 2010-01-21 01:23:14 +00:00
martin
d20519d1b6 Add the mac-address as device property for all network devices 2010-01-20 22:54:22 +00:00
phx
bc6040205b Have to include rtas.h for NRTAS definition. 2010-01-20 17:12:08 +00:00
macallan
efa2da50d8 pass some OF properties as device properties for network devices
namely local-mac-address and shared-pins needed by gem
2010-01-20 16:36:55 +00:00
martin
ed8549d046 Add the mac address as device property "mac-address" to all devices that
look like a network interface.
Also add a boolean "without-seeprom" to all apparently on-board network
interface (which usually have no eeprom of their own on Suns), this
latter can be used to enable driver hacks.
2010-01-20 15:45:52 +00:00
pooka
10fe49d72c Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
2010-01-19 22:06:18 +00:00
tsutsui
e8b9338c3b Use -DLIBSA_PRINTF_LONGLONG_SUPPORT -DLIBSA_PRINTF_WIDTH_SUPPORT
in debug printf()s.
2010-01-19 15:28:51 +00:00
jmmv
098e7f45cb Enable 'options MODULAR' in macppc and shark GENERIC kernels now that the
modules work.
2010-01-18 23:40:06 +00:00
jmmv
a762eed1dd Define kobj_machdep and module_init_md empty functions so that powerpc
kernels (at least macppc) with 'options MODULAR' can be built.
2010-01-18 23:35:51 +00:00
jmmv
c3bed4804d Define an empty module_init_md function so that kernels with 'options
MODULAR' can be built (at least in shark).  Still not working due to
some relocations resolving to too far away symbols though.
2010-01-18 23:04:30 +00:00
rmind
df63e73c6a Reduce the difference between i386 and amd64 procfs MD code.
Prepare for the merge, no functional changes intended.
2010-01-18 22:31:14 +00:00