[ros-diffs] [dreimer] 32152: first step to add multiple Arches selection to RosBE
dreimer at svn.reactos.org
dreimer at svn.reactos.org
Wed Feb 6 09:37:56 CET 2008
- Previous message: [ros-diffs] [ros-arm-bringup] 32151: We implemented console support (through serial port), for the current board types supported (Feroceon, using UART 16550). We added a new ClockRate member to the ARM Board Block structure. We now print out the FreeLDR header after initialization to give some output to the user that we are alive. Started putting shared stuff in headers. Fixed copy/paste leftovers from file headers (wrong file names, implementation details, author).
- Next message: [ros-diffs] [fireball] 32153: - Make i8042Flush flush both output and input buffers. - Make i8042Flush apply only KBD_OBF flag (applying MOU_OBF leads to an infinite loop trying to flush the buffer). - Fix a bug in i8042Write, where instead of waiting by polling a PollingIterations times (~10000), it was using ResendIterations (=3), thus giving 8042 very small chance of processing the data. - Make i8042BasicDetect resend CTRL_SELF_TEST sequence, if controller asks so. Maximum resend iterations are limited by ResendIterations variable. - Reinsert debug-messages hack, since this is an early-loading driver, and it's not possible to break in to KDBG to change debug filter values. - As a result, keyboard and mouse work on real hardware again. See issue #3036 for more details.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dreimer
Date: Wed Feb 6 11:37:56 2008
New Revision: 32152
URL: http://svn.reactos.org/svn/reactos?rev=32152&view=rev
Log:
first step to add multiple Arches selection to RosBE
Added:
trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd (with props)
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE/RosBE-Windows/Root/RosBE.mac
Modified: trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt?rev=32152&r1=32151&r2=32152&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt Wed Feb 6 11:37:56 2008
@@ -1,3 +1,7 @@
+*** XXX xxrd, 2008 - RosBE 1.3 Released
+
+- Added: Tool to set the Architecture to build ROS for. (Daniel Reimer)
+
*** January 23rd, 2008 - RosBE 1.2 Released
- Updated: NASM to 2.01 (Peter Ward)
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd?rev=32152&r1=32151&r2=32152&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd Wed Feb 6 11:37:56 2008
@@ -27,6 +27,11 @@
echo with the appropriate number.
echo basedir - Switch back to the ReactOS source directory.
+ if exist "%_ROSBE_BASEDIR%\charch.cmd" (
+ echo chdefdir [OPTIONS] - Change the Architecture to build for for the
+ echo current RosBE session.
+ )
+
if exist "%_ROSBE_BASEDIR%\chdefdir.cmd" (
echo chdefdir [OPTIONS] - Change the ReactOS source directory for the
echo current RosBE session.
@@ -96,6 +101,16 @@
echo Switches back to the ReactOS source directory.
goto :EOC
)
+if exist "%_ROSBE_BASEDIR%\charch.cmd" (
+ if /i "%1" == "charch" (
+ echo Usage: charch [OPTIONS]
+ echo Change the ReactOS source directory for the current RosBE session.
+ echo Possible Architectures are: x86, ppc, arm.
+ echo.
+ echo previous - Switch to the previous ReactOS source directory.
+ goto :EOC
+ )
+)
if exist "%_ROSBE_BASEDIR%\chdefdir.cmd" (
if /i "%1" == "chdefdir" (
echo Usage: chdefdir [OPTIONS]
Modified: trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd?rev=32152&r1=32151&r2=32152&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd Wed Feb 6 11:37:56 2008
@@ -138,6 +138,7 @@
if not exist "%_ROSBE_BASEDIR%\chdefdir.cmd" ( doskey CHDEFDIR= )
if not exist "%_ROSBE_BASEDIR%\chdefgcc.cmd" ( doskey CHDEFGCC= )
+ if not exist "%_ROSBE_BASEDIR%\charch.cmd" ( doskey CHARCH= )
if not exist "%_ROSBE_BASEDIR%\Config.cmd" ( doskey CONFIG= )
if not exist "%_ROSBE_BASEDIR%\reladdr2line.cmd" ( doskey RADDR2LINE= )
if not exist "%_ROSBE_BASEDIR%\scut.cmd" ( doskey SCUT= )
Modified: trunk/tools/RosBE/RosBE-Windows/Root/RosBE.mac
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/RosBE.mac?rev=32152&r1=32151&r2=32152&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/RosBE.mac (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/RosBE.mac Wed Feb 6 11:37:56 2008
@@ -1,6 +1,7 @@
BASEDIR = cd /d "%_ROSBE_ROSSOURCEDIR%"
CHDEFDIR = "%_ROSBE_BASEDIR%\chdefdir.cmd" $*
CHDEFGCC = "%_ROSBE_BASEDIR%\chdefgcc.cmd" $*
+CHARCH = "%_ROSBE_BASEDIR%\charch.cmd" $*
CLEAN = "%_ROSBE_BASEDIR%\Clean.cmd" $*
CONFIG = "%_ROSBE_BASEDIR%\Config.cmd" $*
ENV = set
Added: trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd?rev=32152&view=auto
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd (added)
+++ trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd Wed Feb 6 11:37:56 2008
@@ -1,0 +1,83 @@
+::
+:: PROJECT: RosBE - ReactOS Build Environment for Windows
+:: LICENSE: GNU General Public License v2. (see LICENSE.txt)
+:: FILE: Root/charch.cmd
+:: PURPOSE: Tool to change the current Arch to build ROS for in RosBE.
+:: COPYRIGHT: Copyright 2008 Daniel Reimer <reimer.daniel at freenet.de>
+::
+ at echo off
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 1 (
+ @echo on
+)
+
+title Change the Architecture to build for...
+
+::
+:: Parse the command line arguments.
+::
+if "%1" == "" (
+ call :INTERACTIVE
+) else (
+ set _1=%1
+)
+if /i "%_1%" == "previous" (
+ popd
+)
+if /i "%_1%" == "x86" (
+ set _ROSBE_ARCH%=x86
+ set _ROSBE_PREFIX=mingw32
+ goto :EOC
+)
+if /i "%_1%" == "arm" (
+ set _ROSBE_ARCH%=arm
+ set _ROSBE_PREFIX=mingwarm
+ goto :EOC
+)
+if /i "%_1%" == "ppc" (
+ set _ROSBE_ARCH%=ppc
+ set _ROSBE_PREFIX=mingwppc
+ goto :EOC
+)
+if not "%_1%" == "" (
+ echo Unknown parameter specified. Try 'help [COMMAND]'.
+ goto :EOC
+)
+goto :EOC
+
+::
+:: If Parameters were set, parse them, if not, ask the user to add them.
+::
+:INTERACTIVE
+ set /p _1="Please enter a Architecture you want to build ReactOS for: "
+ if "%_1%" == "" (
+ echo ERROR: You must enter a Architecture.
+ goto :EOC
+ )
+goto :EOF
+
+:EOC
+pushd %_1%
+
+::
+:: Set to x86, ppc or arm.
+::
+set ROS_ARCH=%_ROSBE_ARCH%
+
+::
+:: Default is mingw32. ppc could be mingwppc, arm mingwarm.
+::
+set ROS_PREFIX=%_ROSBE_PREFIX%
+
+REM chdefgcc %PATH%
+REM Maybe another way to set the compiler...
+
+if defined _ROSBE_VERSION (
+ title ReactOS Build Environment %_ROSBE_VERSION%
+)
+
+::
+:: Unload all used Vars.
+::
+set _ROSBE_ARCH=
+set _ROSBE_PREFIX=
Propchange: trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd
------------------------------------------------------------------------------
svn:eol-style = native
- Previous message: [ros-diffs] [ros-arm-bringup] 32151: We implemented console support (through serial port), for the current board types supported (Feroceon, using UART 16550). We added a new ClockRate member to the ARM Board Block structure. We now print out the FreeLDR header after initialization to give some output to the user that we are alive. Started putting shared stuff in headers. Fixed copy/paste leftovers from file headers (wrong file names, implementation details, author).
- Next message: [ros-diffs] [fireball] 32153: - Make i8042Flush flush both output and input buffers. - Make i8042Flush apply only KBD_OBF flag (applying MOU_OBF leads to an infinite loop trying to flush the buffer). - Fix a bug in i8042Write, where instead of waiting by polling a PollingIterations times (~10000), it was using ResendIterations (=3), thus giving 8042 very small chance of processing the data. - Make i8042BasicDetect resend CTRL_SELF_TEST sequence, if controller asks so. Maximum resend iterations are limited by ResendIterations variable. - Reinsert debug-messages hack, since this is an early-loading driver, and it's not possible to break in to KDBG to change debug filter values. - As a result, keyboard and mouse work on real hardware again. See issue #3036 for more details.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list