skrll
821cb88dda
G/C VM_MAX_KERNEL_BUF
2017-02-13 09:46:29 +00:00
joerg
69a2ab8761
Bump the ram disk and miniroot size slightly for clang.
2017-02-09 18:15:07 +00:00
martin
68068a92f5
PR port-sparc64/51925: cosmetic cleanup, no functional change
2017-02-02 08:12:08 +00:00
macallan
a54bdd15c3
be more specific when identifying SuperSPARC CPUs
2017-01-18 21:33:25 +00:00
christos
6802e8e0b8
remove dup definitions
2017-01-14 16:07:53 +00:00
martin
840c51e6d0
Make the copies of the FE_* macros match verbatim to avoid a gcc warning
...
when both ieeefp.h and fenv.h are included.
2017-01-14 12:00:13 +00:00
macallan
4b66d9e2f9
add SX_STBM ( STore Byte Masked ) instruction
2017-01-13 21:49:46 +00:00
joerg
9d57ec4a6c
Don't cast the result of abs() to int, but the argument.
2017-01-11 12:14:32 +00:00
christos
81784756dc
- allocate state if we did not have any in fpregs
...
- make fpstate explicitly start with fpregs for better type checking
- use c11 initializers
2016-12-30 17:54:43 +00:00
cherry
e08917ef90
switch all ports to use uvm_init.c:uvm_md_init()
...
uvm_setpagesize() is now subsumed within this funciton.
2016-12-22 14:47:53 +00:00
mrg
4141b17a9c
remove local lwp_eprio() definition that broke the clang build.
2016-12-14 18:50:56 +00:00
christos
ef2deb33e0
wildcard speaker attachments, now that we can handle many of them.
2016-12-13 20:42:15 +00:00
christos
2437894b76
catch up with sd changes.
2016-12-11 16:25:54 +00:00
christos
219b8dae14
remove VAUDIOSPEAKER for now, will be done differently.
2016-12-10 23:03:22 +00:00
mrg
3f687061b6
rearrange slightly to enable crash(8) to build.
2016-12-10 10:41:07 +00:00
mrg
d141926363
move struct cpu_info and xpmsg into <machine/cpu.h> from
...
<sparc/sparc/cpuvar.h>. this enables them for crash(8)
and this seems more natural to me anyway.
2016-12-10 09:51:43 +00:00
mrg
5f63d1b28b
revert the previous. sparc has no spkr.
2016-12-10 09:44:06 +00:00
nat
03783bb56a
Add a synthesized pc beeper and keyboard bell for platforms with an audio
...
device.
2016-12-08 11:31:08 +00:00
christos
23623c849a
struct cpu_info is varible size when page_size is not fixed.
2016-12-03 16:00:10 +00:00
christos
c0404860d1
mention PAX_SEGVGUARD dependency on FILEASSOC
2016-11-26 13:59:45 +00:00
christos
1394df1c79
cast to register_t because not all 'struct reg' members are the right type.
2016-11-25 14:10:31 +00:00
macallan
2ee28d152e
fix remaining *_TSB_DATA() uses
2016-11-04 20:04:11 +00:00
joerg
6c825a13b7
Macros expanding to defined() expression is not actually correct ISO C
...
behavior. Since it is not clear whether someone might decide to define
the macros to random non-1 values, introduce a level of indirection and
count the same of the helper macros.
2016-10-08 20:30:54 +00:00
christos
6ca166beb3
deal with PIE and SSP
2016-10-01 13:57:44 +00:00
macallan
f2615f2d9a
wipe glyph cache as needed when re-entering text mode
...
now the console is readable again when leaving X
2016-09-16 22:39:35 +00:00
martin
d48a59cf7a
Init the markers array to all 0 - pointed out by Mark Cave-Ayland.
2016-08-31 16:24:34 +00:00
maxv
51cfb529ee
Return zero instead of error, otherwise it looks like it is supposed to
...
return an error; found by brainy.
2016-08-15 08:43:19 +00:00
maxv
eebd41a9d2
Uninitialized var, found by brainy; not tested, but obvious enough
2016-08-15 08:24:05 +00:00
msaitoh
8bc54e5be6
KNF. Remove extra spaces. No functional change.
2016-07-07 06:55:38 +00:00
dholland
2357cddab4
PR 51200 gets in libsa considered harmful: use kgets
2016-06-11 06:38:50 +00:00
macallan
602c62148b
use DEFATTR if we're not the console and can't init defattr.
...
should appease clang
TODO: we should really init the glyphcache whith the first screen
2016-06-02 21:19:24 +00:00
martin
cc645bf7b4
David Binderman in PR port-sparc/51188: simplify while condition
2016-05-30 10:37:14 +00:00
nakayama
0350baf089
Adapt to new sljit.
2016-05-30 09:05:32 +00:00
christos
7b6e3dab7a
We don't want PIE!
2016-05-19 15:41:18 +00:00
nakayama
da6c94469a
Fix (unused) pstate mask bits in tstate and comment.
2016-05-18 07:59:30 +00:00
macallan
d5b3e25a62
cgfourteen needs glyphcache now
2016-04-30 05:24:45 +00:00
macallan
8c670e8bb1
support anti-aliased fonts, glyphcache etc.
2016-04-30 05:23:03 +00:00
macallan
d4cb83d843
sprinkle ()s in macros
2016-04-30 05:22:19 +00:00
macallan
b1ae921ac6
cgfourteen needs vcons
2016-04-21 18:27:29 +00:00
macallan
13f197f799
RASTERCONSOLE is no more
2016-04-21 17:59:18 +00:00
macallan
285788209b
- purge long obsolete RASTERCONSOLE
...
- add mgx
2016-04-13 17:32:27 +00:00
palle
d0242aefce
Rework locking mechanism introduced in rev. 1.21: use __cpu_simple_lock... instead of mutex_... since this causes issues when LOCKDEBUG is defined
2016-04-07 19:46:39 +00:00
palle
0059b91df1
sun4v: Workaround for OpenBoot feature where a 64-bit address is truncated to a 32-bit address. This happends when a write to the console (/virtual-devices@100/console@1) is done. Avoid this by using a static buffer that is mapped below 4GB. Thanks to Tarl Neustaedter for explaining how OpenBoot works. ok martin@
2016-04-01 20:21:45 +00:00
martin
b7bf6f19af
Strip debug symbols from boot code
2016-03-10 20:23:35 +00:00
martin
8d92fc86f0
Deal with _edata not being 4-byte aligned
2016-03-10 20:22:52 +00:00
martin
032d514f64
Add a few includes of bsd.own.mk to avoid broken test conditions
...
on ACTIVE_CC - this might not be the correct fix for PR 50930,
but it avoids the issue.
2016-03-10 09:00:24 +00:00
joerg
a8ff50921f
Ignore unused arguments for clang as we pass assembler flags and the
...
like to the preprocessor-only mode. Conditionalize GCC flags that are
not known to clang accordingly.
2016-02-27 19:26:13 +00:00
joerg
e5174fc3b5
When building with clang, optimise for minimal size and skip frame
...
pointers when possible.
2016-02-27 19:25:08 +00:00
christos
d84c286204
expose the kernel types for standalone code.
2016-01-23 22:31:19 +00:00
christos
4d497c90e6
Hide {p,v}{addr,size}_t and register_t (and a couple more types that
...
are machine-specific) from userland unless _KERNEL/_KMEMUSER and a
new _KERNTYPES variables is defined. The _KERNTYPES should be fixed
for many subsystems that should not be using it (rump)...
2016-01-23 21:22:13 +00:00