Rev 534 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 534 | Rev 1702 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup ia32 |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | /** @file |
|
- | 33 | */ |
|
- | 34 | ||
29 | #include <arch/bios/bios.h> |
35 | #include <arch/bios/bios.h> |
30 | #include <arch/types.h> |
36 | #include <arch/types.h> |
31 | 37 | ||
32 | __address ebda = 0; |
38 | __address ebda = 0; |
33 | 39 | ||
34 | void bios_init(void) |
40 | void bios_init(void) |
35 | { |
41 | { |
36 | /* Copy the EBDA address out from BIOS Data Area */ |
42 | /* Copy the EBDA address out from BIOS Data Area */ |
37 | ebda = *((__u16 *) BIOS_EBDA_PTR) * 0x10; |
43 | ebda = *((__u16 *) BIOS_EBDA_PTR) * 0x10; |
38 | } |
44 | } |
- | 45 | ||
- | 46 | /** @} |
|
- | 47 | */ |
|
- | 48 |