joerg
9b22fabbbc
Nuke __raise.
2013-12-17 01:28:04 +00:00
joerg
0c87c94ac0
Write out register pairs for strd.
2013-12-17 01:27:21 +00:00
palle
418e019b05
Updates to pmap_bootstrap() for sun4v - parts from OpenBSD - OK martin@
2013-12-16 20:17:34 +00:00
mrg
9408126e02
apply __diagused where appropriate and remove useless variables
2013-12-16 15:48:29 +00:00
mrg
635e88e2a7
- remove unused variables
...
- use (void) when we don't care about the return value
- move variables inside their usage #if
2013-12-16 15:46:57 +00:00
mrg
d07fd9689b
- remove unused variables
...
- use (void) when we don't care about the return value
2013-12-16 15:45:29 +00:00
mrg
8f515fa69b
apply __diagused where appropriate.
2013-12-16 15:44:41 +00:00
joerg
69fd5d473d
Move flags for ARM's APCS ABI into a common variable. Add some forces to
...
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
2013-12-15 18:08:37 +00:00
skrll
1fecb92877
Trailing whitespace
2013-12-15 09:14:09 +00:00
skrll
a85d34a9ea
Trailing whitespace.
2013-12-15 09:13:47 +00:00
christos
dbf7e7e879
Add -Wno-uninitialized with -Os so that we don't get spurious gcc warnings.
2013-12-15 07:52:53 +00:00
christos
26892b74da
Add linted comments.
2013-12-15 03:45:07 +00:00
tsutsui
612c55f831
Initialize capabilities in struct wsscreen_descr per omrasops settings.
...
Now REVERSE characters are drawn properly.
2013-12-14 19:51:13 +00:00
tsutsui
b31c3e581b
Make omrasops copycols() op work even if columns are not 32 bit aligned.
...
This means command line editing works properly in any cases.
The bitcopy strategies for 1bpp copycols() op are taken from
recently fixed MI sys/dev/rasops/rasops_bitops.h.
GETBITS() and PUTBITS() m68k asm macro are taken from hp300.
Tested on both 1bpp (on LUNA-II) and 4bpp (on LUNA) framebuffers.
2013-12-14 19:27:41 +00:00
matt
6dbb00d82d
If we can't enable VFP/VFP2 via the CPACCESS register, bail since there
...
isn't a VFP.
2013-12-14 15:47:18 +00:00
skrll
7c36e1d910
Sprinkle __unused.
2013-12-14 09:52:33 +00:00
nakayama
00399ad2af
Remove duplicate/unused declarations.
2013-12-14 05:28:47 +00:00
christos
32742370f4
use CPU_INFO_ITERATOR instead of int.
2013-12-13 10:31:05 +00:00
dsl
25a3e10fc1
Since regs->fxstate is actually of type 'struct fxsave64' use a structure
...
copy instead of a 'not obviously incorrect' memcpy().
2013-12-12 22:41:03 +00:00
dsl
1173bfa79b
Remove the fields that were used to save the i387 fp state on interrupt.
...
They were written but never read.
Possibly they should be saved for 32 bit processes, but that might be a relic
from real i387 where the fpu was actully asynchronous.
2013-12-11 22:06:51 +00:00
msaitoh
7abb5a02b6
Make new function named tsc_is_invariant() to avoid code duplication.
...
The behavior of acpicpu_md_flags() will change on some CPUs because
the detecting code of invariant TSC is replaced with newer code.
2013-12-11 02:14:08 +00:00
macallan
ccab43d8c7
shut up an unused variable warning that shows up in UP kernels
2013-12-10 17:24:47 +00:00
joerg
6b39b5ec99
Move alignment attribute onto the types, not the variable instances.
...
Drop (unused) packed attribute.
2013-12-10 16:30:36 +00:00
dsl
63182a7c15
Include machine/npx.h here.
...
The only file that needs 'struct freebsd_save87' includes it already.
2013-12-09 17:39:53 +00:00
wiz
d860f590d4
Fix typo ("then" instead of "than")
2013-12-09 09:35:16 +00:00
dsl
e3332f3a4a
Rename the fields of 'struct envxmm' (itself badly named) so that they
...
are different from those used for the x87 fpu.
Use a union to describe the 64bit 'address' field so that it correctly
spilt for 32bit binaries.
The freebsd emulation defined its own 'struct freebsd_env87' that the
code just assumed matched the netbsd one.
Since this is a hardware structure, just use the netbsd one.
This shouldn't change the binaries except that 'en_fos' used to be
incorrectly a 32bit field.
2013-12-08 20:45:30 +00:00
dsl
7d3a3fd1aa
Remove the now-unused CPU_MAXMODEL and CPU_DEFMODEL
2013-12-08 18:08:34 +00:00
dsl
c4cd1a519d
Add some definitions for cpu 'extended state'.
...
These are needed for support of the AVX SIMD instructions.
Nothing yet uses them.
2013-12-08 18:00:51 +00:00
palle
b11afb2f13
Add support for running ofwboot on sun4v. Please note that the kernel on sun4v will be loaded properly but when the kernel takes over it will crash immediately since the kernel is not sun4v ready yet
2013-12-08 14:41:28 +00:00
skrll
429fb24601
Mark rv as unused (for now)
2013-12-08 14:37:01 +00:00
jdc
9949853838
Use a double linked list with a static head to track MMU entries.
...
Code from martin@.
Tested on SUN4 (4/330), SUN4C (SS2), and SUN4M (Krups, 4/630).
2013-12-08 10:12:39 +00:00
msaitoh
fed068bb70
Update invariant TSC detect code from both Intel and AMD documents.
...
The best way to check whether the TSC counter is invariant or not is to check
CPUID 80000007.
2013-12-08 04:07:38 +00:00
palle
6886e0915b
Added missing $ to sun4v sypervisor API
2013-12-07 16:54:43 +00:00
palle
fbadee00dd
sun4v hypervisor API - from OpenBSD
2013-12-07 15:36:39 +00:00
nakayama
0d901cb2cd
Timecounter's tc_get_timecount requires only 32-bit (u_int), so
...
omit unnecessary upper 32-bit read from STICK counter.
2013-12-07 11:17:24 +00:00
nakayama
6c1fa3b922
Increase an interrupt depth only in the case of hardware interrupts,
...
and remove the ci_idepth trick in softint_fastintr.
Fixes the following diagnostic panic reported in port-sparc64.
panic: kernel diagnostic assertion "!cpu_intr_p()" failed: file
"../../../../kern/subr_xcall.c", line 351
2013-12-06 21:11:06 +00:00
mrg
8693e10867
fix a register copy in compat_16_sys___sigreturn14() that GCC 4.8
...
picked up (would have read uninitialised, and possibly unmapped data,
but i doubt many people are running netbsd 1.6 mips apps on mips64
hosts yet.)
2013-12-06 13:52:05 +00:00
joerg
13bf828c30
Use -marm for clang builds, too.
2013-12-05 16:26:04 +00:00
matt
50ef47947d
Use armv6z so {ldr,str}ex{b,h,d} won't generate warnings.
2013-12-05 15:53:50 +00:00
jdc
f022349f64
Clarify comment about SER_SZERR.
2013-12-04 18:44:14 +00:00
bouyer
6c985f14ae
Remove the "evtchn_do_event: handler %p didn't lower ipl %d %d\n" printf.
...
With help from Robert Elz we've finally figured out what's going on, and
it actually isn't a bug in the handler, but related to spin mutexes.
When a spin mutex is released, the IPL isn't lowered back if the
curcpu is holding other spin mutexes. This is because mutexes may not
be released in order (and, in this case, the CPU in interrupted while
it holds a spin mutex at IPL < IPL_SCHED).
Also remove the test and resetting the IPL, it will be reset anyway
inside the loop, or at the end of the loop.
2013-12-03 20:51:00 +00:00
joerg
8b058f850e
Don't use cpsr_all/spsr_all with mrs, it doesn't take a mask.
2013-12-02 18:36:10 +00:00
tsutsui
1ff88366ee
Fix off by one in copyrows() backward case.
2013-12-02 13:45:40 +00:00
joerg
e768fe990b
Use format string.
2013-12-01 02:54:53 +00:00
joerg
bac960ac4d
For load/store double, name the second register explicitly.
2013-12-01 02:54:33 +00:00
joerg
d04bc3bcb2
Mark unused inline functions as such.
2013-12-01 02:53:46 +00:00
joerg
f4495b9fbf
Use format strings.
2013-12-01 02:53:07 +00:00
joerg
29a58f29eb
Inform compiler that the volatile assignment will terminate the function.
2013-12-01 02:52:53 +00:00
christos
f0ceb57840
revert fpu/pcu changes until we figure out what's wrong; they cause random
...
freezes
2013-12-01 01:05:16 +00:00
joerg
2506d9eed7
Like asm.h r1.25, don't use (PLT) anymore.
2013-11-30 21:07:59 +00:00
matt
5623148b98
arm doesn't need to use (PLT) anymore.
2013-11-30 20:11:11 +00:00
jakllsch
638fb1b218
Use the size of what's at the bootinfo_userconf pointer, not the size
...
of the pointer itself.
2013-11-27 18:29:45 +00:00
christos
9d605174d9
Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ
...
anymore, all the macros expand to NULL anyway, so this improves readability.
Requested by rmind@
2013-11-27 17:24:43 +00:00
mrg
634d6075be
remove unused variable.
2013-11-27 14:21:31 +00:00
rmind
2312c4ca30
Switch XC_HIGHPRI to run at IPL_SOFTSERIAL i.e. the highest software level.
...
Adjust pcu(9) to this xcall(9) change. This may fix the problems after
x86 FPU was converted to use PCU, since it avoids heavy contention at the
lower levels (particularly, IPL_SOFTNET). This is a good illustration why
software interrupts should generally avoid any blocking on locks.
2013-11-26 20:29:40 +00:00
alnsn
7ca7224ef5
Use __syncicache() in sljit on powerpc.
2013-11-25 23:53:44 +00:00
christos
ebc7bfb61b
nobody uses qchain and it is about to be GC'ed.
2013-11-25 03:01:58 +00:00
christos
8303a39ddc
replace circleq with tailq.
...
XXX: this adds a pointer per mmu entry; we can do better, but it would
require custom lists. Is it worth it?
2013-11-25 02:59:14 +00:00
jakllsch
9c656bb681
The x86 kernel entry point stack arguments are always 32-bit, even on amd64.
2013-11-24 17:20:00 +00:00
jakllsch
156a3d4cd5
use <i386/multiboot.h> instead of <machine/multiboot.h> so this can be
...
compiled for amd64
2013-11-24 17:17:48 +00:00
jakllsch
960017fd29
cast from 32-bit integer to void * though uintptr_t to avoid warnings
...
when compiling for x86_64.
2013-11-24 17:16:28 +00:00
riz
7549ebb3be
Add RAID_DIAGNOSTIC so that code gets built.
...
ok oster@
2013-11-23 23:36:34 +00:00
christos
0ecbcb364a
convert from CIRCLEQ to TAILQ; remove open coding.
2013-11-23 22:52:40 +00:00
christos
ba744f57a8
convert to TAILQ, remove open-coded CIRCLEQ
2013-11-23 22:48:00 +00:00
christos
ba1db258d1
convert from CIRCLEQ to TAILQ, remove open coded access.
2013-11-23 22:31:53 +00:00
riz
30ecc3610e
Comment out npf for now, as we can't have both NPF and PF in the
...
same kernel - rmind has said he'll address this eventually,
and for now PF is more likely to have unnoticed breakage. ALL now
builds again!
2013-11-22 18:58:01 +00:00
riz
bad09cf5aa
Include i386_trap_ipkdb.S so the ALL kernel links.
2013-11-22 01:09:11 +00:00
riz
21d7553eda
Remove stray #ifdef leftover from file split.
2013-11-22 01:07:20 +00:00
riz
202195d3c2
CPUID2FAMILY was renamed to CPUID_TO_FAMILY, apparently this usage was
...
missed.
2013-11-21 22:04:40 +00:00
kiyohara
48489d0202
Add dwctwo and umass.
...
And cleanup.
However dwctwo@plb is buggy...
2013-11-21 14:03:02 +00:00
kiyohara
a1cb7359eb
Move the parameters for obs600 to obs600_autoconf.c. This parameters was set from u-boot.
2013-11-21 13:52:27 +00:00
kiyohara
964b567a32
Support Synopsys DesigneWave OTG on PowerPC 405EX.
2013-11-21 13:33:15 +00:00
martin
acdd726fe5
PR 48384: reorganize struct ieee_ext for sparc64 to only use a high/low
...
part for the mantissa.
Adjust arch specific code accordingly.
2013-11-20 22:22:20 +00:00
msaitoh
66501cca1f
- Add some AMD Fn80000001 extended features %ecx bits definitions from
...
the document (AMD64 Architecture ProgrammerVolume 3: General-Purpose and
System Instructions. Document revision 3.20)
- "s/MXX/MMXX/" because this bit is "MMX eXtention".
2013-11-20 17:50:39 +00:00
jruoho
3649cbb139
Allow 4-bit range for MSR_THERM_CONTROL.
2013-11-20 13:52:30 +00:00
kiyohara
4d2dd5e114
Rename marvell_system_reset_old from marvell_system_reset.
...
And add reset function for ArmadaXP. It named marvell_system_reset.
2013-11-20 12:59:21 +00:00
kiyohara
d0eef02cbd
Initialize mvTclk in SOC_getclks() before call consinit().
...
And more fast call set_cpufuncs().
2013-11-20 12:52:24 +00:00
kiyohara
65b3a9e3e1
Add defines for MISC registers.
2013-11-20 12:36:16 +00:00
kiyohara
933c9e9b08
Support __HAVE_PIC_SET_PRIORITY for Armada XP.
2013-11-20 12:16:47 +00:00
kiyohara
725fdb27e9
Fix IPL for cascading pic to HIGH.
2013-11-19 12:46:43 +00:00
matt
d1068917cb
Before checking for an exception, make sure we own the VFP.
2013-11-18 18:02:01 +00:00
skrll
9460c4a119
Really remove unused variable.
2013-11-18 15:34:06 +00:00
jakllsch
aa37094d90
Bring arch/i386/stand bootinfo structure in line with the kernel's
...
fixed-layout understanding of it.
2013-11-18 03:52:45 +00:00
chs
29a841b371
implement the *at() syscalls.
...
bring the unimplemented syscall list up to date.
2013-11-18 01:32:52 +00:00
martin
d0d1f96433
Remove an unused variable
2013-11-17 19:22:06 +00:00
martin
93ac0a3a04
Remove unused variable
2013-11-17 18:08:08 +00:00
alnsn
5345f80ec7
Enable sljit and bpfjit on powerpc.
2013-11-17 14:34:11 +00:00
alnsn
988b97e4aa
Always define SLJIT_CACHE_FLUSH(), start include guards with '_' and use _LP64 guard.
2013-11-17 12:01:58 +00:00
skrll
1c7b9e373b
Remove unused variables.
2013-11-17 08:32:55 +00:00
skrll
4b9dad715c
Use -Os to save space. Required by gcc 4.8.
2013-11-17 08:21:01 +00:00
nisimura
6342a7e6fd
fix a botch in comment.
2013-11-17 04:45:35 +00:00
mrg
2a627e63bd
- convert CPU_INFO_ITERATOR in the !MP case to be __unused, and convert
...
all the iterators to use it
- print the right variables in nmi_hard_msiiep() (thanks set-but-unused)
- move variable inside usage #ifdef
- use (void) instead of a "volatile int" junk variable
- remove unused variables
2013-11-16 23:54:01 +00:00
skrll
3568e04ce8
Support PCREL32 (for EH sections)
2013-11-16 17:18:42 +00:00
mrg
c3e6c00ce6
make sure that .text.startup and .text.unlikely end up in the
...
text section. GCC 4.8 ofppc kernels now boot, though they are
unable to load the symbol table correctly.
also tested with GCC 4.5 and ofppc (pegasosII.)
2013-11-16 12:00:21 +00:00
msaitoh
b1a32cacda
Modify some macros and add some new macros for CPU family and model
...
to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new)
CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model.
The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY)
CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY)
CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
2013-11-15 08:47:55 +00:00
skrll
4d28a8e554
Simplify
2013-11-15 06:32:17 +00:00
skrll
3715f6edd9
Removed unused variable
2013-11-14 13:54:08 +00:00
skrll
e0e1a8ccf7
Improve error message
2013-11-14 13:02:57 +00:00
skrll
8d3b2f38cd
Use __debugused
2013-11-14 13:01:26 +00:00
martin
eeff5755ca
Allow TOPDOWN-VM only for binaries compiled with appropriate code model.
...
No change yet, as __HAVE_TOPDOWN is not yet defined.
2013-11-14 12:11:13 +00:00
matt
181e286267
Make sure CPU_CONTROL_UNAL_ENABLE is enabled for armv7 cpus (should be
...
already but ...)
2013-11-12 17:31:55 +00:00
skrll
24cae30b92
Add CPU_CONTROL_UNAL_ENABLE. New ABIs demand unaligned accesses!
2013-11-12 17:14:39 +00:00
matt
6b160860c2
Deal with ARM32_DISABLE_ALIGNMENT_FAULTS
2013-11-12 17:10:39 +00:00
matt
40df53997f
CPU_ARMV[67] imply ARM32_DISABLE_ALIGNMENT_FAULTS
...
Make it explicit.
2013-11-12 17:05:09 +00:00
msaitoh
6431e0a75a
Check the CPU display model instead of the base model. Re-enable the
...
checking for Atom and Silvermont.
2013-11-12 16:57:30 +00:00
msaitoh
421dcec454
Fix calculation of the cpu family (display family) in x86_cpu_topology().
...
More than bit 3 in cpu_family variable is checked in the function, so the
variable is assumed that it is not the base family but the display family
(base family + extended family).
2013-11-12 16:35:57 +00:00
msaitoh
e79e7d04d8
Revert previos. I accidentally committed a debug code. Sorry.
2013-11-12 16:15:54 +00:00
msaitoh
37d8a76f09
Fix a bug in last commit. Check correct variable.
2013-11-12 16:13:56 +00:00
msaitoh
60a409c1ff
Fix calculation of the cpu model (display model) in cpu_probe_amd_cache().
...
The CPUID2MODEL() must be used only when the CPUID2FAMILY() macro returns
0xf or 0x6. Also fix a bug that CPUID2EXTMODEL() is _ADDED_. The correct way
is shifting the return value of CPUID2EXTMODEL() 4bit left and _OR_ it.
2013-11-12 16:11:39 +00:00
msaitoh
0e93695dc9
Fix calculation of the cpu model (display model) in coretemp_tjmax().
...
The CPUID2MODEL() macro returns only low 4bit, so the checking against 0x17
doesn't work correctly. The correct way is to use the display model.
Remove incorrect extmodel check. Same as FreeBSD.
2013-11-12 15:58:38 +00:00
msaitoh
4ebdac3180
Calcurate the processor family correctly. The extended family bits
...
should be added only when the base family is 0xf.
2013-11-12 15:08:01 +00:00
christos
27021b9452
CID 1128377: Comment out unreachable code; model is only 4 bits wide, so
...
none of these constants can ever match.
2013-11-11 17:02:53 +00:00
jmcneill
3bd31d9d0c
implement md_get_pc and md_set_pc
2013-11-11 13:52:04 +00:00
joerg
70f0cfa164
NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
...
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.
Add a simple test case to ensure that double and long double computation
are working correctly.
2013-11-11 11:10:45 +00:00
jmcneill
bf2b340556
use MACHINE_CPU instead of MACHINE_ARCH
2013-11-10 22:08:58 +00:00
christos
67cce5d785
more unused variable fixes
2013-11-10 20:18:51 +00:00
christos
7faae907b4
fix unused variable warnings
2013-11-10 20:09:52 +00:00
jmcneill
ccb870ba91
usermode arm md stub
2013-11-10 20:03:46 +00:00
jmcneill
78495523cf
add usermode kernel config
2013-11-10 20:01:55 +00:00
jmcneill
be0aab8e86
arm support for syscallemu, not tested
2013-11-10 19:58:38 +00:00
jmcneill
308ee51638
support building on arm
2013-11-10 19:52:01 +00:00
jmcneill
6638042950
define _KMEMUSER before including machine/vmparam.h
2013-11-10 19:51:00 +00:00
jmcneill
c3534d1853
use MACHINE_CPU instead of uname -p; create symlink for arm headers
2013-11-10 19:49:49 +00:00
christos
0101d11c56
fix unused variable warnings
2013-11-10 18:27:15 +00:00
christos
9f0d33d554
fix unused
2013-11-10 17:18:32 +00:00
jnemeth
35562477e8
Change xpq_flush_cache to just do WBINVD letting the hypervisor trap and
...
handle it as MMUEXT_FLUSH_CACHE is a privileged hypervisor operation.
2013-11-10 01:19:13 +00:00
christos
abc81f7c5e
use __unused instead of __USE and void cast to mark iterator variable unused
...
where needed (from phone)
2013-11-10 00:50:13 +00:00
christos
25dc998745
fix unused variable warnings
2013-11-09 21:41:03 +00:00
christos
abff20964c
bump md image size
2013-11-09 21:32:55 +00:00
christos
acda221c21
fixed unused variable warning
2013-11-09 21:31:45 +00:00
christos
7500b90ae1
__USE cii
2013-11-09 20:32:59 +00:00
christos
d0dae2300a
remove unused
2013-11-09 18:31:53 +00:00
jmcneill
a81af76ba0
wrap opt_* includes with if defined(_KERNEL_OPT)
2013-11-09 17:28:58 +00:00
christos
15f7653b6d
fix unused variable warnings
2013-11-09 02:54:11 +00:00
christos
bf437e30a3
remove unused code
2013-11-09 02:23:57 +00:00
msaitoh
c09afb26e1
space -> tab
2013-11-08 19:05:52 +00:00
nakayama
30bd626232
"machine_model" is now declared in machine/autoconf.h.
2013-11-08 15:44:26 +00:00
nisimura
5818b5f944
use __diagused for KASSERT only variable.
2013-11-08 04:32:58 +00:00
nisimura
77418f57bd
resort the sys/cpu.h way for unused cii iterator in !MULTIPROCESSOR case.
2013-11-08 03:59:35 +00:00
christos
8b0b2b2c69
fix unused variable warnings
2013-11-08 03:12:17 +00:00
christos
f20392b99b
fix unused variable warning
2013-11-08 02:24:53 +00:00
christos
7d82f49661
Fix unused variable warnings
2013-11-08 02:24:11 +00:00
christos
8c82a95aec
fix unused variable warnings
2013-11-08 02:23:52 +00:00
christos
90f2e15193
fix unused variables
2013-11-08 01:41:45 +00:00
christos
f148a5082f
fix unused variables
2013-11-07 21:45:04 +00:00
christos
982091c4c2
Revert previous change:
...
gcc-4.8.1 converts -mc68000 to -mcpu=68000 which breaks gas. gas even
breaks with -mcpu=68010, but works with -march=68010 so we'll go with that.
2013-11-07 19:52:56 +00:00
msaitoh
caea426a27
Get bus clock for some Atom processors.
2013-11-07 18:17:13 +00:00
christos
b1f1b4f3f7
fix unused warnings
2013-11-07 17:50:18 +00:00
christos
e9af1dcdbe
don't duplicate definitions
2013-11-07 17:50:02 +00:00
nisimura
5c6968285a
move DIAGNOSTIC only variable inside #ifdef
2013-11-07 15:26:36 +00:00
nisimura
9e18f2cee2
shut off gcc 4.8 unused variable warnings.
2013-11-07 14:51:36 +00:00
christos
86a5a46882
fix variable usage
2013-11-07 02:37:56 +00:00
christos
c1e26d7e6a
add ifdefs for kernel only variable
2013-11-07 01:49:46 +00:00
christos
e159cab062
avoid confusion with 68010 and 68020. The sun3 always was a 68020, and
...
the code assumes that.
2013-11-07 00:43:15 +00:00
christos
15607b72ed
fix unused variables
2013-11-07 00:42:42 +00:00
mrg
8284ffb919
gcc 4.8 issues:
...
- avoid running over the end of an array (this is a real bug, but
i didn't really look closely at what memory is clobbered. it
may not actually matter.)
- move variables inside their #if usage.
2013-11-06 20:19:03 +00:00
mrg
f6ff08e141
- move variables inside their #ifdef use
...
- remove unused and set-but-unused variables
- use __USE() in a particularly ugly case
with these, and a couple of other changes, amd64 gcc 4.8.1 world
is able to complete build.sh release.
2013-11-06 06:23:15 +00:00
christos
db0f5e00f8
remove unused variables
2013-11-06 02:41:12 +00:00
christos
d1ec8171bd
sprinkle diagused
2013-11-06 02:37:58 +00:00
christos
7383673565
ifdef notyet code.
2013-11-06 02:36:36 +00:00
christos
d5b0045acb
move code inside ifdef
2013-11-06 02:35:26 +00:00
christos
d7425d6438
add diagused
2013-11-06 02:34:10 +00:00
christos
d3e1dc41b3
use cii
2013-11-06 02:02:00 +00:00
christos
6bdd8d8ebf
initialize cii before using it.
2013-11-05 16:04:13 +00:00
macallan
6f0c714b5f
do what cuda does - if we read garbage from the RTC try a few more times
2013-11-05 11:08:20 +00:00
christos
8a6fbebf2f
fix unused variables
2013-11-04 21:59:15 +00:00
christos
6fceff771f
mark variable unused
2013-11-04 21:57:26 +00:00
christos
1852ef218f
fix pointer cast; mark variable used
2013-11-04 21:54:59 +00:00
christos
8cb7df9be6
make unused.
2013-11-04 21:54:58 +00:00
christos
1b59fcd58b
fix more -mno-thumb.
2013-11-04 21:30:16 +00:00
christos
fe9baffcee
explicitly add -marm
2013-11-04 21:25:05 +00:00
christos
dbd4f70a38
-mno-thumb-interwork is the default, and there is no -mthumb in gcc 4.8
2013-11-04 21:18:05 +00:00
christos
1c9f10af04
remove unused variable
2013-11-04 21:08:14 +00:00
christos
a1859ad18f
no-thumb-interlock is the default, and no-thumb does not exist in gcc 4.8
2013-11-04 21:01:44 +00:00
christos
fdf0a93ace
no-thumb-interlock is the default, no-thumb does not exist for gcc-4.8
2013-11-04 20:58:31 +00:00
christos
248f03693b
convert to flex array
2013-11-04 19:57:29 +00:00
christos
97930220bf
move ifdef'ed out code inside if 0
2013-11-04 16:58:33 +00:00
christos
c91492fbb7
mark variables used
2013-11-04 16:58:14 +00:00
christos
0a5c8333ce
remove unused variable
2013-11-04 16:57:41 +00:00
christos
f49d21d09a
mark variable __diagused
2013-11-04 16:57:32 +00:00
christos
1a89b43e69
make volatile variable as __USED()
2013-11-04 16:56:50 +00:00
christos
0668187f04
remove unused variable
2013-11-04 16:56:17 +00:00
christos
b60f447328
remove unused code
2013-11-04 16:55:31 +00:00
mrg
1ee28a1fe7
- remove set but unused variables
...
- move some variables inside their relevant use #ifdef
2013-11-03 22:27:27 +00:00
mrg
c4746a16b5
- remove set but unused variables
2013-11-03 22:22:03 +00:00
mrg
44f61bfe42
gcc 4.8.1 wants:
...
- remove some set but unused variables
- move some variables inside their usage #ifdef's
- cast to (void) instead of using a dummy return variable
(there are more to come, but this one is now tested with gcc 4.5)
2013-11-03 22:15:57 +00:00
christos
d8965a7292
use __USE() in the iterator variable
2013-11-03 01:12:16 +00:00
christos
6527ec4ecd
move unused variable inside if 0
2013-11-03 01:02:37 +00:00
christos
5f76667e10
more unused inside 0
2013-11-03 00:59:03 +00:00
christos
4049e610ff
move unused code inside if 0
2013-11-03 00:53:11 +00:00
christos
1074f48bc6
sprinkle __diagused
2013-11-02 00:41:58 +00:00
skrll
485097e69b
Remove the bogus CPPFLAGS+="-I$S/../../../include"
...
Prompted by the build problem reported by John Klos
2013-11-01 18:41:06 +00:00
skrll
503545bedb
PR/48342. Add aurateconv as a dependency for vcaudio.
2013-11-01 12:23:12 +00:00
mrg
76122a21da
sprinkle some __diagused where appropriate.
2013-11-01 06:22:46 +00:00
christos
6de650fa02
provide an ldscript for booters that strips the unwind sections.
...
XXX: untested
2013-11-01 00:19:04 +00:00
christos
89392a8d06
provide an ldscript to strip the unwind sections
...
XXX: untested
2013-11-01 00:18:24 +00:00
christos
c4b3b5ae3a
avoid pointer aliasing problems.
2013-10-31 20:31:04 +00:00
uebayasi
8415bb8191
G/C struct user *proc0paddr.
2013-10-30 06:47:18 +00:00
matt
f4eee7a467
Add AARCH64 definitions
2013-10-29 00:45:00 +00:00
matt
31cfc79340
Make sure certain files are always assembled with -marm
2013-10-28 22:52:04 +00:00