in the name of zero

October 17, 2007

LXR to the rescue

Filed under: hermetic studies
register_percpu_irq (ia64_vector vec, struct irqaction *action)
{
         irq_desc_t *desc;
         unsigned int irq;
	
         for (irq = 0; irq < NR_IRQS; ++irq)
                 if (irq_to_vector(irq) == vec) {
                         desc = irq_desc + irq;
                         ...

notice the bold texts… a wild pointer at first glance… mainly the fault of _t part of the name… wow what colossal lameness on my part.

[ array index range initializer ]

struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = {
         [0 … NR_IRQS-1] = {
                 .status = IRQ_DISABLED,
                 /* snipped */
         }
};
more initializer goodness here.

in retrospect.. i’ve never seen linux code at the daily wtf. amazing. really.

October 4, 2007

i’m takin the plunge

in all my 40 celcius fever, swollen face, and, infected gums glory.

http://ipodlinux.org/Main_Page

ooh… and my apologies for posting one liners (which are supposed to be chirps) but then i’ve been rather busy with real life. no net, no t.v., no radio. i’m practically a caveman. (and that pacquiao match is just around the corner) yeah.. starting out on your own away from dear old momsie and popsie takes you one step closer to a state of destitution. but life gets better.

so again, some linkies for the patient among the crowd.

http://www.draculasriddle.co.uk/veros/darkforest.htm
http://www.deathball.net/notpron/

enjoy chaps.

Get free blog up and running in minutes with Blogsome | Theme designs available here