Search
lxdream.org :: lxdream/src/asic.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.c
changeset 1100:50e702af9373
prev1065:bc1cc0c54917
next1237:377077d10d62
author nkeynes
date Mon Feb 15 17:27:14 2010 +1000 (10 years ago)
permissions -rw-r--r--
last change Hook up the fake bios boot
Use fakebios if invoked with -b, or if there's no boot rom loaded
file annotate diff log raw
1.1 --- a/src/asic.c Sun Jul 05 13:52:50 2009 +1000
1.2 +++ b/src/asic.c Mon Feb 15 17:27:14 2010 +1000
1.3 @@ -416,6 +416,13 @@
1.4 MMIO_WRITE( ASIC, SORTDMACTL, 0 );
1.5 }
1.6
1.7 +gboolean asic_enable_ide_interface( gboolean enable )
1.8 +{
1.9 + gboolean oldval = idereg.interface_enabled;
1.10 + idereg.interface_enabled = enable;
1.11 + return oldval;
1.12 +}
1.13 +
1.14 MMIO_REGION_READ_FN( ASIC, reg )
1.15 {
1.16 int32_t val;
.