Commit Graph

203 Commits

Author SHA1 Message Date
niry 3dc3861a4e re order the function definition to avoid unnecessary declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7381 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 03:36:25 +00:00
klu2 19c804c4b3 Fix the wrong file comments for SnpDxe.inf driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7298 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-18 17:19:28 +00:00
niry dab714aa11 Insert comments for functions/macros and add the file headers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7293 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 06:56:18 +00:00
jgong5 bd59b46eb4 sync function header to avoid ecc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7292 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 00:17:38 +00:00
jgong5 24af132fc0 Fixed OPTIONAL/comma issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7291 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 00:16:17 +00:00
jgong5 3e8c18da04 code scrub fix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7290 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 00:09:52 +00:00
ywu21 55a64ae0f4 unified "iSCSI" in all comments
add . at the end of lines
fix 2 file header issues and so on

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7256 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 08:44:22 +00:00
vanjeff 5fe48e5404 remove information output in SNP poll function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7245 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 06:00:53 +00:00
niry c57273b0d8 Change the file headers and some function comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7206 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 04:47:41 +00:00
jgong5 c8d8f1e332 code scrub for Ip4ConfigDxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7149 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30 02:21:34 +00:00
niry 77f00155e3 Fix the IN OUT modifier for parameters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7147 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 12:58:38 +00:00
niry f381602727 1). Fix the debug level for DEBUG macro
2). Uniform the function description comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7143 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 01:16:13 +00:00
niry c191cdd1ff Remove a goto statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7131 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 03:40:27 +00:00
vanjeff 7dc2fc3d06 EFI_SIGNATURE_32 has been replaced by SIGNATURE_32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7118 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 02:36:03 +00:00
niry 276dcc1b14 Fixing function headers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7114 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 08:14:19 +00:00
jgong5 0c323d071d code scrub ArpDxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7113 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 05:26:57 +00:00
jgong5 402fa70fc9 Scrubbed some code for Ip4ConfigDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7100 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 08:23:43 +00:00
jljusten d0cca731c3 MdeModulePkg/Universal/Network/IScsiDxe/IScsiImpl.h:
* Fix #include filename case for building under Linux

MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c:
MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c:
* Fix warning of 'unhandled' cases in switch statement generated
  by GCC.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7071 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17 18:01:32 +00:00
qhuang8 f3f2e05db8 Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7056 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:34:21 +00:00
qhuang8 dfa596b8f7 Fix several syntax issue to pass build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7047 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:10:14 +00:00
ywu21 b263ee1718 202033 make .h more clear, seperate ComponentName.h IScsiInitiatorName.h from IScsiDriver.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7043 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 08:10:07 +00:00
ywu21 5af5b3fd84 1) fix one goto issue in IScsiProto.c
2)	add Md5.h in [Sources.common] of inf
3)	change mIScsiPrivateGuid to gIScsiPrivateGuid


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7042 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 07:17:19 +00:00
niry dfc1f033ea Add comments for functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7039 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 02:57:53 +00:00
ywu21 f3e1569dbb it was root caused to be Spec issue instead of code issue. It should be Action instead of * Action.
So roll back formal  change  in IScsiFormCallback ()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7023 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 02:32:28 +00:00
ywu21 c5de0d5599 1) delete unused parameter from IScsiCHAPOnRspReceived ()
2)Correct one parameter mistake in IScsiFormCallback ()
3)Add OPTIONAL  in IScsiDriverBindingStop ()
4)delete unused parameter from IScsiCheckOpParams ()
5) fix 30+ [in  out]  issues


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7021 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-14 12:25:48 +00:00
ywu21 963dbb3001 1)update function header coding style issue
change Some unexpected error happened.    to Other errors as indicated.
2) delete unused parameter in IScsiConfigFormInit()
3) correct IN OUT mistake in IScsiSessionInit ()
4)roll back one update for Piece of code in IScsiDhcp.c around line 99 on FieldIndex 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7013 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 07:03:44 +00:00
ywu21 fd6f5e52b1 correct /// usage mistake
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6979 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 09:29:47 +00:00
ywu21 036befaf11 delete redundant **/
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6972 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 06:31:56 +00:00
ywu21 57e6bb7c92 update function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6971 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 06:29:55 +00:00
ywu21 4cf432deb6 delete #include <Uefi/UefiBaseType.h>
add #include <Uefi.h>
update file header 
update function header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6970 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 06:21:28 +00:00
ywu21 242354a22e update file header
update function header
update a lot of variable naming
add some function header and adjust function layout


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6969 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 06:18:18 +00:00
ywu21 02aa4e52ed update file header
update function header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6968 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 06:13:51 +00:00
ywu21 52ed4ff9f8 update file header
update function header 
delete extern CHAR16 NibbleToHexChar(UINT8 Nibble); and use #include <Library/BaseLib.h>
update struct definition format to pass ECC check

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6964 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 04:09:23 +00:00
ywu21 db3e605d07 update file header
update function header


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6963 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 04:04:45 +00:00
ywu21 2dce4b43f5 update file header
move typedef struct _ISCSI_SESSION_CONFIG_DATA ISCSI_SESSION_CONFIG_DATA;  to IScsiMisc.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6962 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 04:02:58 +00:00
ywu21 b604547572 update file header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6961 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 04:01:14 +00:00
ywu21 1055b68d04 1 update function header
2 update file header 
3 correct some expression: Non-Boolean comparisons must use a compare operator 
4 corrent some variable naming 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6960 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:58:26 +00:00
ywu21 9fd6fde8b2 update file header
correct one parameter IN Out mistake in IScsiSetInitiatorName ()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6959 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:34:36 +00:00
ywu21 fa6fb82a0b update file header
update the order of #include "IScsiMisc.h" and #include "IScsiConfig.h" due to one update in IScsiCommon.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6958 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:32:55 +00:00
ywu21 530e25f536 update file header
delete IN from 
IScsiPublishIbft (
  IN VOID  
  );

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6956 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:27:58 +00:00
ywu21 d8c0456428 update file header
update function header
deleter IN in parameter of IScsiPublishIbft (
  VOID  
  )

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6955 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:24:11 +00:00
ywu21 7a457422df update file header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6954 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:22:05 +00:00
ywu21 aeb49322e9 update file header
update function header according to <Protocol/ScsiPassThruExt.h>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6953 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:21:12 +00:00
ywu21 753f9e6948 update file header
update function header according to 
#include <Protocol/IScsiInitiatorName.h>
#include <Protocol/ComponentName.h>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6950 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:07:16 +00:00
ywu21 9ece9bd35a change to #include <PiDxe.h> #include <Uefi.h>
delete  unused #include <Protocol/Ip4Config.h>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6948 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 02:58:26 +00:00
ywu21 fd82de4e69 update file header
update function header according to <Protocol/DriverBinding.h>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6947 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 02:34:43 +00:00
ywu21 7551539c88 update file header
update function header
update enum variable definition

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6946 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 02:30:31 +00:00
ywu21 8e29a12567 update file header
update function header
according coding style requirements:
The enum shall be declared as a typedef with the name 
so update FieldIndex related code for IScsiDhcpExtractRootPath()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6945 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 02:21:50 +00:00
ywu21 a4e5d8adef update file header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6944 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 02:11:13 +00:00
ywu21 d272bf7d03 update file header
update function header
delete useless #include "IScsiConfigNVDataStruc.h"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6943 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 02:10:34 +00:00