jmcneill
eb0ad8c7a7
let kernel makefile override *.d targets
2011-08-28 23:15:53 +00:00
jym
cb1f14140c
VIRQ_TIMER virqs are allocated and tracked in a array
...
(virq_timer_to_evtch, indexed by cpuid) different from the
VIRQ <> event channel one (virq_to_evtch, indexed by event channel ID).
This is fine: fix a "harmless" bug that resulted in the event
channel of VIRQ_TIMER getting lost during bind as it was not stored
in the proper array.
"Harmless" because it is not critical for -current, however in the Xen
save/restore branch this completely cripples restore. Xen clock gets
suspended, but never comes back (fetched channel ID being invalid). Oops.
Add a small comment so we can better see the "get => allocate? => set"
chain of actions when binding/unbinding event channels.
2011-08-28 22:55:52 +00:00
jym
4128291e47
KNF, white spaces and comment typo fixes.
2011-08-28 22:36:17 +00:00
mrg
e3a2fad897
apply some always_inline attribute to setpsr and spl*. while i am
...
not yet sure exactly why this is necessary, but does avoid crashes
seen on sparc INSTALL with gcc 4.5.
2011-08-28 22:30:09 +00:00
jym
1751c709ef
Be more precise for Xen: +++++ is only valid for Xen domUs. dom0 uses
...
the same key sequences as i386/amd64.
2011-08-28 22:09:36 +00:00
jmcneill
61d5347ce8
cpu_reboot: only call thunk_abort if RB_DUMP is set
2011-08-28 21:31:41 +00:00
wiz
f91d202feb
Move a sentence to where it makes more sense.
2011-08-28 21:25:11 +00:00
jmcneill
878807041a
turn off input echo and buffering
2011-08-28 21:21:05 +00:00
jmcneill
bb6843bc98
add thunk_tcgetattr and thunk_tcsetattr
2011-08-28 21:19:49 +00:00
martin
dc72817057
Rename isbad argument to is_bad - stupid namespace pollution and ancient
...
bad sector routines interfere on some archs and cause global shadowing
warnings.
2011-08-28 20:49:30 +00:00
jmcneill
5a2b8072e4
return 'error' not 0, fixes non-module build
2011-08-28 20:37:06 +00:00
jmcneill
7dc79b6997
return 'error' not 0, fixes non-module build
2011-08-28 20:22:42 +00:00
reinoud
4506c7ee5d
Jump to `userland' or the other function specified in the pcb's ucontext
2011-08-28 19:41:34 +00:00
reinoud
d939ef9d28
Update trapframe and pcb
2011-08-28 19:40:26 +00:00
reinoud
5bff7aba43
Implement redementary setregs()
2011-08-28 19:39:42 +00:00
reinoud
6a43d1ff24
Clean child_return()
2011-08-28 19:39:05 +00:00
reinoud
8ee1de5709
Don't use the content of trapframe yet until we know how to use fill it
2011-08-28 19:38:20 +00:00
reinoud
28dc9d5982
Add thunk_makecontext_trapframe2go()
2011-08-28 19:37:15 +00:00
gson
61dd722e5c
Golden output was not so golden after all
2011-08-28 19:09:34 +00:00
jmcneill
ef4207f305
pull in sys/mount.h; build fix for amd64
2011-08-28 18:48:46 +00:00
jmcneill
c252921e46
both LINUX_USRSTACK32 and USRSTACK32 need to be defined for linux32
2011-08-28 18:48:14 +00:00
wiz
10b0d879be
Minor cleanup.
2011-08-28 17:21:28 +00:00
jmcneill
c8d7979553
add dependency on "drm" module
2011-08-28 17:18:31 +00:00
wiz
6964284f70
New sentence, new line.
2011-08-28 17:15:16 +00:00
wiz
4776eb0a7a
Use Cm to mark up command arguments. Use An -nosplit to avoid linebreak in sentence.
2011-08-28 17:10:37 +00:00
elric
97d0788466
Revert prior inadvertent checkin.
2011-08-28 16:33:51 +00:00
elric
95bd2d4a1e
Remove crypto/dist/heimdal and its associated build infrastructure as
...
it has been replaced by crypto/external/bsd/heimdal.
2011-08-28 16:21:57 +00:00
jmcneill
97d971731f
add mach64drm, mgadrm, r128drm, savagedrm, sisdrm, and tdfxdrm modules
2011-08-28 16:19:07 +00:00
jmcneill
5494668f55
Split out ati_pcigart into a separate module so it can be shared with r128drm
2011-08-28 15:56:21 +00:00
jmcneill
eb1862a454
WARNS=3 is the default
2011-08-28 15:48:19 +00:00
gson
d2c5449570
fix the sparc build
2011-08-28 15:46:26 +00:00
jmcneill
54d6e22c5d
set default WARNS for modules to 3 -- the only one that needs < 3 now is pf
2011-08-28 15:40:49 +00:00
jmcneill
1343ee48da
build with WARNS=3
2011-08-28 11:36:17 +00:00
elric
9f9617f826
Change the location of version.h from the old Heimdal srcs to the
...
new srcs.
2011-08-28 11:20:16 +00:00
elric
1ea30656a2
Change the location of version.h from the old Heimdal srcs to the
...
new srcs.
2011-08-28 10:28:35 +00:00
mrg
a29cead266
fix sparc UP kernels with GCC 4.5, with special thanks to help from
...
mlelstv@ tracking down the real issue.
sp_tlb_flush() makes various assumptions about the ABI and what GCC
will do with the rest of this function. the inputs were not referenced
by name but only as "%o0" etc inside the asm. the result was that GCC
was not filling in the function parameters before calling it because
they were not used in the function. so, sp_tlb_flush() was getting
random data for it's inputs. oops.
for now, convert 2 asm() calls to pure C, and mark the inputs for
the sta calls. this makes GCC generate the right code, but it still
isn't entirely optimal.
ideally a pure C version would exist, but that adds non-trivial
overhead (15 instructions vs 23 or so.)
one more enhancement to make here would be to assign the %o3, %o4 and
%o5 usage into explicit temp variables, instead of assuming that they
are going to be free to use.
2011-08-28 10:26:15 +00:00
bouyer
fcb4b3c5b0
Revert previous and fix properly by just removing the #error and a bogus
...
KASSERT() (these 2 are leftover from the experiments on the fuloong
and were not intended to be commited).
2011-08-28 10:21:41 +00:00
christos
694c2250cf
make it compile with SMALLPROG
2011-08-28 10:13:03 +00:00
christos
47b3217165
make this compile.
2011-08-28 09:43:25 +00:00
christos
df4f0e8339
remove strpct copts
2011-08-28 09:39:44 +00:00
christos
e29e424724
Make this compile again without WDC_NO_IDS.
2011-08-28 09:32:21 +00:00
mbalmer
c33b991f31
Fix build (strcpt fallout).
2011-08-28 09:02:51 +00:00
mbalmer
eba5829387
Remove duplicate static.
2011-08-28 08:43:02 +00:00
jnemeth
7c99820106
add TINLA -> this is not legal advice
2011-08-28 08:41:01 +00:00
mbalmer
b6211abfc7
Initialize local variables that previously were global (user, group).
2011-08-28 08:32:47 +00:00
hannken
8dc51ab7d8
Print the warning message on mount once.
...
Should fix PR #42795 (patch to make mounting union filesystems less obnoxious)
2011-08-28 08:27:57 +00:00
christos
d99091ea8b
use strpct from libutil.
2011-08-28 08:24:42 +00:00
christos
bc6c0498a1
- static/__dead
...
- use strpct from libutil
- fix off by one in format
2011-08-28 08:20:58 +00:00
christos
d44afdf0b0
add strpct man mage
2011-08-28 08:20:29 +00:00
mrg
02056ed4a4
emit some linker -Map files so that we can figure out what symbols
...
in the boot loaders are.
2011-08-28 08:03:49 +00:00