Marcus Overhagen
0f87fab03a
fixed small memory leak, added debug output to close hook
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:47:04 +00:00
Marcus Overhagen
099c5d288c
reproduceable testcase for bug #1168
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-24 21:41:24 +00:00
Marcus Overhagen
2566ae4922
DVB media-addon and TV application added
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:11:50 +00:00
Marcus Overhagen
607422bbba
added test driver to haiku image
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:11:02 +00:00
Marcus Overhagen
849f7af437
a test driver for driver testing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:09:08 +00:00
Marcus Overhagen
170a16fb3e
added Jamfile for DVB TV application and fixed compilation problems after refactoring
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:04:05 +00:00
Marcus Overhagen
fcb9bdc0c9
added Jamfile for dvb.media_addon and fixed compilation problems after refactoring
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:03:05 +00:00
Marcus Overhagen
175eb4f0de
A BMediaDecoder wrapper that uses a callback for GetNextChunk()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:00:15 +00:00
Marcus Overhagen
239fad6de1
integrate DVB-T driver into haiku-image
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 22:44:37 +00:00
Marcus Overhagen
1caca357da
Added Jamfiles, changed some includes. The driver now builds for Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 22:25:14 +00:00
Marcus Overhagen
23a805cd17
channel settings for DVB
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 19:00:26 +00:00
Marcus Overhagen
d4161a35c7
The DVB TV application, can probably be used as a generic TV
...
application, or even merged with MediaPlayer and CDPlayer later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 18:58:05 +00:00
Marcus Overhagen
ba45956470
directory for TV app
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 18:43:38 +00:00
Marcus Overhagen
b2859abe13
Media add-on for DVB.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 18:42:03 +00:00
Marcus Overhagen
083a11a3f4
Driver for DVB-T cards with cx23882 chipset, like WinTV NOVA-T PCI
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 16:21:17 +00:00
Marcus Overhagen
36e0e8a8bd
Interface definition of DVB drivers. Currently private API.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 15:52:58 +00:00
Marcus Overhagen
ce8185b383
cleanup & disabled most debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-08 17:40:40 +00:00
Marcus Overhagen
0690e6bc16
added fast path to BPicture polygon drawing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-02 00:33:23 +00:00
Marcus Overhagen
0b0ecfab90
Added "const" to many parameters.
...
Removed most data allocations/copying from PicturePlayer, ServerPicture now has to do this when converting coordinates.
Added additional functions to ViewLayer to copy&convert multiple BPoint, BRect, BRegion to Screen coordinates, those should be further optimized.
Removed some function call overhead.
Note: some functions of PicturePlayer don't appear to be implented by PictureDataWriter,
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 23:17:40 +00:00
Marcus Overhagen
533b9a69a7
removed unnecessary use of const_cast
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 19:14:19 +00:00
Marcus Overhagen
a20cecff60
removed unnecessary use of const_cast<> and (global) do_playback() function
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 18:37:55 +00:00
Marcus Overhagen
a090257d09
Add volatile keyword to apic memory access, cleanup, add timeout to arch_smp_send_ici.
...
But this still doesn't help with bug #1018...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-25 23:32:21 +00:00
Marcus Overhagen
ca21e6053e
really invalidate the TLB of non-boot CPUs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 19:47:28 +00:00
Marcus Overhagen
9ddc1886ae
Removed now unused HaikuPXE file, that triggered a "Parse error at EOF" warning on some builds.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 17:53:05 +00:00
Marcus Overhagen
9e8dd0a713
added PCI express capability
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 17:46:44 +00:00
Marcus Overhagen
b2562a8d64
This fixes building with TRACE enabled
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 21:44:29 +00:00
Marcus Overhagen
637812eb4a
init those pointers before using them
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 00:51:10 +00:00
Marcus Overhagen
d9be4f1fa3
print satacap 0 and 1 registers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 00:19:06 +00:00
Marcus Overhagen
3f8d7bce7c
added PCI capability support to bus api
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-18 00:18:13 +00:00
Marcus Overhagen
b782e8cd79
added SATA capability to debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-17 23:24:40 +00:00
Marcus Overhagen
13dbe1c7ff
Added support function to find a PCI capability offset in the configuration data, needed for SATA support.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-17 22:57:59 +00:00
Marcus Overhagen
3f493ef624
Force recreation of *.a archives to avoid build errors caused by
...
stale dependencies after renaming or deleting object files.
This will avoid link error like the one that was caused by the
recent mesa update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-17 22:42:16 +00:00
Marcus Overhagen
cc30d340c3
When getting the memory map, ask only for 2046 bytes instead of
...
2048 bytes. This should fix bugs #993 and #997 .
On BeOS R5 asking for 2 bytes too much wasn't a problem, as we
only need the first page_entry, and it didn't return any Error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-28 12:59:45 +00:00
Marcus Overhagen
ad13bfbbd7
Added unconditional debug output. You will most likely see it when "sync" is stalled,
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-27 22:52:09 +00:00
Marcus Overhagen
3e216965ba
Added a sample haiku.vmx file for VMware player.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-27 22:49:44 +00:00
Marcus Overhagen
55a5f66c21
Made the "get_memory_map failed" error panic the kernel, to avoid random
...
crashes at a later time. I observed one error at 8033a802, but the address
was allocated by the driver and should have been fully locked.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-27 22:06:35 +00:00
Marcus Overhagen
562ce636d3
reverted r19986. uncached mapping didn't work, instead it was falling back to vesa mode.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-27 21:17:38 +00:00
Marcus Overhagen
e0858f4dd5
added a temporary workaround for bug report #994
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-27 20:56:44 +00:00
Marcus Overhagen
3ff2441acf
two additional savety checks
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-27 00:05:39 +00:00
Marcus Overhagen
dea33357ec
Commandline tool to write a vmware vmdk header to a haiku image file (space for the header has to be reserved)
...
Tested with VMware Player 1.0.3 on linux and works.
Can also be used to create a haiku.vmdk file from an existing haiku.image file:
rm haiku.vmdk
generated/objects/linux/x86/release/tools/vmdkheader/vmdkheader -h 64k -i100M haiku.vmdk
cat generated/haiku.image >>haiku.vmdk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-26 23:52:57 +00:00
Marcus Overhagen
3a6ed286a3
tool for writing vmdk file headers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-26 20:46:37 +00:00
Marcus Overhagen
2313ae7997
Modified SetValue to do nothing when the value is already set.
...
This seems also be done it BeOS R5 and does remove the constant
flickering in the MediaPlayer slider.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 22:32:35 +00:00
Marcus Overhagen
374fb579b1
remove debug output from interrupt handler
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 21:49:41 +00:00
Marcus Overhagen
ef6a7a6308
reworked device identification, calmed down debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 22:44:11 +00:00
Marcus Overhagen
dff0f5c833
added ahci to bootlinks, so the system will try it during boot
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 21:30:38 +00:00
Marcus Overhagen
7f6c8fdc86
added ahci to the image
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 01:11:19 +00:00
Marcus Overhagen
c6a23809ea
add ahci driver to build system
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 00:40:11 +00:00
Marcus Overhagen
f39cc7fbeb
added device detection
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 00:39:33 +00:00
Marcus Overhagen
ebb02063bd
Fixed documentation, uint16 was wrong and doesn't work. Also checked other usage of this items, but they are already correct.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 00:19:59 +00:00
Marcus Overhagen
dd994777b7
added some register definitions from AHCI 1.1 specification
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 23:45:43 +00:00
Marcus Overhagen
573135490d
header file for AHCI
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 23:17:41 +00:00
Marcus Overhagen
bff626f156
copied from the Silicon image driver to get started
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 22:47:25 +00:00
Marcus Overhagen
d16104f0bd
created new directory for AHCI support
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 22:45:20 +00:00
Marcus Overhagen
43792b9eed
propagate required settings for the remote disk from boot loader to kernel (client-ip, server-ip, server-port)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-12 22:27:48 +00:00
Marcus Overhagen
93b2b9ce66
made a copy
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-12 21:05:47 +00:00
Marcus Overhagen
f5fa54f798
Improved error reporting when a failure to find/mount the root device occurs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-12 18:09:15 +00:00
Marcus Overhagen
d359899a21
removed strange "warning: converting negative value 'B_ERROR' to 'long unsigned int'" that seemed to be generated by the ? operator converting B_ERROR's type.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-12 16:05:43 +00:00
Marcus Overhagen
41f9e82cd1
Forgot to save that before compiling, but now it does...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:43:24 +00:00
Marcus Overhagen
ee6c8dde21
For interupt handling in PIO mode, use the "Task File Configuration + Status" interrupt status bit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:23:39 +00:00
Marcus Overhagen
1c23ca6f79
avoid eating interrupts (still this code is slightly insane)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:21:30 +00:00
Marcus Overhagen
e7c111135c
Removed broken dependencies, it should be possible to build pxehaiku now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:54:39 +00:00
Marcus Overhagen
aa86f3868f
Cleanup naming of PXE stage2. It no longer interferes with zbeos build process.
...
You can build it using:
TARGET_BOOT_PLATFORM=pxe_ia32 jam pxehaiku-loader
Building the PXE stage1 using:
TARGET_BOOT_PLATFORM=pxe_ia32 jam pxehaiku
is still broken. however, it can be build using:
cd src/system/boot/platform/pxe_ia32/
as -o pxe_stage1.o pxe_stage1.S
ld --oformat binary --Ttext 0x7C00 -o pxe_stage1.bin pxe_stage1.o
cp pxe_stage1.bin /tftpboot/pxehaiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:46:41 +00:00
Marcus Overhagen
6c3245f6a7
fixed error return in _Scan() function. now only returns B_OK when a device was found.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 01:04:09 +00:00
Marcus Overhagen
dceaa55687
updated comment to account for PXE memory ranges
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 20:39:33 +00:00
Marcus Overhagen
cdaaee9dba
haiku-image build fix for TARGET_BOOT_PLATFORM=pxe_ia32
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 20:29:26 +00:00
Marcus Overhagen
ec9d1637b5
fixed copy & paste bugs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 20:15:27 +00:00
Marcus Overhagen
db5b50665b
Fixed gcc4 "error: cast from 'foobar *' to 'uint16' loses precision" problem by doubly casting.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:57:21 +00:00
Marcus Overhagen
203cf32414
Disabled debug output, but show errors with dprintf.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:30:33 +00:00
Marcus Overhagen
99784f5666
reduce debug output and add an additional test
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:21:31 +00:00
Marcus Overhagen
6d92b426ae
Use only the immediate buffer to send data.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:18:30 +00:00
Marcus Overhagen
c4a05ef079
Determine client IP address and make it known to the ethernet interface.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:17:28 +00:00
Marcus Overhagen
6378dd7cf4
Fixed endian errors in UDP source and destination port handling.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:12:35 +00:00
Marcus Overhagen
569f4174e1
Fixed setting of the "don't fragment" bit, it was placed into the wrong byte.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 18:00:27 +00:00
Marcus Overhagen
03c2b46cdf
fix build when TRACE is enabled
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 17:50:34 +00:00
Marcus Overhagen
c828668959
Return -1 when no data is available in receive hook, and 0 to indicate a retry, to make the net stack happy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 16:23:37 +00:00
Marcus Overhagen
57a88e1c79
Implemented UNDI ethernet interface, receiving frames already appears to work.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 16:00:35 +00:00
Marcus Overhagen
2f9a049400
add array indexed access to mac_addr_t
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 14:57:21 +00:00
Marcus Overhagen
5fd605e278
prettify formatting
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 03:05:00 +00:00
Marcus Overhagen
8456183dfd
implemented the first pxe bios call
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 02:48:50 +00:00
Marcus Overhagen
578e3c2607
fixed the bugs, calling the pxe bios now works
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 02:48:08 +00:00
Marcus Overhagen
f7110a4231
first attempt to call the pxe bios, still untested
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 00:47:41 +00:00
Marcus Overhagen
84a31142ed
Added some code to call real mode pxe bios functions, based on Axel's bios_ia32/bios.S
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-24 01:21:17 +00:00
Marcus Overhagen
0ecd75e986
Made the idt_descriptor symbol global to share it with pxe_ia32.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-24 01:18:52 +00:00
Marcus Overhagen
fd992230f6
Fixed pxe zbeos build, got broken by recent edid changes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-24 01:02:24 +00:00
Marcus Overhagen
aa88acd003
added define for SATA AHCI
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-23 02:39:58 +00:00
Marcus Overhagen
30b0fe7561
This fixes bug #951
...
It's not required to enable the AUX ports after enabling active multiplexing, because the default according
to specification is already enabled. In fact, Sony VGN-FS115M laptop even has a bug when processing the enable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 22:19:55 +00:00
Marcus Overhagen
8d16d3335d
added ethernet interface framework, taken from openfirmware boot platform
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 22:52:23 +00:00
Marcus Overhagen
dd2413230f
started the PXE UNDI network device support
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 21:48:08 +00:00
Marcus Overhagen
326862c203
removed usage of the 0x8d000 to 0x9ffff memory range, as its needed by PXE UNDI.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 20:27:09 +00:00
Marcus Overhagen
7613b42bcd
copy of the original trampoline code, needs to be modified as UNDI needes the used address range
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 20:04:46 +00:00
Marcus Overhagen
79372d08b0
Reduced allowed stage 2 size, as PXE and UNDI have memory reserved. Added comment explaining memory map.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 22:17:55 +00:00
Marcus Overhagen
a1939ee423
Modified the pxe_ia32 stage 1 loader to load stage 2 at the same address as bios_ia32 stage 1 does.
...
This allowes to actually execute the boot loader now.
Need to use Ingo's remote_disk_server now for booting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 20:53:30 +00:00
Marcus Overhagen
ffffd44b12
Moved switching to protected mode into stage1 loader, so code above 1MB can be executed in protected mode.
...
Executing the stage2 loader works now, up to the point where mmu_init() reuses the same address space.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-08 20:17:03 +00:00
Marcus Overhagen
4ba8420ca5
save and restore destination address
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-08 19:10:53 +00:00
Marcus Overhagen
b488dcdbad
modified, but still wrong
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-04 23:39:19 +00:00
Marcus Overhagen
5fc3827fb4
removed some unused code. not finished yet
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-04 23:11:30 +00:00
Marcus Overhagen
50b6109c5f
Build fix, at least for building on Linux. The host stdio.h has a different dprintf definition than BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 16:35:33 +00:00
Marcus Overhagen
83bf699b3f
some build fixes for pxe_ia32 platform
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:52:20 +00:00
Marcus Overhagen
456b127176
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:05:06 +00:00
Marcus Overhagen
e42c2f9984
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:04:31 +00:00