DXGL r274 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r273‎ | r274 | r275 >
Date:20:09, 20 October 2012
Author:admin
Status:new
Tags:
Comment:
minilibc: Add _RTC_InitBase and _RTC_Shutdown stubs
Modified paths:
  • /minilibc/_RTC_CheckEsp_x86.asm (deleted) (history)
  • /minilibc/minilibc.vcxproj (modified) (history)
  • /minilibc/minilibc.vcxproj.filters (modified) (history)
  • /minilibc/rtcapi_x86.asm (added) (history)

Diff [purge]

Index: minilibc/_RTC_CheckEsp_x86.asm
@@ -1,29 +0,0 @@
2 -; DXGL
3 -; Copyright (C) 2012 William Feely
4 -
5 -; This library is free software; you can redistribute it and/or
6 -; modify it under the terms of the GNU Lesser General Public
7 -; License as published by the Free Software Foundation; either
8 -; version 2.1 of the License, or (at your option) any later version.
9 -
10 -; This library is distributed in the hope that it will be useful,
11 -; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 -; Lesser General Public License for more details.
14 -
15 -; You should have received a copy of the GNU Lesser General Public
16 -; License along with this library; if not, write to the Free Software
17 -; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 -
19 -.model flat, c
20 -.code
21 -
22 -_RTC_CheckEsp PROC
23 - jne esp_wrong
24 - ret
25 -esp_wrong:
26 - int 3
27 - ret
28 -_RTC_CheckEsp ENDP
29 -
30 -end
\ No newline at end of file
Index: minilibc/minilibc.vcxproj
@@ -96,7 +96,7 @@
9797 <CustomBuild Include="_itoa_x86.asm">
9898 <FileType>Document</FileType>
9999 </CustomBuild>
100 - <CustomBuild Include="_RTC_CheckEsp_x86.asm">
 100+ <CustomBuild Include="rtcapi_x86.asm">
101101 <FileType>Document</FileType>
102102 </CustomBuild>
103103 </ItemGroup>
Index: minilibc/minilibc.vcxproj.filters
@@ -30,7 +30,7 @@
3131 <CustomBuild Include="_itoa_x86.asm">
3232 <Filter>Source Files</Filter>
3333 </CustomBuild>
34 - <CustomBuild Include="_RTC_CheckEsp_x86.asm">
 34+ <CustomBuild Include="rtcapi_x86.asm">
3535 <Filter>Source Files</Filter>
3636 </CustomBuild>
3737 </ItemGroup>
Index: minilibc/rtcapi_x86.asm
@@ -0,0 +1,37 @@
 2+; DXGL
 3+; Copyright (C) 2012 William Feely
 4+
 5+; This library is free software; you can redistribute it and/or
 6+; modify it under the terms of the GNU Lesser General Public
 7+; License as published by the Free Software Foundation; either
 8+; version 2.1 of the License, or (at your option) any later version.
 9+
 10+; This library is distributed in the hope that it will be useful,
 11+; but WITHOUT ANY WARRANTY; without even the implied warranty of
 12+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 13+; Lesser General Public License for more details.
 14+
 15+; You should have received a copy of the GNU Lesser General Public
 16+; License along with this library; if not, write to the Free Software
 17+; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 18+
 19+.model flat, c
 20+.code
 21+
 22+_RTC_CheckEsp PROC
 23+ jne esp_wrong
 24+ ret
 25+esp_wrong:
 26+ int 3
 27+ ret
 28+_RTC_CheckEsp ENDP
 29+
 30+_RTC_InitBase PROC
 31+ ret
 32+_RTC_InitBase ENDP
 33+
 34+_RTC_Shutdown PROC
 35+ ret
 36+_RTC_Shutdown ENDP
 37+
 38+end
\ No newline at end of file