Changeset babcb148 in mainline for src/lib/func.c


Ignore:
Timestamp:
2005-04-27T21:19:42Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
10a2e22
Parents:
434f700
Message:

ACPI detection code.
MP detection code rewrite.
Minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lib/func.c

    r434f700 rbabcb148  
    6060        return 1;
    6161}
    62 
    63 __address __u32_search(__address src, int cnt, __u32 x)
    64 {
    65         __u32 *base = (__u32 *) src;
    66         int i;
    67        
    68         for (i=0; i<=cnt-sizeof(__u32); i++)
    69                 if (base[i] == x)
    70                         return (__address) &base[i];
    71 
    72         return 0;
    73 }
Note: See TracChangeset for help on using the changeset viewer.