John Baldwin <[EMAIL PROTECTED]> wrote:
>Uh, there is no xaddl instruction in the x86 instruction set.
It was introduced in the '486. I've been using it for some years now, so I
am confident of its existence.
A quick test using my example:
$ objdump -d jan.o
jan.o: file format elf32-i386
On 03-Oct-00 Jan Mikkelsen wrote:
> John Baldwin <[EMAIL PROTECTED]> wrote:
>>Uh, there is no xaddl instruction in the x86 instruction set.
>
> It was introduced in the '486. I've been using it for some years now, so I
> am confident of its existence.
Freaky. Time for a new atomic op perhaps.
* John Baldwin <[EMAIL PROTECTED]> [001003 00:01] wrote:
>
> On 25-Sep-00 Jan Mikkelsen wrote:
> > Kevin Mills <[EMAIL PROTECTED]> wrote:
> >>I found the atomic_* functions in , but noticed that they
> >>have no return value. What I need is a function that increments/decrements
> >>the given val
hi all,
I'm working on building a system that will handle Internet Prepaid Cards
where the user would connect for a certain amount of time and then disconnect
ofcourse this is not implemented in Radius.
after some digging, I was able to control it through Session-Timeout
Attribute in Radius
and
John Baldwin <[EMAIL PROTECTED]> wrote:
>On 03-Oct-00 Jan Mikkelsen wrote:
>> There shouldn't be a need for a loop like the one you describe for a
simple
>> atomic increment.
>
>The trick is that I want to increment and read at the same time.
I don't know the exact semantics of atomic_cmpset_in
In message <005801c02d17$17efc0a0$[EMAIL PROTECTED]>, "Jan Mikk
elsen" writes:
>John Baldwin <[EMAIL PROTECTED]> wrote:
>
>>On 03-Oct-00 Jan Mikkelsen wrote:
>>> There shouldn't be a need for a loop like the one you describe for a
>simple
>>> atomic increment.
>>
>>The trick is that I want to incr
On Tue, 3 Oct 2000, John Baldwin wrote:
>
> On 02-Oct-00 Zhiui Zhang wrote:
> >
> > Suppose a process is scheduled to run, will it run until its quantum ends
> > unless it calls tsleep() on his own? In other words, is it possible for a
> > process to give up its quantum earlier without having it
Loony Bomber <[EMAIL PROTECTED]> writes:
> Given these qualifications, and the fact
> that the first router I built on a recycled 286 system (as a lark)
FreeBSD won't run on a 286 (and never has). The 286 is a 16-bit
processor, and FreeBSD is (and has always been) a
FengYue <[EMAIL PROTECTED]> writes:
> gdb -k kernel.debug /var/crash/vmcore.0
> [GDB messages...]
> This GDB was configured as "i386-unknown-freebsd"...
> IdlePTD 2863104
> initial pcb at 247960
> panicstr: page fault
> panic messages:
> ---
Where are the panic messages?
> dmesg: kvm_read:
> --
"Rink Springer" <[EMAIL PROTECTED]> writes:
> I am currently working on a driver for the D-Link DE620 Parallel Ethernet
> card driver. I used the if_el.c code as a base, for it appears to be a
> relatively easy driver (my driver is called dl0 BTW, for D-Link. Anyknow
> know if this conflicts somew
I'm writing a device driver for FreeBSD 3.x and 4.x for the application
panel of the fujitsu lifebook c4110 notebook (a led, lcd and some
buttons). It took me some time to get a working driver (compiles on both
3.x and 4.x), but it's not really clean code. I'd like to rewrite it,
but I can't find
Have a look at the simple device driver I wrote for the Linksys
Gigadrive's front panel LEDs, etc.
http://people.freebsd.org/~msmith/gigadrive
This approach should suit you well. I would use a single device node and
a small set of ioctls for your control interface, as this will keep
things
>
> Have a look at the simple device driver I wrote for the Linksys
> Gigadrive's front panel LEDs, etc.
>
> http://people.freebsd.org/~msmith/gigadrive
Thanks! I think I'll be able to make a working driver with your code.
I'd also like to use it on FreeBSD 3.x. When compiling gigadrive there
Thus spake Rink Springer ([EMAIL PROTECTED]):
> One final problem here now... how can I determine which I/O address FreeBSD
> is willing me to probe for the device? I cannot find it in any of the
> existing drivers... anyone?
This is done automatically.
Alex
--
cat: /home/alex/.sig: No such fi
Thus spake Willem van Engen ([EMAIL PROTECTED]):
> I'd also like to use it on FreeBSD 3.x. When compiling gigadrive there,
> the
> file device_if.h can't be found. Any ideas to solve this?
This is code that is only working in FreeBSD 4.0 or greater.
You really should update if you develop drive
Ciao!
I have an ObjC shared object compiled in this way:
gcc -shared -rdynamic -o Bundle BreakTest.o SetTestCase.o -lSenFoundation
-lSenTestingKit
When I load this object with dlopen() the __objc_exec_class() initializer
of the libraries's classes are called first than the objc initializers of
On Tue, 3 Oct 2000, John Baldwin wrote:
>
> On 02-Oct-00 Zhiui Zhang wrote:
> >
> > Suppose a process is scheduled to run, will it run until its quantum ends
> > unless it calls tsleep() on his own? In other words, is it possible for a
> > process to give up its quantum earlier without having i
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
> I have an ObjC shared object compiled in this way:
>
> gcc -shared -rdynamic -o Bundle BreakTest.o SetTestCase.o -lSenFoundation
>-lSenTestingKit
>
> When I load this object with dlopen() the __objc_exec_class() initializer
> of the
On 03-Oct-00 Zhiui Zhang wrote:
>
> On Tue, 3 Oct 2000, John Baldwin wrote:
>>
>> On 02-Oct-00 Zhiui Zhang wrote:
>> >
>> > Suppose a process is scheduled to run, will it run until its quantum ends
>> > unless it calls tsleep() on his own? In other words, is it possible for a
>> > process to g
In article <[EMAIL PROTECTED]>,
Alfred Perlstein <[EMAIL PROTECTED]> wrote:
>
> +typedef struct { volatile int a; } atomic_t;
> +
> +#define atomic_init(p, v)do { p->a = v; } while(0)
> +#define atomic_destroy(p)do { ; } while(0)
I don't see the need for the do ... while(0) construct he
On Wed, Sep 20, 2000 at 01:24:34PM -0700, Edward Elhauge wrote:
> OK, vinum is good. But my understanding is that you can't use vinum on
> your root partition. By Murphy's Law it always seems to be root that gets
> screwed up. And that also causes the biggest problems because then you
> have to ya
I was just asked a question that I really don't know what the "correct"
answer is, so here it is.
...we get scores of warnings about using characters as
subscripts to an array (-Wchar-subscripts), which generates
so much noise as to mask real warnings burried within. Therefore,
I
In the last episode (Oct 03), Larry Lile said:
>
> ...we get scores of warnings about using characters as subscripts
> to an array (-Wchar-subscripts), which generates so much noise as
> to mask real warnings burried within. Therefore, I would like to
> suppress this warning unles
>
> In the last episode (Oct 03), Larry Lile said:
> >
> > ...we get scores of warnings about using characters as subscripts
> > to an array (-Wchar-subscripts), which generates so much noise as
> > to mask real warnings burried within. Therefore, I would like to
> > suppress thi
Thomas David Rivers wrote:
> > > So why is using a "char" as an array subscript wrong? I had always
> > > avoided it because the compiler complained and that was good enough
> > > for me.
> >
> > Because your char value could be negative and end up referencing memory
> > before your array start
FengYue <[EMAIL PROTECTED]> writes:
> On 3 Oct 2000, Dag-Erling Smorgrav wrote:
> -> > panic messages:
> -> > ---
> -> Where are the panic messages?
>
> Unfortunately, there is no panic messages. I compiled the kernel with
> -g (without DDB), and set the dumpdev in rc.conf. Did I do anything
> w
- Original Message -
From: "Dan Nelson" <[EMAIL PROTECTED]>
To: "Larry Lile" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 03, 2000 9:49 PM
Subject: Re: Question about -Wchar-subscripts
> In the last episode (Oct 03), Larry Lile said:
> >
> > ...we get scores of
> Hi,
>
> With these patches, and the new tiny util 'sourceconf', we can make
> /etc/defaults/rc.conf and /etc/defaults/periodic.conf configuration
> files again, such that they can be parsed by things other than 'sh'.
[.]
Looks good to me !
--
Brian <[EMAIL PROTECTED]>
[ Culled the list way down, and moved it to -hackers ]
> We could also look into providing an "update" command or something
> which would pull either sources or binaries over from a snapshot box
> and make the process of getting up to the branch-head a lot easier.
> It's long been on my wishlist
Robert Nordier <[EMAIL PROTECTED]> wrote:
>
> Thomas David Rivers wrote:
>
> > > > So why is using a "char" as an array subscript wrong? I had always
> > > > avoided it because the compiler complained and that was good enough
> > > > for me.
> > >
> > > Because your char value could be negativ
I am makeing a script for newbies to help them upgrade there system it
isnt really pretty it mostly just a script that i made in a cuple of
hours but does the job and i was wundering if anyone could give it a try
and then email me bug/info/ etc.. or if you whant to help me then email
me saying so
On 3 Oct 2000, Dag-Erling Smorgrav wrote:
->> panic messages:
->> ---
->
->Where are the panic messages?
Unfortunately, there is no panic messages. I compiled the kernel with
-g (without DDB), and set the dumpdev in rc.conf. Did I do anything
wrong?
->> Cannot access memory at address 0xce51
32 matches
Mail list logo