coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sort.h File Reference
#include <stddef.h>
Include dependency graph for sort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  sort_order_t { NUM_ASCENDING , NUM_DESCENDING }
 

Functions

void bubblesort (int *v, size_t num_entries, sort_order_t order)
 

Enumeration Type Documentation

◆ sort_order_t

Enumerator
NUM_ASCENDING 
NUM_DESCENDING 

Definition at line 7 of file sort.h.

Function Documentation

◆ bubblesort()

void bubblesort ( int *  v,
size_t  num_entries,
sort_order_t  order 
)

Definition at line 8 of file sort.c.

References NUM_ASCENDING, NUM_DESCENDING, and SWAP.

Referenced by acpi_create_madt_lapics().

Here is the caller graph for this function: