ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
June 2011
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
25 participants
460 discussions
Start a n
N
ew thread
[tkreuzer] 52182: [CMAKE] Fix concatenate_files macro
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Sat Jun 11 08:36:18 2011 New Revision: 52182 URL:
http://svn.reactos.org/svn/reactos?rev=52182&view=rev
Log: [CMAKE] Fix concatenate_files macro Modified: trunk/reactos/CMakeMacros.cmake Modified: trunk/reactos/CMakeMacros.cmake URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/CMakeMacros.cmake?rev=5218…
============================================================================== --- trunk/reactos/CMakeMacros.cmake [iso-8859-1] (original) +++ trunk/reactos/CMakeMacros.cmake [iso-8859-1] Sat Jun 11 08:36:18 2011 @@ -211,7 +211,7 @@ to_win_path("${_output}" _real_output) add_custom_command( OUTPUT ${_output} - COMMAND cmd.exe /C "copy /Y ${_real_file1} + ${_real_file2} ${_real_output}" + COMMAND cmd.exe /C "copy /Y /B ${_real_file1} + ${_real_file2} ${_real_output} > nul" DEPENDS ${_file1} DEPENDS ${_file2}) endmacro()
13 years, 6 months
1
0
0
0
[tkreuzer] 52181: [BOOTSECTOR] Try to fix regtest cd
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Fri Jun 10 21:38:42 2011 New Revision: 52181 URL:
http://svn.reactos.org/svn/reactos?rev=52181&view=rev
Log: [BOOTSECTOR] Try to fix regtest cd Modified: trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt Modified: trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/bootsect/CMak…
============================================================================== --- trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt [iso-8859-1] Fri Jun 10 21:38:42 2011 @@ -6,7 +6,7 @@ CreateBootSectorTarget2(fat32 ${CMAKE_CURRENT_SOURCE_DIR}/fat32.S ${CMAKE_CURRENT_BINARY_DIR}/fat32.bin 7c00) #CreateBootSectorTarget2(fat ${CMAKE_CURRENT_SOURCE_DIR}/fat.S ${CMAKE_CURRENT_BINARY_DIR}/fat.bin 0) CreateBootSectorTarget2(isoboot ${CMAKE_CURRENT_SOURCE_DIR}/isoboot.S ${CMAKE_CURRENT_BINARY_DIR}/isoboot.bin 7000) -CreateBootSectorTarget2(isobtrt ${CMAKE_CURRENT_SOURCE_DIR}/isobtrt.S ${CMAKE_CURRENT_BINARY_DIR}/isobtrt.bin 0) +CreateBootSectorTarget2(isobtrt ${CMAKE_CURRENT_SOURCE_DIR}/isobtrt.S ${CMAKE_CURRENT_BINARY_DIR}/isobtrt.bin 7000) if(NOT MSVC) CreateBootSectorTarget(dosmbr ${CMAKE_CURRENT_SOURCE_DIR}/dosmbr.asm ${CMAKE_CURRENT_BINARY_DIR}/dosmbr.bin 0)
13 years, 6 months
1
0
0
0
[akhaldi] 52180: [CMAKE] * Add inetcpl to build.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Jun 10 20:46:56 2011 New Revision: 52180 URL:
http://svn.reactos.org/svn/reactos?rev=52180&view=rev
Log: [CMAKE] * Add inetcpl to build. Added: trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt (with props) Modified: trunk/reactos/dll/cpl/CMakeLists.txt Modified: trunk/reactos/dll/cpl/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/CMakeLists.txt?rev…
============================================================================== --- trunk/reactos/dll/cpl/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/CMakeLists.txt [iso-8859-1] Fri Jun 10 20:46:56 2011 @@ -4,6 +4,7 @@ add_subdirectory(console)#Warning: console\\/lang/cs-CZ.rc:143: unrecognized escape sequence add_subdirectory(desk) add_subdirectory(hdwwiz) +add_subdirectory(inetcpl) add_subdirectory(input) add_subdirectory(intl) add_subdirectory(joy) Added: trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/CMakeLists…
============================================================================== --- trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt (added) +++ trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt [iso-8859-1] Fri Jun 10 20:46:56 2011 @@ -1,0 +1,41 @@ + +set_unicode() +set_rc_compiler() + +include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine) + +spec2def(inetcpl.cpl inetcpl.spec) + +list(APPEND SOURCE + inetcpl.c + content.c + general.c + security.c + inetcpl.rc + ${CMAKE_CURRENT_BINARY_DIR}/inetcpl_stubs.c + ${CMAKE_CURRENT_BINARY_DIR}/inetcpl.def) + +add_library(inetcpl SHARED ${SOURCE}) + +set_module_type(inetcpl cpl) + +target_link_libraries(inetcpl wine) + +add_importlibs(inetcpl + advapi32 + comctl32 + user32 + gdi32 + shlwapi + msvcrt + kernel32 + ntdll) + +add_delay_importlibs(inetcpl + cryptui + wininet + ole32 + urlmon) + +add_cd_file(TARGET inetcpl DESTINATION reactos/system32 FOR all) + Propchange: trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
13 years, 6 months
1
0
0
0
[tkreuzer] 52179: [CMAKE] add macro to concatenate 2 files. So far only for windows.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Fri Jun 10 20:45:44 2011 New Revision: 52179 URL:
http://svn.reactos.org/svn/reactos?rev=52179&view=rev
Log: [CMAKE] add macro to concatenate 2 files. So far only for windows. Modified: trunk/reactos/CMakeMacros.cmake Modified: trunk/reactos/CMakeMacros.cmake URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/CMakeMacros.cmake?rev=5217…
============================================================================== --- trunk/reactos/CMakeMacros.cmake [iso-8859-1] (original) +++ trunk/reactos/CMakeMacros.cmake [iso-8859-1] Fri Jun 10 20:45:44 2011 @@ -199,3 +199,22 @@ _add_executable(${name} ${ARGN}) add_clean_target(${name}) endfunction() + +if(WIN32) + macro(to_win_path _cmake_path _native_path) + string(REPLACE "/" "\\" ${_native_path} "${_cmake_path}") + endmacro() + + macro(concatenate_files _file1 _file2 _output) + to_win_path("${_file1}" _real_file1) + to_win_path("${_file2}" _real_file2) + to_win_path("${_output}" _real_output) + add_custom_command( + OUTPUT ${_output} + COMMAND cmd.exe /C "copy /Y ${_real_file1} + ${_real_file2} ${_real_output}" + DEPENDS ${_file1} + DEPENDS ${_file2}) + endmacro() +else() + +endif()
13 years, 6 months
1
0
0
0
[akhaldi] 52178: [CMAKE] * Add delay importlib creation support.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Jun 10 20:44:47 2011 New Revision: 52178 URL:
http://svn.reactos.org/svn/reactos?rev=52178&view=rev
Log: [CMAKE] * Add delay importlib creation support. Modified: trunk/reactos/gcc.cmake trunk/reactos/msc.cmake Modified: trunk/reactos/gcc.cmake URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/gcc.cmake?rev=52178&r1=521…
============================================================================== --- trunk/reactos/gcc.cmake [iso-8859-1] (original) +++ trunk/reactos/gcc.cmake [iso-8859-1] Fri Jun 10 20:44:47 2011 @@ -230,6 +230,14 @@ endforeach() endmacro() +macro(add_delay_importlibs MODULE) + foreach(LIB ${ARGN}) + target_link_libraries(${MODULE} ${CMAKE_BINARY_DIR}/importlibs/lib${LIB}_delayed.a) + add_dependencies(${MODULE} lib${LIB}_delayed) + endforeach() + target_link_libraries(${MODULE} delayimp) +endmacro() + if(NOT ARCH MATCHES i386) set(DECO_OPTION "-@") endif() @@ -250,10 +258,18 @@ if (${_extension} STREQUAL ".spec") + # Normal importlib creation add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a COMMAND native-spec2def -n=${_name}${_suffix} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file} COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}) + + # Delayed importlib creation + add_custom_command( + OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a + COMMAND native-spec2def -n=${_name}${_suffix} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}_delayed_implib.def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file} + COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}_delayed_implib.def --kill-at --output-delaylib ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}) elseif(${_extension} STREQUAL ".def") @@ -262,13 +278,22 @@ OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file} --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}) + add_custom_command( + OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a + COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file} --kill-at --output-delaylib ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}) else() message(FATAL_ERROR "Unsupported exports file extension: ${_extension}") endif() + # Normal importlib target add_custom_target( lib${_name} DEPENDS ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a) + # Delayed importlib target + add_custom_target( + lib${_name}_delayed + DEPENDS ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a) endmacro() Modified: trunk/reactos/msc.cmake URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/msc.cmake?rev=52178&r1=521…
============================================================================== --- trunk/reactos/msc.cmake [iso-8859-1] (original) +++ trunk/reactos/msc.cmake [iso-8859-1] Fri Jun 10 20:44:47 2011 @@ -173,6 +173,10 @@ endforeach() endmacro() +macro(add_delay_importlibs MODULE) +# TODO +endmacro() + macro(spec2def _dllname _spec_file) get_filename_component(_file ${_spec_file} NAME_WE) add_custom_command(
13 years, 6 months
1
0
0
0
[tkreuzer] 52177: fix build?
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Fri Jun 10 17:44:13 2011 New Revision: 52177 URL:
http://svn.reactos.org/svn/reactos?rev=52177&view=rev
Log: fix build? Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S [iso-8859-1] Fri Jun 10 17:44:13 2011 @@ -20,9 +20,8 @@ .text .code16 -#define ASM +#include <arch/pc/x86common.h> -#include <arch.h> /* * U16 PxeCallApi(U16 Segment, U16 Offset, U16 Service, VOID *Parameter);
13 years, 6 months
1
0
0
0
[tkreuzer] 52176: fix build
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Fri Jun 10 17:41:02 2011 New Revision: 52176 URL:
http://svn.reactos.org/svn/reactos?rev=52176&view=rev
Log: fix build Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/arch.S trunk/reactos/boot/freeldr/freeldr/arch/amd64/boot.S trunk/reactos/boot/freeldr/freeldr/arch/amd64/drvmap.S trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386cpu.S trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386idt.S trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386pnp.S trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386trap.S trunk/reactos/boot/freeldr/freeldr/arch/amd64/int386.S trunk/reactos/boot/freeldr/freeldr/arch/amd64/mb.S trunk/reactos/boot/freeldr/freeldr/arch/i386/boot.S trunk/reactos/boot/freeldr/freeldr/arch/i386/drvmap.S trunk/reactos/boot/freeldr/freeldr/arch/i386/i386cpu.S trunk/reactos/boot/freeldr/freeldr/arch/i386/i386idt.S trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pnp.S trunk/reactos/boot/freeldr/freeldr/arch/i386/i386trap.S trunk/reactos/boot/freeldr/freeldr/arch/i386/linux.S trunk/reactos/boot/freeldr/freeldr/arch/i386/mb.S Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/arch.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/arch.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/arch.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -2,8 +2,6 @@ #define ASM #include <asm.inc> - -#include <arch.h> .text .code16 Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/boot.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/boot.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/boot.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -22,9 +22,6 @@ .text .code16 - -#define ASM -#include <arch.h> PUBLIC ChainLoadBiosBootSectorCode ChainLoadBiosBootSectorCode: Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/drvmap.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/drvmap.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/drvmap.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,9 +20,7 @@ .text .code16 -#define ASM -#include <arch.h> - +#include <arch/pc/x86common.h> EXTERN(DriveMapInt13HandlerStart) Int13Handler: Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386cpu.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386cpu.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386cpu.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,9 +20,7 @@ .text .code16 -#define ASM - -#include <arch.h> +#include <arch/pc/x86common.h> /* * U32 CpuidSupported(VOID); Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386idt.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386idt.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386idt.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,10 +20,6 @@ .text .code16 -#define ASM -#include <arch.h> - - .p2align 2 /* force 4-byte alignment */ EXTERN(i386idt) /* Exception 0 - Divide By Zero */ Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386pnp.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386pnp.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386pnp.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -23,9 +23,7 @@ .text .code16 -#define ASM - -#include <arch.h> +#include <arch/pc/x86common.h> /* @@ -199,7 +197,7 @@ mov al, [rsi] mov _pnp_node_number, al - /* convert pointer to node buffer to segment/offset */ + /* convert pointer to node buffer to segment/offset */ mov eax, [rbp + 0x0C] shr eax, 4 and eax, 0xf000 @@ -215,7 +213,7 @@ mov ax, _pnp_bios_data_segment push ax - /* push control flag */ + /* push control flag */ push 0x0001 /* push pointer to node buffer (segment/offset) */ Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386trap.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386trap.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/i386trap.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,8 +20,7 @@ .text .code16 -#define ASM -#include <arch.h> +#include <arch/pc/x86common.h> #include <ver.h> #define SCREEN_ATTR 0x1f /* Bright white on blue background */ @@ -517,7 +516,7 @@ jmp i386PrintTextLoop i386PrintTextDone: - + ret /************************************************************************/ Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/int386.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/int386.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/int386.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -24,8 +24,7 @@ .text .code16 -#define ASM -#include <arch.h> +#include <arch/pc/x86common.h> Int386_REGS: Modified: trunk/reactos/boot/freeldr/freeldr/arch/amd64/mb.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/amd64/mb.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/amd64/mb.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -23,8 +23,7 @@ .text .code16 -#define ASM -#include <arch.h> +#include <arch/pc/x86common.h> #include <multiboot.h> /* @@ -33,7 +32,7 @@ */ .code64 .globl PageDirectoryStart - + .globl pml4_startup .globl pdp_startup .globl pd_startup Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/boot.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/boot.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/boot.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,9 +20,7 @@ .text .code16 -#define ASM -#include <arch.h> - +#include <arch/pc/x86common.h> EXTERN(_ChainLoadBiosBootSectorCode) .code32 Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/drvmap.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/drvmap.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/drvmap.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,9 +20,7 @@ .text .code16 -#define ASM -#include <arch.h> - +#include <arch/pc/x86common.h> EXTERN(_DriveMapInt13HandlerStart) Int13Handler: Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/i386cpu.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/i386cpu.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/i386cpu.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,9 +20,7 @@ .text .code16 -#define ASM - -#include <arch.h> +#include <arch/pc/x86common.h> /* * U32 CpuidSupported(VOID); Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/i386idt.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/i386idt.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/i386idt.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,8 +20,7 @@ .text .code16 -#define ASM -#include <arch.h> +#include <arch/pc/x86common.h> .p2align 2 /* force 4-byte alignment */ Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pnp.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pnp.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pnp.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,9 +20,8 @@ .text .code16 -#define ASM - -#include <arch.h> +#include <arch/pc/x86common.h> + /* @@ -144,7 +143,7 @@ movzwl %ax,%ecx movl %ecx,_pnp_result - + call switch_to_prot .code32 @@ -196,14 +195,14 @@ movb (%esi),%al movb %al,_pnp_node_number - /* convert pointer to node buffer to segment/offset */ + /* convert pointer to node buffer to segment/offset */ movl 0x0C(%ebp),%eax shrl $4,%eax andl $0xf000,%eax - movw %ax,_pnp_buffer_segment + movw %ax,_pnp_buffer_segment movl 0x0C(%ebp),%eax andl $0xffff,%eax - movw %ax,_pnp_buffer_offset + movw %ax,_pnp_buffer_offset call switch_to_real .code16 @@ -212,7 +211,7 @@ movw _pnp_bios_data_segment,%ax pushw %ax - /* push control flag */ + /* push control flag */ pushw $0x0001 /* push pointer to node buffer (segment/offset) */ Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/i386trap.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/i386trap.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/i386trap.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -21,8 +21,7 @@ .text .code16 -#define ASM -#include <arch.h> +#include <arch/pc/x86common.h> #include <ver.h> #define SCREEN_ATTR 0x1f /* Bright white on blue background */ Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/linux.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/linux.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/linux.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,9 +20,7 @@ .text .code16 -#define ASM -#include <arch.h> - +#include <arch/pc/x86common.h> .code32 EXTERN(_BootNewLinuxKernel) Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/mb.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/mb.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/mb.S [iso-8859-1] Fri Jun 10 17:41:02 2011 @@ -20,8 +20,7 @@ .text .code16 -#define ASM -#include <arch.h> +#include <arch/pc/x86common.h> #include <multiboot.h> /* @@ -30,7 +29,7 @@ */ .code32 .globl _PageDirectoryStart - + .globl _startup_pagedirectory .globl _lowmem_pagetable .globl _kernel_pagetable
13 years, 6 months
1
0
0
0
[tkreuzer] 52175: [FREELDR] Major header cleanup
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Fri Jun 10 17:18:26 2011 New Revision: 52175 URL:
http://svn.reactos.org/svn/reactos?rev=52175&view=rev
Log: [FREELDR] Major header cleanup Added: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/ (with props) trunk/reactos/boot/freeldr/freeldr/include/arch/pc/hardware.h - copied, changed from r52171, trunk/reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h trunk/reactos/boot/freeldr/freeldr/include/arch/pc/machpc.h - copied unchanged from r52171, trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machpc.h trunk/reactos/boot/freeldr/freeldr/include/arch/pc/pcbios.h (with props) trunk/reactos/boot/freeldr/freeldr/include/arch/pc/pxe.h - copied unchanged from r52171, trunk/reactos/boot/freeldr/freeldr/include/arch/i386/pxe.h trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h (with props) Removed: trunk/reactos/boot/freeldr/freeldr/include/arch.h trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/hardware.h trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/machpc.h trunk/reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machpc.h trunk/reactos/boot/freeldr/freeldr/include/arch/i386/pxe.h trunk/reactos/boot/freeldr/freeldr/include/arch/i386/realmode.h Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/arch.S trunk/reactos/boot/freeldr/freeldr/arch/i386/int386.S trunk/reactos/boot/freeldr/freeldr/arch/i386/ntoskrnl.c trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/amd64.h trunk/reactos/boot/freeldr/freeldr/include/arch/arm/hardware.h trunk/reactos/boot/freeldr/freeldr/include/freeldr.h Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/arch.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/arch.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/arch.S [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -20,8 +20,7 @@ .intel_syntax noprefix #define HEX(y) 0x##y -#define ASM -#include <arch.h> +#include <arch/pc/x86common.h> #include <multiboot.h> .code16 Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/int386.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/int386.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/int386.S [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -20,8 +20,7 @@ .text .code16 -#define ASM -#include <arch.h> +#include <arch/pc/x86common.h> /* Only these flags are propagated into Int386() */ #define FLAGS_PROP (I386FLAG_CF | \ @@ -172,9 +171,9 @@ movsb /* Restore segment and all other registers */ - - - popal + + + popal popw %gs popw %fs popw %es Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/ntoskrnl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/ntoskrnl.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/ntoskrnl.c [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -1,6 +1,9 @@ #include <ntoskrnl.h> -#define NDEBUG -#include <arch.h> + +/* For KeStallExecutionProcessor */ +#if defined(_M_IX86) || defined(_M_AMD64) +#include <arch/pc/pcbios.h> +#endif VOID NTAPI @@ -75,6 +78,7 @@ KeStallExecutionProcessor( IN ULONG MicroSeconds) { +#if defined(_M_IX86) || defined(_M_AMD64) REGS Regs; ULONG usec_this; @@ -111,4 +115,7 @@ MicroSeconds -= usec_this; } +#else + #error unimplemented +#endif } Removed: trunk/reactos/boot/freeldr/freeldr/include/arch.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch.h (removed) @@ -1,181 +1,0 @@ -/* - * FreeLoader - * Copyright (C) 1998-2003 Brian Palmer <brianp(a)sginet.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef __ASM__ -#pragma once -#endif - -#ifndef HEX -#define HEX(y) 0x##y -#endif - -#ifdef _M_AMD64 -#include <arch/amd64/amd64.h> -#endif - -#if defined (_M_IX86) -/* Defines needed for switching between real and protected mode */ -#define NULL_DESC HEX(00) /* NULL descriptor */ -#define PMODE_CS HEX(08) /* PMode code selector, base 0 limit 4g */ -#define PMODE_DS HEX(10) /* PMode data selector, base 0 limit 4g */ -#define RMODE_CS HEX(18) /* RMode code selector, base 0 limit 64k */ -#define RMODE_DS HEX(20) /* RMode data selector, base 0 limit 64k */ -#endif - -#define CR0_PE_SET HEX(00000001) /* OR this value with CR0 to enable pmode */ -#define CR0_PE_CLR HEX(FFFFFFFE) /* AND this value with CR0 to disable pmode */ - -#define STACK16ADDR HEX(7000) /* The 16-bit stack top will be at 0000:7000 */ -#define STACK32ADDR HEX(78000) /* The 32-bit stack top will be at 7000:8000, or 0x78000 */ - -#if defined (_M_IX86) || defined (_M_AMD64) -#define BIOSCALLBUFFER 0x78000 /* Buffer to store temporary data for any Int386() call */ -#define BIOSCALLBUFSEGMENT 0x7800 /* Buffer to store temporary data for any Int386() call */ -#define BIOSCALLBUFOFFSET 0x0000 /* Buffer to store temporary data for any Int386() call */ -#define FILESYSBUFFER 0x80000 /* Buffer to store file system data (e.g. cluster buffer for FAT) */ -#define DISKREADBUFFER 0x90000 /* Buffer to store data read in from the disk via the BIOS */ -#define DISKREADBUFFER_SIZE 512 -#elif defined(_M_PPC) || defined(_M_MIPS) -#define DISKREADBUFFER 0x80000000 -#define FILESYSBUFFER 0x80000000 -#elif defined(_M_ARM) -extern ULONG gDiskReadBuffer, gFileSysBuffer; -#define DISKREADBUFFER gDiskReadBuffer -#define FILESYSBUFFER gFileSysBuffer -#endif - -/* Makes "x" a global variable or label */ -#define EXTERN(x) .global x; x: - - -// Flag Masks -#define I386FLAG_CF HEX(0001) // Carry Flag -#define I386FLAG_RESV1 HEX(0002) // Reserved - Must be 1 -#define I386FLAG_PF HEX(0004) // Parity Flag -#define I386FLAG_RESV2 HEX(0008) // Reserved - Must be 0 -#define I386FLAG_AF HEX(0010) // Auxiliary Flag -#define I386FLAG_RESV3 HEX(0020) // Reserved - Must be 0 -#define I386FLAG_ZF HEX(0040) // Zero Flag -#define I386FLAG_SF HEX(0080) // Sign Flag -#define I386FLAG_TF HEX(0100) // Trap Flag (Single Step) -#define I386FLAG_IF HEX(0200) // Interrupt Flag -#define I386FLAG_DF HEX(0400) // Direction Flag -#define I386FLAG_OF HEX(0800) // Overflow Flag - - -#ifndef __ASM__ - -#include <pshpack1.h> -typedef struct -{ - unsigned long eax; - unsigned long ebx; - unsigned long ecx; - unsigned long edx; - - unsigned long esi; - unsigned long edi; - - unsigned short ds; - unsigned short es; - unsigned short fs; - unsigned short gs; - - unsigned long eflags; - -} DWORDREGS; - -typedef struct -{ - unsigned short ax, _upper_ax; - unsigned short bx, _upper_bx; - unsigned short cx, _upper_cx; - unsigned short dx, _upper_dx; - - unsigned short si, _upper_si; - unsigned short di, _upper_di; - - unsigned short ds; - unsigned short es; - unsigned short fs; - unsigned short gs; - - unsigned short flags, _upper_flags; - -} WORDREGS; - -typedef struct -{ - unsigned char al; - unsigned char ah; - unsigned short _upper_ax; - unsigned char bl; - unsigned char bh; - unsigned short _upper_bx; - unsigned char cl; - unsigned char ch; - unsigned short _upper_cx; - unsigned char dl; - unsigned char dh; - unsigned short _upper_dx; - - unsigned short si, _upper_si; - unsigned short di, _upper_di; - - unsigned short ds; - unsigned short es; - unsigned short fs; - unsigned short gs; - - unsigned short flags, _upper_flags; - -} BYTEREGS; - - -typedef union -{ - DWORDREGS x; - DWORDREGS d; - WORDREGS w; - BYTEREGS b; -} REGS; -#include <poppack.h> - -// Int386() -// -// Real mode interrupt vector interface -// -// (E)FLAGS can *only* be returned by this function, not set. -// Make sure all memory pointers are in SEG:OFFS format and -// not linear addresses, unless the interrupt handler -// specifically handles linear addresses. -int Int386(int ivec, REGS* in, REGS* out); - -// This macro tests the Carry Flag -// If CF is set then the call failed (usually) -#define INT386_SUCCESS(regs) ((regs.x.eflags & I386FLAG_CF) == 0) - -void EnableA20(void); - -VOID ChainLoadBiosBootSectorCode(VOID); // Implemented in boot.S -VOID SoftReboot(VOID); // Implemented in boot.S - -VOID DetectHardware(VOID); // Implemented in hardware.c - -#endif /* ! __ASM__ */ Modified: trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/amd64.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/amd64.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/amd64.h [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -56,11 +56,7 @@ #ifndef ASM VOID FrLdrSetupGdtIdt(VOID); - -#include <arch/i386/realmode.h> -#define FrldrBootDrive *((PULONG)BSS_BootDrive) -#define FrldrBootPartition *((PULONG)BSS_BootPartition) - +#define MachInit PcMachInit #endif /* EOF */ Removed: trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/hardware.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/hardware.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/hardware.h (removed) @@ -1,94 +1,0 @@ -/* - * FreeLoader - * - * Copyright (C) 2003 Eric Kohl - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#pragma once - -#ifndef __REGISTRY_H -#include "../../reactos/registry.h" -#endif - -#define CONFIG_CMD(bus, dev_fn, where) \ - (0x80000000 | (((ULONG)(bus)) << 16) | (((dev_fn) & 0x1F) << 11) | (((dev_fn) & 0xE0) << 3) | ((where) & ~3)) - - -// -// Static heap for ARC Hardware Component Tree -// 16KB oughta be enough for anyone. -// -#define HW_MAX_ARC_HEAP_SIZE 16 * 1024 - -// -// ARC Component Configuration Routines -// -VOID -NTAPI -FldrCreateSystemKey( - OUT PCONFIGURATION_COMPONENT_DATA *SystemKey -); - -VOID -NTAPI -FldrCreateComponentKey( - IN PCONFIGURATION_COMPONENT_DATA SystemKey, - IN CONFIGURATION_CLASS Class, - IN CONFIGURATION_TYPE Type, - IN IDENTIFIER_FLAG Flags, - IN ULONG Key, - IN ULONG Affinity, - IN PCHAR IdentifierString, - IN PCM_PARTIAL_RESOURCE_LIST ResourceList, - IN ULONG Size, - OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey -); - -/* PROTOTYPES ***************************************************************/ - -/* hardware.c */ - -VOID StallExecutionProcessor(ULONG Microseconds); - -VOID HalpCalibrateStallExecution(VOID); - -/* hwacpi.c */ -VOID DetectAcpiBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); - -/* hwapm.c */ -VOID DetectApmBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); - -/* hwpci.c */ -VOID DetectPciBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); - -/* i386cpu.S */ -ULONG CpuidSupported(VOID); -VOID GetCpuid(ULONG Level, - ULONG *eax, - ULONG *ebx, - ULONG *ecx, - ULONG *edx); -ULONGLONG RDTSC(VOID); - -/* i386pnp.S */ -ULONG_PTR PnpBiosSupported(VOID); -ULONG PnpBiosGetDeviceNodeCount(ULONG *NodeSize, - ULONG *NodeCount); -ULONG PnpBiosGetDeviceNode(UCHAR *NodeId, - UCHAR *NodeBuffer); - -/* EOF */ Removed: trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/machpc.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/machpc.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/amd64/machpc.h (removed) @@ -1,62 +1,0 @@ -/* $Id: machpc.h 32135 2008-02-05 11:13:17Z ros-arm-bringup $ - * - * FreeLoader - * - * Copyright (C) 2003 Eric Kohl - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#pragma once - -#ifndef __MEMORY_H -#include "mm.h" -#endif - -#define MachInit PcMachInit -VOID PcMachInit(const char *CmdLine); - -VOID PcConsPutChar(int Ch); -BOOLEAN PcConsKbHit(VOID); -int PcConsGetCh(VOID); - -VOID PcVideoClearScreen(UCHAR Attr); -VIDEODISPLAYMODE PcVideoSetDisplayMode(char *DisplayMode, BOOLEAN Init); -VOID PcVideoGetDisplaySize(PULONG Width, PULONG Height, PULONG Depth); -ULONG PcVideoGetBufferSize(VOID); -VOID PcVideoSetTextCursorPosition(ULONG X, ULONG Y); -VOID PcVideoHideShowTextCursor(BOOLEAN Show); -VOID PcVideoPutChar(int Ch, UCHAR Attr, unsigned X, unsigned Y); -VOID PcVideoCopyOffScreenBufferToVRAM(PVOID Buffer); -BOOLEAN PcVideoIsPaletteFixed(VOID); -VOID PcVideoSetPaletteColor(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue); -VOID PcVideoGetPaletteColor(UCHAR Color, UCHAR* Red, UCHAR* Green, UCHAR* Blue); -VOID PcVideoSync(VOID); -VOID PcVideoPrepareForReactOS(IN BOOLEAN Setup); -VOID PcPrepareForReactOS(IN BOOLEAN Setup); - -ULONG PcMemGetMemoryMap(PBIOS_MEMORY_MAP BiosMemoryMap, ULONG MaxMemoryMapSize); - -BOOLEAN PcDiskGetBootPath(char *BootPath, unsigned Size); -BOOLEAN PcDiskReadLogicalSectors(ULONG DriveNumber, ULONGLONG SectorNumber, ULONG SectorCount, PVOID Buffer); -BOOLEAN PcDiskGetPartitionEntry(ULONG DriveNumber, ULONG PartitionNumber, PPARTITION_TABLE_ENTRY PartitionTableEntry); -BOOLEAN PcDiskGetDriveGeometry(ULONG DriveNumber, PGEOMETRY DriveGeometry); -ULONG PcDiskGetCacheableBlockCount(ULONG DriveNumber); - -TIMEINFO* PcGetTime(VOID); - -PCONFIGURATION_COMPONENT_DATA PcHwDetect(VOID); - -/* EOF */ Modified: trunk/reactos/boot/freeldr/freeldr/include/arch/arm/hardware.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/arm/hardware.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/arm/hardware.h [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -35,3 +35,7 @@ extern ULONG SecondLevelDcacheFillSize; extern ULONG SecondLevelIcacheSize; extern ULONG SecondLevelIcacheFillSize; + +extern ULONG gDiskReadBuffer, gFileSysBuffer; +#define DISKREADBUFFER gDiskReadBuffer +#define FILESYSBUFFER gFileSysBuffer Removed: trunk/reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h (removed) @@ -1,97 +1,0 @@ -/* - * FreeLoader - * - * Copyright (C) 2003 Eric Kohl - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#pragma once - -#ifndef __REGISTRY_H -#include "../../reactos/registry.h" -#endif - -#define CONFIG_CMD(bus, dev_fn, where) \ - (0x80000000 | (((ULONG)(bus)) << 16) | (((dev_fn) & 0x1F) << 11) | (((dev_fn) & 0xE0) << 3) | ((where) & ~3)) - - -// -// Static heap for ARC Hardware Component Tree -// 16KB oughta be enough for anyone. -// -#define HW_MAX_ARC_HEAP_SIZE 16 * 1024 - -// -// ARC Component Configuration Routines -// -VOID -NTAPI -FldrCreateSystemKey( - OUT PCONFIGURATION_COMPONENT_DATA *SystemKey -); - -VOID -NTAPI -FldrCreateComponentKey( - IN PCONFIGURATION_COMPONENT_DATA SystemKey, - IN CONFIGURATION_CLASS Class, - IN CONFIGURATION_TYPE Type, - IN IDENTIFIER_FLAG Flags, - IN ULONG Key, - IN ULONG Affinity, - IN PCHAR IdentifierString, - IN PCM_PARTIAL_RESOURCE_LIST ResourceList, - IN ULONG Size, - OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey -); - -/* PROTOTYPES ***************************************************************/ - -/* hardware.c */ - -VOID StallExecutionProcessor(ULONG Microseconds); - -VOID HalpCalibrateStallExecution(VOID); - -/* hwacpi.c */ -VOID DetectAcpiBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); - -/* hwapm.c */ -VOID DetectApmBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); - -/* hwpci.c */ -VOID DetectPciBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); - -/* i386cpu.S */ -ULONG CpuidSupported(VOID); -VOID GetCpuid(ULONG Level, - ULONG *eax, - ULONG *ebx, - ULONG *ecx, - ULONG *edx); -ULONGLONG RDTSC(VOID); - -/* i386pnp.S */ -ULONG PnpBiosSupported(VOID); -ULONG PnpBiosGetDeviceNodeCount(ULONG *NodeSize, - ULONG *NodeCount); -ULONG PnpBiosGetDeviceNode(UCHAR *NodeId, - UCHAR *NodeBuffer); - -/* i386pxe.S */ -USHORT PxeCallApi(USHORT Segment, USHORT Offset, USHORT Service, VOID* Parameter); - -/* EOF */ Removed: trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machpc.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machpc.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machpc.h (removed) @@ -1,61 +1,0 @@ -/* $Id$ - * - * FreeLoader - * - * Copyright (C) 2003 Eric Kohl - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#pragma once - -#ifndef __MEMORY_H -#include "mm.h" -#endif - -VOID PcMachInit(const char *CmdLine); - -VOID PcConsPutChar(int Ch); -BOOLEAN PcConsKbHit(VOID); -int PcConsGetCh(VOID); - -VOID PcVideoClearScreen(UCHAR Attr); -VIDEODISPLAYMODE PcVideoSetDisplayMode(char *DisplayMode, BOOLEAN Init); -VOID PcVideoGetDisplaySize(PULONG Width, PULONG Height, PULONG Depth); -ULONG PcVideoGetBufferSize(VOID); -VOID PcVideoSetTextCursorPosition(ULONG X, ULONG Y); -VOID PcVideoHideShowTextCursor(BOOLEAN Show); -VOID PcVideoPutChar(int Ch, UCHAR Attr, unsigned X, unsigned Y); -VOID PcVideoCopyOffScreenBufferToVRAM(PVOID Buffer); -BOOLEAN PcVideoIsPaletteFixed(VOID); -VOID PcVideoSetPaletteColor(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue); -VOID PcVideoGetPaletteColor(UCHAR Color, UCHAR* Red, UCHAR* Green, UCHAR* Blue); -VOID PcVideoSync(VOID); -VOID PcVideoPrepareForReactOS(IN BOOLEAN Setup); -VOID PcPrepareForReactOS(IN BOOLEAN Setup); - -ULONG PcMemGetMemoryMap(PBIOS_MEMORY_MAP BiosMemoryMap, ULONG MaxMemoryMapSize); - -BOOLEAN PcDiskGetBootPath(char *BootPath, unsigned Size); -BOOLEAN PcDiskReadLogicalSectors(ULONG DriveNumber, ULONGLONG SectorNumber, ULONG SectorCount, PVOID Buffer); -BOOLEAN PcDiskGetPartitionEntry(ULONG DriveNumber, ULONG PartitionNumber, PPARTITION_TABLE_ENTRY PartitionTableEntry); -BOOLEAN PcDiskGetDriveGeometry(ULONG DriveNumber, PGEOMETRY DriveGeometry); -ULONG PcDiskGetCacheableBlockCount(ULONG DriveNumber); - -TIMEINFO* PcGetTime(VOID); - -PCONFIGURATION_COMPONENT_DATA PcHwDetect(VOID); - -/* EOF */ Removed: trunk/reactos/boot/freeldr/freeldr/include/arch/i386/pxe.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/i386/pxe.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/i386/pxe.h (removed) @@ -1,602 +1,0 @@ -#ifndef _PXE_ -#define _PXE_ - -/* Basic types */ - -typedef UINT16 OFF16; -typedef UINT16 PXENV_EXIT; -typedef UINT16 PXENV_STATUS; -typedef UINT16 SEGSEL; -typedef UINT16 UDP_PORT; -typedef UINT32 ADDR32; - -#include <pshpack1.h> - -#define IP_ADDR_LEN 4 -typedef union -{ - UINT32 num; - UINT8 array[IP_ADDR_LEN]; -} IP4; - -#define MAC_ADDR_LEN 16 -typedef UINT8 MAC_ADDR[MAC_ADDR_LEN]; - -typedef struct s_SEGDESC -{ - UINT16 segment_address; - UINT32 physical_address; - UINT16 seg_size; -} SEGDESC; - -typedef struct s_SEGOFF16 -{ - OFF16 offset; - SEGSEL segment; -} SEGOFF16; - -typedef struct s_PXE -{ - UINT8 Signature[4]; - UINT8 StructLength; - UINT8 StructCksum; - UINT8 StructRev; - UINT8 reserved1; - SEGOFF16 UNDIROMID; - SEGOFF16 BaseROMID; - SEGOFF16 EntryPointSP; - SEGOFF16 EntryPointESP; - SEGOFF16 StatusCallout; - UINT8 reserved2; - UINT8 SegDescCnt; - SEGSEL FirstSelector; - SEGDESC Stack; - SEGDESC UNDIData; - SEGDESC UNDICode; - SEGDESC UNDICodeWrite; - SEGDESC BC_Data; - SEGDESC BC_Code; - SEGDESC BC_CodeWrite; -} PXE, *PPXE; - -/* PXENV structures */ - -typedef struct s_PXENV_START_UNDI -{ - PXENV_STATUS Status; - UINT16 AX; - UINT16 BX; - UINT16 DX; - UINT16 DI; - UINT16 ES; -} t_PXENV_START_UNDI; - -typedef struct s_PXENV_UNDI_STARTUP -{ - PXENV_STATUS Status; -} t_PXENV_UNDI_STARTUP; - -typedef struct s_PXENV_UNDI_CLEANUP -{ - PXENV_STATUS Status; -} t_PXENV_UNDI_CLEANUP; - -typedef struct s_PXENV_UNDI_INITIALIZE -{ - PXENV_STATUS Status; - ADDR32 ProtocolIni; - UINT8 reserved[8]; -} t_PXENV_UNDI_INITIALIZE; - -#define MAXNUM_MCADDR 8 -typedef struct s_PXENV_UNDI_MCAST_ADDRESS -{ - UINT16 MCastAddrCount; - MAC_ADDR McastAddr[MAXNUM_MCADDR]; -} t_PXENV_UNDI_MCAST_ADDRESS; - -typedef struct s_PXENV_UNDI_RESET -{ - PXENV_STATUS Status; - t_PXENV_UNDI_MCAST_ADDRESS R_Mcast_Buf; -} t_PXENV_UNDI_RESET; - -typedef struct s_PXENV_UNDI_SHUTDOWN -{ - PXENV_STATUS Status; -} t_PXENV_UNDI_SHUTDOWN; - -typedef struct s_PXENV_UNDI_OPEN -{ - PXENV_STATUS Status; - UINT16 OpenFlag; - UINT16 PktFilter; -#define FLTR_DIRECTED 0x01 -#define FLTR_BRDCST 0x02 -#define FLTR_PRMSCS 0x04 -#define FLTR_SRC_RTG 0x08 - - t_PXENV_UNDI_MCAST_ADDRESS R_Mcast_Buf; -} t_PXENV_UNDI_OPEN; - -typedef struct s_PXENV_UNDI_CLOSE -{ - PXENV_STATUS Status; -} t_PXENV_UNDI_CLOSE; - -typedef struct s_PXENV_UNDI_TRANSMIT -{ - PXENV_STATUS Status; - UINT8 Protocol; -#define P_UNKNOWN 0 -#define P_IP 1 -#define P_ARP 2 -#define P_RARP 3 - - UINT8 XmitFlag; -#define XMT_DESTADDR 0x00 -#define XMT_BROADCAST 0x01 - - SEGOFF16 DestAddr; - SEGOFF16 TBD; - UINT32 Reserved[2]; -} t_PXENV_UNDI_TRANSMIT; - -#define MAX_DATA_BLKS 8 -typedef struct s_PXENV_UNDI_TBD -{ - UINT16 ImmedLength; - SEGOFF16 Xmit; - UINT16 DataBlkCount; - struct DataBlk - { - UINT8 TDPtrType; - UINT8 TDRsvdByte; - UINT8 TDDataLen; - SEGOFF16 TDDataPtr; - } DataBlock[MAX_DATA_BLKS]; -} t_PXENV_UNDI_TBD; - -typedef struct s_PXENV_UNDI_SET_MCAST_ADDRESS -{ - PXENV_STATUS Status; - t_PXENV_UNDI_MCAST_ADDRESS R_Mcast_Buf; -} t_PXENV_UNDI_SET_MCAST_ADDRESS; - -typedef struct s_PXENV_UNDI_SET_STATION_ADDRESS -{ - PXENV_STATUS Status; - MAC_ADDR StationAddress; -} t_PXENV_UNDI_SET_STATION_ADDRESS; - -typedef struct s_PXENV_UNDI_SET_PACKET_FILTER -{ - PXENV_STATUS Status; - UINT8 filter; -} t_PXENV_UNDI_SET_PACKET_FILTER; - -typedef struct s_PXENV_UNDI_GET_INFORMATION -{ - PXENV_STATUS Status; - UINT16 BaseIo; - UINT16 IntNumber; - UINT16 MaxTranUnit; - UINT16 HwType; -#define ETHER_TYPE 1 -#define EXP_ETHER_TYPE 2 -#define IEEE_TYPE 3 -#define ARCNET_TYPE 4 - - UINT16 HwAddrLen; - MAC_ADDR CurrentNodeAddress; - MAC_ADDR PermNodeAddress; - SEGSEL ROMAddress; - UINT16 RxBufCt; - UINT16 TxBufCt; -} t_PXENV_UNDI_GET_INFORMATION; - -typedef struct s_PXENV_UNDI_GET_STATISTICS -{ - PXENV_STATUS Status; - UINT32 XmtGoodFrames; - UINT32 RcvGoodFrames; - UINT32 RcvCRCErrors; - UINT32 RcvResourceErrors; -} t_PXENV_UNDI_GET_STATISTICS; - -typedef struct s_PXENV_UNDI_CLEAR_STATISTICS -{ - PXENV_STATUS Status; -} t_PXENV_UNDI_CLEAR_STATISTICS; - -typedef struct s_PXENV_UNDI_INITIATE_DIAGS -{ - PXENV_STATUS Status; -} t_PXENV_UNDI_INITIATE_DIAGS; - -typedef struct s_PXENV_UNDI_FORCE_INTERRUPT -{ - PXENV_STATUS Status; -} t_PXENV_UNDI_FORCE_INTERRUPT; - -typedef struct s_PXENV_UNDI_GET_MCAST_ADDRESS -{ - PXENV_STATUS Status; - IP4 InetAddr; - MAC_ADDR MediaAddr; -} t_PXENV_UNDI_GET_MCAST_ADDRESS; - -typedef struct s_PXENV_UNDI_GET_NIC_TYPE -{ - PXENV_STATUS Status; - UINT8 NicType; -#define PCI_NIC 2 -#define PnP_NIC 3 -#define CardBus_NIC 4 - - union - { - struct - { - UINT16 Vendor_ID; - UINT16 Dev_ID; - UINT8 Base_Class; - UINT8 Sub_Class; - UINT8 Prog_Intf; - UINT8 Rev; - UINT16 BusDevFunc; - UINT16 SubVendor_ID; - UINT16 SubDevice_ID; - } pci, cardbus; - struct - { - UINT32 EISA_Dev_ID; - UINT8 Base_Class; - UINT8 Sub_Class; - UINT8 Prog_Intf; - UINT16 CardSelNum; - } pnp; - } info; -} t_PXENV_UNDI_GET_NIC_TYPE; - -typedef struct s_PXENV_UNDI_GET_IFACE_INFO -{ - PXENV_STATUS Status; - UINT8 IfaceType[16]; - UINT32 LinkSpeed; - UINT32 ServiceFlags; - UINT32 Reserved[4]; -} t_PXENV_UNDI_GET_IFACE_INFO; - -typedef struct s_PXENV_UNDI_ISR -{ - PXENV_STATUS Status; - UINT16 FuncFlag; - UINT16 BufferLength; - UINT16 FrameLength; - UINT16 FrameHeaderLength; - SEGOFF16 Frame; - UINT8 ProtType; - UINT8 PktType; -} t_PXENV_UNDI_ISR; - -#define PXENV_UNDI_ISR_IN_START 1 -#define PXENV_UNDI_ISR_IN_PROCESS 2 -#define PXENV_UNDI_ISR_IN_GET_NEXT 3 - -/* One of these will be returned for PXENV_UNDI_ISR_IN_START */ -#define PXENV_UNDI_ISR_OUT_OURS 0 -#define PXENV_UNDI_ISR_OUT_NOT_OURS 1 - -/* One of these will be returned for PXENV_UNDI_ISR_IN_PROCESS and PXENV_UNDI_ISR_IN_GET_NEXT */ -#define PXENV_UNDI_ISR_OUT_DONE 0 -#define PXENV_UNDI_ISR_OUT_TRANSMIT 2 -#define PXENV_UNDI_ISR_OUT_RECEIVE 3 -#define PXENV_UNDI_ISR_OUT_BUSY 4 - -typedef struct s_PXENV_UNDI_GET_STATE -{ - PXENV_STATUS Status; -#define PXE_UNDI_GET_STATE_STARTED 1 -#define PXE_UNDI_GET_STATE_INITIALIZED 2 -#define PXE_UNDI_GET_STATE_OPENED 3 - UINT8 UNDIState; -} t_PXENV_UNDI_GET_STATE; - -typedef struct s_PXENV_STOP_UNDI -{ - PXENV_STATUS Status; -} t_PXENV_STOP_UNDI; - -typedef struct s_PXENV_TFTP_OPEN -{ - PXENV_STATUS Status; - IP4 ServerIPAddress; - IP4 GatewayIPAddress; - UINT8 FileName[128]; - UDP_PORT TFTPPort; - UINT16 PacketSize; -} t_PXENV_TFTP_OPEN; - -typedef struct s_PXENV_TFTP_CLOSE -{ - PXENV_STATUS Status; -} t_PXENV_TFTP_CLOSE; - -typedef struct s_PXENV_TFTP_READ -{ - PXENV_STATUS Status; - UINT16 PacketNumber; - UINT16 BufferSize; - SEGOFF16 Buffer; -} t_PXENV_TFTP_READ; - -typedef struct s_PXENV_TFTP_READ_FILE -{ - PXENV_STATUS Status; - UINT8 FileName[128]; - UINT32 BufferSize; - ADDR32 Buffer; - IP4 ServerIPAddress; - IP4 GatewayIPAddress; - IP4 McastIPAddress; - UDP_PORT TFTPClntPort; - UDP_PORT TFTPSvrPort; - UINT16 TFTPOpenTimeOut; - UINT16 TFTPReopenDelay; -} t_PXENV_TFTP_READ_FILE; - -typedef struct s_PXENV_TFTP_GET_FSIZE -{ - PXENV_STATUS Status; - IP4 ServerIPAddress; - IP4 GatewayIPAddress; - UINT8 FileName[128]; - UINT32 FileSize; -} t_PXENV_TFTP_GET_FSIZE; - -typedef struct s_PXENV_UDP_OPEN -{ - PXENV_STATUS Status; - IP4 src_ip; -} t_PXENV_UDP_OPEN; - -typedef struct s_PXENV_UDP_CLOSE -{ - PXENV_STATUS Status; -} t_PXENV_UDP_CLOSE; - -typedef struct s_PXENV_UDP_READ -{ - PXENV_STATUS Status; - IP4 ip; - IP4 dest_ip; - UDP_PORT s_port; - UDP_PORT d_port; - UINT16 buffer_size; - SEGOFF16 buffer; -} t_PXENV_UDP_READ; - -typedef struct s_PXENV_UDP_WRITE -{ - PXENV_STATUS Status; - IP4 ip; - IP4 gw; - UDP_PORT src_port; - UDP_PORT dst_port; - UINT16 buffer_size; - SEGOFF16 buffer; -} t_PXENV_UDP_WRITE; - -typedef struct s_PXENV_UNLOAD_STACK -{ - PXENV_STATUS Status; - UINT8 reserved[10]; -} t_PXENV_UNLOAD_STACK; - -typedef struct s_PXENV_GET_CACHED_INFO -{ - PXENV_STATUS Status; - UINT16 PacketType; -#define PXENV_PACKET_TYPE_DHCP_DISCOVER 1 -#define PXENV_PACKET_TYPE_DHCP_ACK 2 -#define PXENV_PACKET_TYPE_CACHED_REPLY 3 - UINT16 BufferSize; - SEGOFF16 Buffer; - UINT16 BufferLimit; -} t_PXENV_GET_CACHED_INFO; - -typedef struct s_PXENV_START_BASE -{ - PXENV_STATUS Status; -} t_PXENV_START_BASE; - -typedef struct s_PXENV_STOP_BASE -{ - PXENV_STATUS Status; -} t_PXENV_STOP_BASE; - -typedef struct bootph -{ - UINT8 opcode; -#define BOOTP_REQ 1 -#define BOOTP_REP 2 - - UINT8 Hardware; - UINT8 Hardlen; - UINT8 Gatehops; - UINT32 ident; - UINT16 seconds; - UINT16 Flags; -#define BOOTP_BCAST 0x8000 - - IP4 cip; - IP4 yip; - IP4 sip; - IP4 gip; - MAC_ADDR CAddr; - UINT8 Sname[64]; - UINT8 bootfile[128]; - union - { -#define BOOTP_DHCPVEND 1024 /* DHCP extended vendor field size */ - UINT8 d[BOOTP_DHCPVEND]; - struct - { - UINT8 magic[4]; -#define VM_RFC1048 0x63825363 - UINT32 flags; - UINT8 pad[56]; - } v; - } vendor; -} BOOTPLAYER; - -#include <poppack.h> - -/* Exit codes returned in AX by a PXENV API service */ -#define PXENV_EXIT_SUCCESS 0x0000 -#define PXENV_EXIT_FAILURE 0x0001 - -/* Generic API status & error codes that are reported by the loader */ -#define PXENV_STATUS_SUCCESS 0x00 -#define PXENV_STATUS_FAILURE 0x01 /* General failure */ -#define PXENV_STATUS_BAD_FUNC 0x02 /* Invalid function number */ -#define PXENV_STATUS_UNSUPPORTED 0x03 /* Function is not yet supported */ -#define PXENV_STATUS_KEEP_UNDI 0x04 /* UNDI must not be unloaded from base memory */ -#define PXENV_STATUS_KEEP_ALL 0x05 -#define PXENV_STATUS_OUT_OF_RESOURCES 0x06 /* Base code and UNDI must not be unloaded from base memory */ - -/* ARP errors (0x10 to 0x1f) */ -#define PXENV_STATUS_ARP_TIMEOUT 0x11 - -/* Base code state errors */ -#define PXENV_STATUS_UDP_CLOSED 0x18 -#define PXENV_STATUS_UDP_OPEN 0x19 -#define PXENV_STATUS_TFTP_CLOSED 0x1a -#define PXENV_STATUS_TFTP_OPEN 0x1b - -/* BIOS/system errors (0x20 to 0x2f) */ -#define PXENV_STATUS_MCOPY_PROBLEM 0x20 -#define PXENV_STATUS_BIS_INTEGRITY_FAILURE 0x21 -#define PXENV_STATUS_BIS_VALIDATE_FAILURE 0x22 -#define PXENV_STATUS_BIS_INIT_FAILURE 0x23 -#define PXENV_STATUS_BIS_SHUTDOWN_FAILURE 0x24 -#define PXENV_STATUS_BIS_GBOA_FAILURE 0x25 -#define PXENV_STATUS_BIS_FREE_FAILURE 0x26 -#define PXENV_STATUS_BIS_GSI_FAILURE 0x27 -#define PXENV_STATUS_BIS_BAD_CKSUM 0x28 - -/* TFTP/MTFTP errors (0x30 to 0x3f) */ -#define PXENV_STATUS_TFTP_CANNOT_ARP_ADDRESS 0x30 -#define PXENV_STATUS_TFTP_OPEN_TIMEOUT 0x32 -#define PXENV_STATUS_TFTP_UNKNOWN_OPCODE 0x33 -#define PXENV_STATUS_TFTP_READ_TIMEOUT 0x35 -#define PXENV_STATUS_TFTP_ERROR_OPCODE 0x36 -#define PXENV_STATUS_TFTP_CANNOT_OPEN_CONNECTION 0x38 -#define PXENV_STATUS_TFTP_CANNOT_READ_FROM_CONNECTION 0x39 -#define PXENV_STATUS_TFTP_TOO_MANY_PACKAGES 0x3a -#define PXENV_STATUS_TFTP_FILE_NOT_FOUND 0x3b -#define PXENV_STATUS_TFTP_ACCESS_VIOLATION 0x3c -#define PXENV_STATUS_TFTP_NO_MCAST_ADDRESS 0x3d -#define PXENV_STATUS_TFTP_NO_FILESIZE 0x3e -#define PXENV_STATUS_TFTP_INVALID_PACKET_SIZE 0x3f - -/* Reserved errors (0x40 to 0x4f) */ - -/* DHCP/BOOTP errors (0x50 to 0x5f) */ -#define PXENV_STATUS_DHCP_TIMEOUT 0x51 -#define PXENV_STATUS_DHCP_NO_IP_ADDRESS 0x52 -#define PXENV_STATUS_DHCP_NO_BOOTFILE_NAME 0x53 -#define PXENV_STATUS_DHCP_BAD_IP_ADDRESS 0x54 - -/* Driver errors (0x60 to 0x6f) */ -/* These errors are for UNDI compatible NIC drivers */ -#define PXENV_STATUS_UNDI_INVALID_FUNCTION 0x60 -#define PXENV_STATUS_UNDI_MEDIATEST_FAILED 0x61 -#define PXENV_STATUS_UNDI_CANNOT_INIT_NIC_FOR_MCAST 0x62 -#define PXENV_STATUS_UNDI_CANNOT_INITIALIZE_NIC 0x63 -#define PXENV_STATUS_UNDI_CANNOT_INITIALIZE_PHY 0x64 -#define PXENV_STATUS_UNDI_CANNOT_READ_CONFIG_DATA 0x65 -#define PXENV_STATUS_UNDI_CANNOT_READ_INIT_DATA 0x66 -#define PXENV_STATUS_UNDI_BAD_MAC_ADDRESS 0x67 -#define PXENV_STATUS_UNDI_BAD_EEPROM_CHECKSUM 0x68 -#define PXENV_STATUS_UNDI_ERROR_SETTING_ISR 0x69 -#define PXENV_STATUS_UNDI_INVALID_STATE 0x6a -#define PXENV_STATUS_UNDI_TRANSMIT_ERROR 0x6b -#define PXENV_STATUS_UNDI_INVALID_PARAMETER 0x6c - -/* ROM and NBP bootstrap errors (0x70 to 0x7f) */ -#define PXENV_STATUS_BSTRAP_PROMPT_MENU 0x74 -#define PXENV_STATUS_BSTRAP_MCAST_ADDR 0x76 -#define PXENV_STATUS_BSTRAP_MISSING_LIST 0x77 -#define PXENV_STATUS_BSTRAP_NO_RESPONSE 0x78 -#define PXENV_STATUS_BSTRAP_FILE_TOO_BIG 0x79 - -/* Environment NBP errors (0x80 to 0x8f) */ - -/* Reserved errors (0x90 to 0x9f) */ - -/* Misc. errors (0xa0 to 0xaf) */ -#define PXENV_STATUS_BINL_CANCELED_BY_KEYSTROKE 0xa0 -#define PXENV_STATUS_BINL_NO_PXE_SERVER 0xa1 -#define PXENV_STATUS_NOT_AVAILABLE_IN_PMODE 0xa2 -#define PXENV_STATUS_NOT_AVAILABLE_IN_RMODE 0xa3 - -/* BUSD errors (0xb0 to 0xbf) */ -#define PXENV_STATUS_BUSD_DEVICE_NOT_SUPPORTED 0xb0 - -/* Loader errors (0xc0 to 0xcf) */ -#define PXENV_STATUS_LOADER_NO_FREE_BASE_MEMORY 0xc0 -#define PXENV_STATUS_LOADER_NO_BC_ROMID 0xc1 -#define PXENV_STATUS_LOADER_BAD_BC_ROMID 0xc2 -#define PXENV_STATUS_LOADER_BAD_BC_RUNTIME_IMAGE 0xc3 -#define PXENV_STATUS_LOADER_NO_UNDI_ROMID 0xc4 -#define PXENV_STATUS_LOADER_BAD_UNDI_ROMID 0xc5 -#define PXENV_STATUS_LOADER_BAD_UNDI_DRIVER_IMAGE 0xc6 -#define PXENV_STATUS_LOADER_NO_PXE_STRUCT 0xc8 -#define PXENV_STATUS_LOADER_NO_PXENV_STRUCT 0xc9 -#define PXENV_STATUS_LOADER_UNDI_START 0xca -#define PXENV_STATUS_LOADER_BC_START 0xcb - -/* Vendor errors (0xd0 to 0xff) */ - -/* PXENV API services */ -#define PXENV_START_UNDI 0x00 -#define PXENV_UNDI_STARTUP 0x01 -#define PXENV_UNDI_CLEANUP 0x02 -#define PXENV_UNDI_INITIALIZE 0x03 -#define PXENV_UNDI_RESET_ADAPTER 0x04 -#define PXENV_UNDI_SHUTDOWN 0x05 -#define PXENV_UNDI_OPEN 0x06 -#define PXENV_UNDI_CLOSE 0x07 -#define PXENV_UNDI_TRANSMIT 0x08 -#define PXENV_UNDI_SET_MCAST_ADDRESS 0x09 -#define PXENV_UNDI_SET_STATION_ADDRESS 0x0a -#define PXENV_UNDI_SET_PACKET_FILTER 0x0b -#define PXENV_UNDI_GET_INFORMATION 0x0c -#define PXENV_UNDI_GET_STATISTICS 0x0d -#define PXENV_UNDI_CLEAR_STATISTICS 0x0e -#define PXENV_UNDI_INITIATE_DIAGS 0x0f -#define PXENV_UNDI_FORCE_INTERRUPT 0x10 -#define PXENV_UNDI_GET_MCAST_ADDRESS 0x11 -#define PXENV_UNDI_GET_NIC_TYPE 0x12 -#define PXENV_UNDI_GET_IFACE_INFO 0x13 -#define PXENV_UNDI_ISR 0x14 -#define PXENV_UNDI_GET_STATE 0x15 -#define PXENV_STOP_UNDI 0x15 -#define PXENV_TFTP_OPEN 0x20 -#define PXENV_TFTP_CLOSE 0x21 -#define PXENV_TFTP_READ 0x22 -#define PXENV_TFTP_READ_FILE 0x23 -#define PXENV_TFTP_GET_FSIZE 0x25 -#define PXENV_UDP_OPEN 0x30 -#define PXENV_UDP_CLOSE 0x31 -#define PXENV_UDP_READ 0x32 -#define PXENV_UDP_WRITE 0x33 -#define PXENV_UNLOAD_STACK 0x70 -#define PXENV_GET_CACHED_INFO 0x71 -#define PXENV_RESTART_TFTP 0x73 -#define PXENV_START_BASE 0x75 -#define PXENV_STOP_BASE 0x76 - -#endif Removed: trunk/reactos/boot/freeldr/freeldr/include/arch/i386/realmode.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/i386/realmode.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/i386/realmode.h (removed) @@ -1,13 +1,0 @@ - - -/* These addresses specify the realmode "BSS section" */ -#define BSS_START HEX(7000) -#define BSS_CallbackAddress BSS_START + 0 -#define BSS_CallbackReturn BSS_START + 8 -#define BSS_BootDrive BSS_START + 16 -#define BSS_BootPartition BSS_START + 20 - -#define PE_LOAD_BASE HEX(9000) -#define IMAGE_DOS_HEADER_e_lfanew 36 -#define IMAGE_FILE_HEADER_SIZE 20 -#define IMAGE_OPTIONAL_HEADER_AddressOfEntryPoint 16 Propchange: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Fri Jun 10 17:18:26 2011 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+) Propchange: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details. Propchange: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/ ------------------------------------------------------------------------------ bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/ ------------------------------------------------------------------------------ tsvn:logminsize = 10 Copied: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/hardware.h (from r52171, trunk/reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h) URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/pc/hardware.h [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -19,10 +19,6 @@ */ #pragma once - -#ifndef __REGISTRY_H -#include "../../reactos/registry.h" -#endif #define CONFIG_CMD(bus, dev_fn, where) \ (0x80000000 | (((ULONG)(bus)) << 16) | (((dev_fn) & 0x1F) << 11) | (((dev_fn) & 0xE0) << 3) | ((where) & ~3)) @@ -85,7 +81,7 @@ ULONGLONG RDTSC(VOID); /* i386pnp.S */ -ULONG PnpBiosSupported(VOID); +ULONG_PTR PnpBiosSupported(VOID); ULONG PnpBiosGetDeviceNodeCount(ULONG *NodeSize, ULONG *NodeCount); ULONG PnpBiosGetDeviceNode(UCHAR *NodeId, Added: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/pcbios.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/pc/pcbios.h (added) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/pc/pcbios.h [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -1,0 +1,98 @@ +#ifndef __ASM__ + +#include <pshpack1.h> +typedef struct +{ + unsigned long eax; + unsigned long ebx; + unsigned long ecx; + unsigned long edx; + + unsigned long esi; + unsigned long edi; + + unsigned short ds; + unsigned short es; + unsigned short fs; + unsigned short gs; + + unsigned long eflags; + +} DWORDREGS; + +typedef struct +{ + unsigned short ax, _upper_ax; + unsigned short bx, _upper_bx; + unsigned short cx, _upper_cx; + unsigned short dx, _upper_dx; + + unsigned short si, _upper_si; + unsigned short di, _upper_di; + + unsigned short ds; + unsigned short es; + unsigned short fs; + unsigned short gs; + + unsigned short flags, _upper_flags; + +} WORDREGS; + +typedef struct +{ + unsigned char al; + unsigned char ah; + unsigned short _upper_ax; + unsigned char bl; + unsigned char bh; + unsigned short _upper_bx; + unsigned char cl; + unsigned char ch; + unsigned short _upper_cx; + unsigned char dl; + unsigned char dh; + unsigned short _upper_dx; + + unsigned short si, _upper_si; + unsigned short di, _upper_di; + + unsigned short ds; + unsigned short es; + unsigned short fs; + unsigned short gs; + + unsigned short flags, _upper_flags; + +} BYTEREGS; + + +typedef union +{ + DWORDREGS x; + DWORDREGS d; + WORDREGS w; + BYTEREGS b; +} REGS; +#include <poppack.h> + +// Int386() +// +// Real mode interrupt vector interface +// +// (E)FLAGS can *only* be returned by this function, not set. +// Make sure all memory pointers are in SEG:OFFS format and +// not linear addresses, unless the interrupt handler +// specifically handles linear addresses. +int Int386(int ivec, REGS* in, REGS* out); + +// This macro tests the Carry Flag +// If CF is set then the call failed (usually) +#define INT386_SUCCESS(regs) ((regs.x.eflags & I386FLAG_CF) == 0) + +void EnableA20(void); +VOID ChainLoadBiosBootSectorCode(VOID); // Implemented in boot.S +VOID SoftReboot(VOID); // Implemented in boot.S +VOID DetectHardware(VOID); // Implemented in hardware.c + +#endif /* ! __ASM__ */ Propchange: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/pcbios.h ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h (added) +++ trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -1,0 +1,57 @@ + +#ifndef HEX +#define HEX(y) 0x##y +#endif + +/* Memory layout */ +#define STACK16ADDR HEX(7000) /* The 16-bit stack top will be at 0000:7000 */ +#define BSS_START HEX(7000) +#define FREELDR_BASE HEX(8000) +#define FREELDR_PE_BASE HEX(9000) +#define STACK32ADDR HEX(78000) /* The 32-bit stack top will be at 7000:8000, or 0x78000 */ +#define BIOSCALLBUFFER HEX(78000) /* Buffer to store temporary data for any Int386() call */ +#define BIOSCALLBUFSEGMENT HEX(7800) /* Buffer to store temporary data for any Int386() call */ +#define BIOSCALLBUFOFFSET HEX(0000) /* Buffer to store temporary data for any Int386() call */ +#define FILESYSBUFFER HEX(80000) /* Buffer to store file system data (e.g. cluster buffer for FAT) */ +#define DISKREADBUFFER HEX(90000) /* Buffer to store data read in from the disk via the BIOS */ +#define DISKREADBUFFER_SIZE 512 + +/* These addresses specify the realmode "BSS section" layout */ +#define BSS_CallbackAddress BSS_START + 0 +#define BSS_CallbackReturn BSS_START + 8 +#define BSS_BootDrive BSS_START + 16 +#define BSS_BootPartition BSS_START + 20 + +#ifdef _M_AMD64 +#define FrldrBootDrive *((PULONG)BSS_BootDrive) +#define FrldrBootPartition *((PULONG)BSS_BootPartition) +#endif + +// Flag Masks +#define I386FLAG_CF HEX(0001) // Carry Flag +#define I386FLAG_RESV1 HEX(0002) // Reserved - Must be 1 +#define I386FLAG_PF HEX(0004) // Parity Flag +#define I386FLAG_RESV2 HEX(0008) // Reserved - Must be 0 +#define I386FLAG_AF HEX(0010) // Auxiliary Flag +#define I386FLAG_RESV3 HEX(0020) // Reserved - Must be 0 +#define I386FLAG_ZF HEX(0040) // Zero Flag +#define I386FLAG_SF HEX(0080) // Sign Flag +#define I386FLAG_TF HEX(0100) // Trap Flag (Single Step) +#define I386FLAG_IF HEX(0200) // Interrupt Flag +#define I386FLAG_DF HEX(0400) // Direction Flag +#define I386FLAG_OF HEX(0800) // Overflow Flag + +#define CR0_PE_SET HEX(00000001) /* OR this value with CR0 to enable pmode */ +#define CR0_PE_CLR HEX(FFFFFFFE) /* AND this value with CR0 to disable pmode */ + +/* Defines needed for switching between real and protected mode */ +#ifdef _M_IX86 +#define NULL_DESC HEX(00) /* NULL descriptor */ +#define PMODE_CS HEX(08) /* PMode code selector, base 0 limit 4g */ +#define PMODE_DS HEX(10) /* PMode data selector, base 0 limit 4g */ +#define RMODE_CS HEX(18) /* RMode code selector, base 0 limit 64k */ +#define RMODE_DS HEX(20) /* RMode data selector, base 0 limit 64k */ +#endif + +/* Makes "x" a global variable or label */ +#define EXTERN(x) .global x; x: Propchange: trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/boot/freeldr/freeldr/include/freeldr.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/freeldr.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/freeldr.h [iso-8859-1] Fri Jun 10 17:18:26 2011 @@ -29,6 +29,7 @@ #define ROUND_UP(n, align) \ ROUND_DOWN(((ULONG)n) + (align) - 1, (align)) +/* public headers */ #define NTOSAPI #define printf TuiPrintf #include <ntddk.h> @@ -45,78 +46,80 @@ #include <stdio.h> #include <ctype.h> #include <rosldr.h> +#include <rtl.h> +#include <ntdddisk.h> +#include <internal/hal.h> +#include <drivers/pci/pci.h> +#include <reactos/buildno.h> +#include <winerror.h> + +/* internal headers */ #include <arcemul.h> -#include <arch.h> -#include <rtl.h> +#include <bytesex.h> +#include <bget.h> +#include <cache.h> +#include <cmdline.h> +#include <comm.h> #include <disk.h> #include <fs.h> -#include <ui.h> +#include <inffile.h> +#include <inifile.h> +#include <keycodes.h> +#include <linux.h> +#include <machine.h> +#include <mm.h> #include <multiboot.h> -#include <mm.h> -#include <cache.h> -#include <machine.h> -#include <inifile.h> -#include <inffile.h> -#include <video.h> +#include <options.h> +#include <oslist.h> #include <ramdisk.h> #include <reactos.h> #include <registry.h> +#include <ui.h> +#include <ver.h> +#include <video.h> #include <winldr.h> -#include <ntdddisk.h> -#include <internal/hal.h> + /* file system headers */ #include <fs/ext2.h> #include <fs/fat.h> #include <fs/ntfs.h> #include <fs/iso.h> #include <fs/pxe.h> + /* ui support */ #include <ui/gui.h> #include <ui/minitui.h> #include <ui/noui.h> #include <ui/tui.h> -/* arch files */ + +/* arch specific includes */ #if defined(_M_IX86) #include <arch/i386/custom.h> #include <arch/i386/drivemap.h> -#include <arch/i386/hardware.h> #include <arch/i386/i386.h> -#include <arch/i386/machpc.h> #include <arch/i386/machxbox.h> #include <arch/i386/miscboot.h> -#include <arch/i386/pxe.h> +#include <arch/pc/hardware.h> +#include <arch/pc/machpc.h> +#include <arch/pc/x86common.h> +#include <arch/pc/pcbios.h> +#include <arch/pc/pxe.h> #include <internal/i386/intrin_i.h> +#elif defined(_M_AMD64) +#include <arch/amd64/amd64.h> +#include <arch/pc/hardware.h> +#include <arch/pc/machpc.h> +#include <arch/pc/x86common.h> +#include <arch/pc/pcbios.h> +#include <arch/pc/pxe.h> +#include <internal/amd64/intrin_i.h> #elif defined(_M_PPC) #include <arch/powerpc/hardware.h> #elif defined(_M_ARM) #include <arch/arm/hardware.h> #elif defined(_M_MIPS) #include <arch/mips/arcbios.h> -#elif defined(_M_AMD64) -#include <arch/amd64/hardware.h> -#include <arch/amd64/machpc.h> -#include <arch/i386/pxe.h> -#include <internal/amd64/intrin_i.h> #endif -/* misc files */ -#include <keycodes.h> -#include <ver.h> -#include <cmdline.h> -#include <bget.h> -#include <winerror.h> -/* Needed by boot manager */ -#include <oslist.h> -#include <options.h> -#include <linux.h> -/* Externals */ -#include <reactos/rossym.h> -#include <reactos/buildno.h> -/* Needed if debuging is enabled */ -#include <comm.h> -/* Swap */ -#include <bytesex.h> -/* Internal shared PCI header */ -#include <drivers/pci/pci.h> VOID BootMain(LPSTR CmdLine); VOID RunLoader(VOID);
13 years, 6 months
1
0
0
0
[ilardig] 52174: Fix build.
by ilardig@svn.reactos.org
Author: ilardig Date: Fri Jun 10 16:00:50 2011 New Revision: 52174 URL:
http://svn.reactos.org/svn/reactos?rev=52174&view=rev
Log: Fix build. Modified: trunk/reactos/boot/bootdata/packages/reactos.dff Modified: trunk/reactos/boot/bootdata/packages/reactos.dff URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/packages/rea…
============================================================================== --- trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] (original) +++ trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] Fri Jun 10 16:00:50 2011 @@ -141,7 +141,7 @@ dll\cpl\desk\desk.cpl 1 dll\cpl\hdwwiz\hdwwiz.cpl 1 dll\cpl\input\input.dll 1 -dll\cpl\inetcpl\incetcpl.cpl 1 +dll\cpl\inetcpl\inetcpl.cpl 1 dll\cpl\intl\intl.cpl 1 dll\cpl\joy\joy.cpl 1 ;dll\cpl\liccpa\liccpa.cpl 1
13 years, 6 months
1
0
0
0
[ilardig] 52173: [inetcpl] - Initial import from Wine 1.3.21
by ilardig@svn.reactos.org
Author: ilardig Date: Fri Jun 10 15:45:51 2011 New Revision: 52173 URL:
http://svn.reactos.org/svn/reactos?rev=52173&view=rev
Log: [inetcpl] - Initial import from Wine 1.3.21 Added: trunk/reactos/dll/cpl/inetcpl/ (with props) trunk/reactos/dll/cpl/inetcpl/content.c (with props) trunk/reactos/dll/cpl/inetcpl/general.c (with props) trunk/reactos/dll/cpl/inetcpl/inetcpl.c (with props) trunk/reactos/dll/cpl/inetcpl/inetcpl.h (with props) trunk/reactos/dll/cpl/inetcpl/inetcpl.ico (with props) trunk/reactos/dll/cpl/inetcpl/inetcpl.rbuild (with props) trunk/reactos/dll/cpl/inetcpl/inetcpl.rc (with props) trunk/reactos/dll/cpl/inetcpl/inetcpl.spec (with props) trunk/reactos/dll/cpl/inetcpl/inetcpl.svg (with props) trunk/reactos/dll/cpl/inetcpl/lang/ (with props) trunk/reactos/dll/cpl/inetcpl/lang/He.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/Sr.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/de-DE.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/en-US.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/fr-FR.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/it-IT.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/ja-JP.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/ko-KR.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/lt-LT.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/nl-NL.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/pl-PL.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/pt-PT.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/ru-RU.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/sv-SE.rc (with props) trunk/reactos/dll/cpl/inetcpl/lang/uk-UA.rc (with props) trunk/reactos/dll/cpl/inetcpl/security.c (with props) Modified: trunk/reactos/baseaddress.rbuild trunk/reactos/boot/bootdata/packages/reactos.dff trunk/reactos/dll/cpl/cpl.rbuild trunk/reactos/include/reactos/wine/commctrl.h [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/baseaddress.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/baseaddress.rbuild?rev=521…
Modified: trunk/reactos/boot/bootdata/packages/reactos.dff URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/packages/rea…
Modified: trunk/reactos/dll/cpl/cpl.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/cpl.rbuild?rev=521…
Added: trunk/reactos/dll/cpl/inetcpl/content.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/content.c?…
Added: trunk/reactos/dll/cpl/inetcpl/general.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/general.c?…
Added: trunk/reactos/dll/cpl/inetcpl/inetcpl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/inetcpl.c?…
Added: trunk/reactos/dll/cpl/inetcpl/inetcpl.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/inetcpl.h?…
Added: trunk/reactos/dll/cpl/inetcpl/inetcpl.ico URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/inetcpl.ic…
Added: trunk/reactos/dll/cpl/inetcpl/inetcpl.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/inetcpl.rb…
Added: trunk/reactos/dll/cpl/inetcpl/inetcpl.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/inetcpl.rc…
Added: trunk/reactos/dll/cpl/inetcpl/inetcpl.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/inetcpl.sp…
Added: trunk/reactos/dll/cpl/inetcpl/inetcpl.svg URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/inetcpl.sv…
Added: trunk/reactos/dll/cpl/inetcpl/lang/He.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/He.rc…
Added: trunk/reactos/dll/cpl/inetcpl/lang/Sr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/Sr.rc…
Added: trunk/reactos/dll/cpl/inetcpl/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/de-DE…
Added: trunk/reactos/dll/cpl/inetcpl/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/en-US…
Added: trunk/reactos/dll/cpl/inetcpl/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/fr-FR…
Added: trunk/reactos/dll/cpl/inetcpl/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/it-IT…
Added: trunk/reactos/dll/cpl/inetcpl/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/ja-JP…
Added: trunk/reactos/dll/cpl/inetcpl/lang/ko-KR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/ko-KR…
Added: trunk/reactos/dll/cpl/inetcpl/lang/lt-LT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/lt-LT…
Added: trunk/reactos/dll/cpl/inetcpl/lang/nl-NL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/nl-NL…
Added: trunk/reactos/dll/cpl/inetcpl/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/pl-PL…
Added: trunk/reactos/dll/cpl/inetcpl/lang/pt-PT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/pt-PT…
Added: trunk/reactos/dll/cpl/inetcpl/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/ru-RU…
Added: trunk/reactos/dll/cpl/inetcpl/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/sv-SE…
Added: trunk/reactos/dll/cpl/inetcpl/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/uk-UA…
Added: trunk/reactos/dll/cpl/inetcpl/security.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/security.c…
Modified: trunk/reactos/include/reactos/wine/commctrl.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/commc…
13 years, 6 months
1
0
0
0
← Newer
1
...
29
30
31
32
33
34
35
...
46
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Results per page:
10
25
50
100
200