kleink
99054d7a6c
Add definitions for C99 fastest minimum-width integer types.
2001-04-26 16:25:19 +00:00
kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
cdcf9f46c5
Add definitions of C99 integer constant macros.
...
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
kleink
9133b51cd8
Replace the 'unsigned __COMPILER_INT64__' construct with a new name,
...
__COMPILER_UINT64__, to be supplied - if such a case is made, it shouldn't
be assumed that the unsigned type-specifier may be applied to it.
2001-04-12 22:01:18 +00:00
leo
3aabea5c70
Remove '_KERNEL' conditionalizing. This break userland apps.
...
Noted by Steve Allan.
2001-04-09 05:35:32 +00:00
tsutsui
06c28be1fe
Install byte_swap.h on make includes.
2001-04-06 14:11:20 +00:00
is
3a27b85296
This only works with data registers.
2001-04-04 19:53:05 +00:00
leo
a22b0cbf4d
Optimize bswap16() and bswap32() functions to inline assembly.
2001-03-30 20:00:05 +00:00
fredette
3eb7866aaa
Added support for the 68010 bus error frame.
2001-03-28 23:08:15 +00:00
takemura
c5fd828440
replace 'long long' with int64_t to compile stand alone program with
...
compiler other than GCC.
2001-01-03 10:08:55 +00:00
itojun
efa2b7073c
make mbstate_t bigger (32 -> 128 bytes).
...
XXX if you have libc after citrus locale import, please recompile libc,
and your applications that use mbstate_t (rather rare). really sorry
for the mess.
2000-12-26 10:35:28 +00:00
itojun
823498203f
populate _BSD_MBSTATE_T_. add warning regarding to rune_t.
2000-12-21 06:03:47 +00:00
scw
4350a7f2b7
Unification of the m68k syscall() function.
2000-12-19 21:09:54 +00:00
scw
b875ed466e
Some micro-optimisations to _spl() and _splraise(), saving one instruction
...
in the former, and three to seven in the latter.
2000-12-11 20:05:33 +00:00
kleink
9cee15bd12
In the ELF toolchain, use __mcount instead of mcount.
2000-12-07 10:14:08 +00:00
leo
f4420dcb03
Revert previous change. I cannot see why this ever worked... Pointed out
...
by Steve Woodford.
2000-11-22 12:39:03 +00:00
leo
c9b9b0253d
%%<reg> -> %<reg>
2000-10-19 12:15:53 +00:00
scw
0dc48bfa8f
Add a /t' modifier to the m68k ddb's
trace' command. This enables
...
one to perform a kernel traceback of any (non-swapped-out) process in
the system. For example, to show the traceback for PID 178:
db> t/t 0t178
trace: pid 178 at 0xabcd68
_mi_switch(0x109f60) + 164
...
db>
2000-08-10 08:02:35 +00:00
tshiozak
51a53de0d5
Preparation for the future introduction of multibyte locale.
...
- MB_LEN_MAX is increased to 32.
- To ensure binary compatibility for old executables
under multibyte locale, versioned setlocale is added.
- __mb_len_cur definision is added in setlocale.c
and enable it in stdlib.h .
It is also important for multibyte locale stuffs,
but I just forgot.
2000-08-08 22:31:13 +00:00
itojun
d738f90fd7
raise MSIZE from 128 to 256.
...
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small
already (less than 80) and there are chances for unwanted packet loss due
to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
(even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
extension header)
portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00
kleink
bb2ed0f487
G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
2000-06-27 05:53:22 +00:00
kleink
47b5c5e3b1
Resolve some formatting nits; add __intptr_t and __uintptr_t.
2000-06-27 04:58:51 +00:00
kleink
e695f72a2e
Add <machine/int_types.h>, which provides namespace-pure definitions
...
of exact-width integer types.
2000-06-26 15:42:16 +00:00
mrg
4c698e84f6
<vm/vm_param.h> -> <uvm/uvm_param.h>
2000-06-26 14:58:58 +00:00
kleink
133ea38323
Add a WEAK_ALIAS() macro.
2000-06-23 12:18:45 +00:00
thorpej
39f8e55cfc
On the m68k, the most efficient type for __cpu_simple_lock_t is
...
an unsigned char, since that is what the `tas' instruction uses.
While I'm here, implement the __cpu_simple_lock family of routines.
Why? One, because they're easy. Two, so Steve can get master/slave
MVME systems talking across the backplane. :-)
2000-05-02 05:17:45 +00:00
thorpej
855b79db92
Let each platform typedef the new __cpu_simple_lock_t, which should
...
be the most efficient type used for the atomic operations in the
simplelock structure, and should also be __volatile.
2000-05-02 04:41:04 +00:00
thorpej
f51470a514
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
...
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.
These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
is
1edce49e66
Bug fixes for 68020only or 68030only machines, by Aymeric Vincent.
2000-04-05 19:38:33 +00:00
minoura
78b105698a
Move dl* function definitions to libc on ELF.
...
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html .
2000-04-02 15:35:47 +00:00
tron
e86957458a
Install "machineendian_machdep.h".
2000-03-17 22:36:31 +00:00
mycroft
9e21b6555a
In the `MY THAT'S GROSS' department...
...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
mycroft
02905321b2
Foolish consistency. Mainly, always use underscores and sys/endian.h.
2000-03-16 15:09:34 +00:00
kleink
a9ebf7bb8c
Define ISO C99 (unsigned) long long (min, max) symbols.
2000-03-07 19:31:49 +00:00
kleink
36e6bc645e
Improve namespace test macros a bit.
2000-02-05 14:04:36 +00:00
kleink
82464e46d6
Add a C99-style va_copy macro.
2000-02-03 16:16:06 +00:00
aymeric
20a96dc688
make DCIAS work for 020-only / 030-only kernels
2000-01-15 17:08:03 +00:00
kleink
693059feda
const -> __const and include <sys/cdefs.h> earlier; fixes PR lib/9052
...
by Takahiro Kambe.
2000-01-04 14:20:05 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
scottr
8759c4e95e
Add m68k_seg_offset() and m68k_page_offset() to complement m68k_trunc_seg()
...
m68k_trunc_page(), respectively. Motivated primarily by a desire for
code clarity and symmetry.
1999-12-12 07:45:46 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
thorpej
7e538afd49
Add register prefixes.
1999-11-06 17:42:31 +00:00
he
5d30149598
Provide multiple inclusion protection.
1999-11-03 00:47:21 +00:00
frueauf
4f3fdd1096
fix typo: s/EM_68k/EM_68K/
1999-10-30 22:56:29 +00:00
thorpej
3b435a7396
Add register prefixes.
1999-10-25 23:48:07 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
itohy
a5c3c08c66
Add missing TBIA() definition for 68030-only machine.
1999-09-27 04:43:40 +00:00