nakayama
08b2d996d1
Make buildable w/o options SUN4V.
2013-12-29 12:36:30 +00:00
nakayama
9476feea60
CI_UPAID has been renamed to CI_CPUID.
2013-12-28 11:12:09 +00:00
nakayama
296c58c0d7
Add SUN4V to opt_sparc_arch.h.
2013-12-28 11:09:33 +00:00
nakayama
36e6c2c76d
Make 32-bit kernel buildable again.
2013-12-28 11:08:56 +00:00
tsutsui
2098d815c2
Add preleminary support of 4bpp LUNA framebuffer.
...
Changes details:
- prepare and switch 4bpp rasops functions that read/write all 4 planes
and also handle both fg and bg colors
- make 1bpp ops use first plane on write rather than common bitmap plane
(which is prepared for multiple plane write with raster ops)
- prepare 4bpp allocattr function to handle ANSI 16 color text
- split omrasops_init() function for each bpp
- move struct hwcmap from softc to hwdevconfig to sync palette values
on initialization
- allow mmap(2) against all available planes
Now we can use ANSI 16 color text console and also can
demonstrate mlterm-fb with color sixel graphics and wallpaper.
XXX: Xserver needs much more work.
2013-12-28 09:17:23 +00:00
matt
a49db314d1
Bump SYMTAB_SPACE
2013-12-27 22:13:32 +00:00
palle
f4d9eaa0a8
a) make the hunt through the cpus list more generic b) sun4v: ensure that the interrupt stack is mapped permanently and the TSB is setup properly - parts from OpenBSD. OK martin@
2013-12-27 21:11:19 +00:00
matt
e17715169a
Switch to using FP instructions instead of cp10/11 instructions.
2013-12-27 12:16:01 +00:00
matt
cc0c93bfa4
Pass -mfpu=vfp so GAS won't complain about vmsrne
2013-12-27 04:41:29 +00:00
rkujawa
3eb32fc6e9
Implement the probe procedure for ACA500. Now the user just needs acafh0
...
compiled in his kernel and it all should(tm) work.
Due to lack of obio in amiga port, the probe is called directly from mbattach().
This is going to change with the introduction of obio for all non-autoconfig
expansions.
2013-12-26 20:38:11 +00:00
joerg
1d8e66d860
Replicate mcr with equivalent vms instruction.
2013-12-26 18:49:23 +00:00
joerg
082e86b465
dsb is preferred for post-armv7 CPUs.
2013-12-26 00:19:07 +00:00
joerg
6ade012852
Use symbolic form for the third argument of mrc.
2013-12-25 22:04:28 +00:00
jakllsch
42b1fe2393
Give cpu_comcnprobe a chance of working on Mode 2 PCI config space.
2013-12-25 17:24:39 +00:00
msaitoh
0f129fa49e
move XCR0 definitions to next to CR0's.
2013-12-25 13:14:36 +00:00
matt
57f4756003
Use the right BCM563XX symbol
2013-12-24 21:59:59 +00:00
jakllsch
28bbad2d7d
Obtain CR0_PE constant from <x86/specialreg.h> rather than a local #define.
2013-12-24 19:00:56 +00:00
matt
fd8c0f1ad6
Make sure _edata is aligned to a 8-byte boundary.
2013-12-24 17:03:07 +00:00
matt
fac6cd2816
Make sure _edata starts on a 8-byte boundary.
2013-12-24 17:00:39 +00:00
christos
0a2552741e
use __func__
2013-12-24 15:42:56 +00:00
skrll
c6f4b22b79
Revert previous commit. It was an accident.
2013-12-23 13:08:00 +00:00
msaitoh
70dd5b41f9
CPUID leaf 2 and 4 are only for Intel processors.
...
Almost the same as usr.sbin/cpuctl/arch/i386.c rev. 1.52.
2013-12-23 11:40:57 +00:00
kiyohara
4200b0bab8
Support to check the clock gating for Armada XP in armadaxp.c.
...
Also move the checking for clock gate of Kirkwood into kirkwood.c.
2013-12-23 04:12:09 +00:00
kiyohara
c17671e989
Move Misc Registers from mvsocreg.h to armadaxpreg.h. These registers only
...
Armada XP. The misc_base initializes in initarm() instead of mvsoc_bootstrap().
2013-12-23 03:19:43 +00:00
kiyohara
bde63c5a67
Fixup model value for Kirkwood 88F6192.
...
Thanks for lwazidub at gmail com.
Add some KIRKWOOD_MISC_* Registers.
s/AUDIOSDIO/AUDIO/.
2013-12-23 02:52:47 +00:00
kiyohara
add0f253cc
Enable mvgbe and makphy.
2013-12-23 02:37:35 +00:00
rkujawa
7598b3c28a
Changes to ACA500 support:
...
- Add support for second (aux) CF slot.
- Rework wdc attachment to be more sane.
- Add support for clockport on ACA500.
- Fix style where appropriate.
2013-12-22 23:02:38 +00:00
matt
7aa5a25a2b
Use arm_cksumdata instead of .L_cksumdata
...
pop {..., pc} instead of pop {..., lr}; RET
2013-12-22 16:29:42 +00:00
rkujawa
f7bd7656e0
Add preliminary support for the Individual Computers ACA500 in the form of acahf
...
driver. If ACA500 is equipped with supported accelerator with MMU, it allows
running NetBSD on an Amiga 500.
Since ACA is not autoconf-aware, and the probe procedure does not exist yet, the
driver is activated with the ACA500_SUPPORT kernel option. The acahf driver
is commented out in the GENERIC kernel for now (at least until it stops being
very experimental and hackish).
When it comes to ACA-specific hardware, for now the boot CF slot works. Support for everything else is incoming...
2013-12-22 02:21:51 +00:00
tsutsui
a6e2218d95
Add and enable wsmux(4) in GENERIC (for mlterm-fb demonstration).
2013-12-21 17:12:36 +00:00
matt
015a4426f3
When restoring SPRSR, use spsr_fsxc not spsr_all so bits[23-8] are restored.
...
This should fix use of simd instructions that rely on the GE bits.
2013-12-20 07:01:06 +00:00
matt
053c552b29
If we are exec'ing AAPCS and running on armv6+, disable alignment faults
...
since gcc 4.8 will generate code that uses unaligned accesses.
2013-12-20 06:50:28 +00:00
matt
173c27211d
Add CPU_IS_ARMV6_P() macro
2013-12-20 06:48:09 +00:00
joerg
9373e80503
Use explicit register pairs as arguments for ldrd.
2013-12-19 23:48:44 +00:00
joerg
bf8998f579
Make SYMTAB_SPACE a plain number, the expression creates invalid syntax
...
constructs with Clang.
2013-12-19 22:45:38 +00:00
joerg
ffb4683716
Bump SYMTAB_SPACE to 600k for clang.
2013-12-19 22:45:02 +00:00
joerg
cab640eb16
ist_maps is only used by code in #if 0, so apply it here as well.
2013-12-19 22:13:38 +00:00
skrll
4c748a0caf
Remove unused variable
2013-12-18 13:03:59 +00:00
skrll
615e0974de
Initialise len in ti_iic_do_{read,write}.
...
Is this worth a pullups?
2013-12-18 12:54:35 +00:00
skrll
e1d983db73
Deal with unused variables.
2013-12-18 12:54:01 +00:00
skrll
2c7ba894dc
Remove unused variable.
2013-12-18 12:53:26 +00:00
skrll
2facbfc501
Remove unused variables.
2013-12-18 12:52:47 +00:00
skrll
cfac49f5f3
Silence gcc 4.8
2013-12-18 12:43:59 +00:00
martin
19817e28e0
The "close" call returns no arguments
2013-12-18 10:09:56 +00:00
msaitoh
5aff38d633
Fix comment.
2013-12-18 03:20:19 +00:00
joerg
e6e0935156
Mark bcmrng_write_4, bcmccb_write_4 and bcmccb_read_4 as unused
2013-12-17 13:13:26 +00:00
joerg
df74496f3d
armgic_priority_to_ipl is only used in #if 0'd code, so apply that as
...
well.
2013-12-17 13:12:45 +00:00
joerg
1f704fde40
delta can't be negative. Wrapped value is seen as large positive, so
...
covered already.
2013-12-17 13:11:18 +00:00
joerg
9d9e9fc48d
Initialiase nop count to avoid uninitalised use warnings from Clang.
...
XXX Nop should be spelled in a better way
2013-12-17 01:29:39 +00:00
joerg
b6c4ec7e11
Mark tmr0_read and tmr1_read as unused.
2013-12-17 01:28:56 +00:00
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